ICC 2.0 variables defined by the user and the content of the DB
Is there a reasonable documentation that describes the way in which variables are mapped in the database. With the current level of documentation, it is quite difficult to write model CLI scripts based on the characteristics of the device (such as the description of the interface etc...).
/ Mikko
Unfortunately, the content on the extraction of the database and the API is very minimal.
You can access the API of your own device information using this link:
https://your address -ip/webacs/api/v1 /.
Or download the Cisco reference Guide first Infrastructure 2.0 API here:
http://www.Cisco.com/en/us/docs/net_mgmt/Prime/infrastructure/2.0/APIRef/pi-2.0.zip
-Thank you
Vinod
*Side encourages contributors and it's really free. **
Tags: Cisco Network
Similar Questions
-
Sharing Variables defined by the user through projects
Hello
I wonder if it is possible to share Variables defined by the user between projects. What I have in mind, is that I would like to have my user defined Variables configured in a central location and then insert them into my projects as variables bound so that they update automatically when I change their values. For example, I define a variable named ProductVersion , that has the value 9. Then I insert this variable in all my projects as a bound variable. After 2 months the product version changes was 10, so I change the value of the variable at 10 to the place where it is stored and it is automatically updated in all projects. Is it possible somehow? I'm new to RoboHelp and I find no answer. I tried the solution for a while using the product on the Internet without success. I even contacted Adobe Support and they redirect me to this forum I used help and manual before and how they deal with user variables was quite simple.
Hello
Unfortunately RoboHelp does not offer a way to let this, at least, is not directly.
However, I think I found a way to get there, the variables are stored in a file named rhvariable.apj. So what you could do is to add this file as a file of luggage to each of your projects that will share variables.
Now, you would create a shared location, but also a new category in your resource manager. This will create a common location to store the file apj.
Add the file of baggage to the location. Repeat for all the projects that share variables.
Now, when the variable is changed in any of the project participants, it should be to update the shared location and you can achieve the goal.
Note, however, that although you'll get what you want, it will be always open each of the participating projects, synchronize the APJ file and generate the output in order to to refresh all. No way, I am aware of escape that.
Cheers, Rick
-
Can I get several variables defined by the user in a slide?
I used the variables defined by the user in the past to collect information on the results of the quiz, as well as for the certificate of quiz. I would like to re - use variables in a few areas. in my project, a slide invites you the user name (variable, I created), second will prompt you for the user ID (variable, I created). I would like a third screen that reads 'Confirm your previous entries', and I want to show him the two variables. I see only one. Is it possible to get them both to display?
I also want to re - use both in the quiz at the end certificate. If I change the certificate in Flash widget, will be the two variable display?
This quiz brings to me by email (we have no LMS).
Any suggestions?
Cyndi Nagel
Hi again
You reduce the screen shot before you download? You are right. It's barely legible.
If the variables are inserted into more than a legend, double have you checked the timing? Maybe something is pause the slide before one of the legends has a chance to appear.
See you soon... Rick
Useful and practical links
-
FPGA target 9146 OR editions variable defined by the user to a network
I am developing code to use on the expansion chassis NI 9146 ethernet with 3 hanging modules, NI 9205, NI 9264 and NI 9476.
The code is supposed to be downloaded on the chassis as FPGA code and run the code itself and the release of information on the network for the chassis, it is hanging in. The code is simple (blood pressure measurement and convert them to pressure).
When the code is on the host pc, it can be run through the target and runs correctly. The pieces are just have thing chassis user FPGA 1 LED blink a few times per second, convert the voltage in pressure and variable output on the network and read some Boolean variables that are on the network. All variables are not listed in the network in this way (by pressing the button run an FPGA VI compiled host) by pressing
When the FPGA VI is downloaded to the flash memory chassis, configured to run once downloaded and restarting the device, the VI FPGA runs, because user FPGA 1 LED flashes on the specifided rate in the code, but variables do not put on the network.
Attached are several screenshots of the code window and screen project.
Thank you for your time
Mitchell
Hello
The FPGA cannot write to the variables by itself. It is usually used to make a task of high speed. In order to communicate with a host computer, you will need the code running on the controller that uses screws FPGA Interface.
-
Panel of the ADF does not variable defined in the ADF view object.
I created a group of ADF, which allows the user to run some simple queries against a database of Oracle is using the view objects ADF and ADF view links and ADF application module.
One of them asks detailed information of research on a database object (Table, view, or other) to dba_objects. SQL uses a parameter (: P_OBJ_NAME) which has a default value of "departments". If I run the ADF application by herself outside the ADF panel module, everything works fine, he invites me to provide a value for the parameter: P_OBJ_NAME.
As I said the Panel contains various links to view ADF which one who must prompt the user to provide a value for: P_OBJ_NAME. When I run the Panel he does not invite me to: P_OBJ_NAME, it only uses the defined default value "departments".
I hope that I have described my problem for everyone to understand. Of course, the question is how to make the Group ADF to prompt the user to provide a value for the parameter: P_OBJ_NAME, my waiting has been the sql of the view object and request module, both are designed to enter a value for this parameter, then the Panel should do just that, but it's not.
Expert you would be most appreciated.
Thank you.
Bobby has.
Published by: Babak Akbari, August 13, 2009 08:34
Published by: Babak Akbari, August 13, 2009 11:12The instigation of a parameter is a feature that we have built in the ADF Tester - is not a default behavior that you get in your application when you have just placed a VO on your page.
To get something like that spend the operations under the VO node in the data control palette and drag the operation "Run with parameters" to your page to drop it as a form of parameter.
This will give your user name a place to complete the setting, then press a button to run the query. -
Shared on a real-time target Variables defined causes the command to remotely fail
Here's a strange. We create a solution of customer using a CompactRIO, and they want remote panels can view and interact with the executable file. That's fine, we are able to create this, but we noticed a thing is:
If we build and deploy our code in real-time for CompactRIO with all shared Variables associated with a type definition, the executable will not run. Indeed, it is reported by the browser as a broken VI remote Panel utility.
Breaking the shared link Variable with the type-def and rebuild the executable file, solves the problem. Weird.
Anyone else seen this before?
Hello Thoric,
I think I spotted a CAR already assigned to it:
http://www.NI.com/white-paper/13235/en
#292012
Looking at our notes this should be fixed in the next version.
-
Getting the value of the variable defined in the component cfg file in the Service Manager.
Hello
I have a component custome and I need to set a variable in the cfg of the component file and I need to access this variable in my personal (using java) service manager.
Can someone tell me how to get the value of the variable in the Manager.The link should load now.
The Basic code is:
String value = SharedObjects.getEnvironmentValue ("variableName");Jonathan
http://jonathanhult.com -
to access the variables defined in the Document class
I can't evaluate the values established in my document class.
My document class: ZoneViewer.as:
SerializableAttribute public class ZoneViewer extends Sprite {}
private var zone_area_alpha_low:Number is. 2;
}
This code exists on a frame in a movieclip in my main script:
This.zone_shape.Alpha = zone_area_alpha_low;
How to access the valeur.2 which is declared in my class: document ZoneViewer.as? "zone_area_alpha_low" does not work.Solution to the problem of access to a variable value (zone_area_alpha_low) from actionscript code framework in a movieclip.
FYI... my project file structure:
Project_Folder/MyApplication.fla
Project_Folder/MyApplication.swf
Project_Folder/classes/ZoneViewer.as
--------------------
Document class: classes. ZoneViewer{classes package
import flash.display.MovieClip;
SerializableAttribute public class ZoneViewer extends MovieClip {}
public static var zone_area_alpha_low:Number =. 1;
}
}
--------------------
This code exists on the first frame of my movieclip in my .fla file.import classes. ZoneViewer;< i="" was="" missing="" this="" import="" statement="" within="" my="">
This.zone_shape.Alpha = ZoneViewer.zone_area_alpha_low;< this="" finally="" is="" referenced="">Kudos to ntbdy for the light. Is there better ways to do this?
-
Variables, FPGA, defined by the user and SoftMotion 2012 + NOR 9505
Hello
To http://forums.ni.com/t5/Motion-Control-and-Motor-Drives/Softmotion-and-NI-950X-Module-Compatibility/... Nathan says:
NathanK wrote:
The glue code that connects Softmotion on FPGA LV code RT is called 'the axis interface. The version of the interface of the 2011 Softmotion axis necessary creation screw RT that exposes certain capabilities to Softmotion.
....
Improvements have been made in 2012 Softmotion who has removed the requirement to write RT live. Disclosure for the FPGA happens rather on the Variables (UDVs) user-defined. It is also possible to create a kind of axis 9501 for configuration of the module as well as an axis UDV generic for other completely custom 950 x modules or axes. It is not a specific example for the 9505 yet.
This caught my attention, as I'm trying to develop a system using LabVIEW SoftMotion 2012 and the NI 9505. I'm curious to see if there are alternative methods to write my application.
Where can I find more information on this 'generic UDV axis' and how to implement a? Nathan says "is not a specific example for the 9505 yet", but there are examples for the other modules - how similar/different are these modules from the 9505, and it involves a lot of effort to bring examples of the 9505?
Thank you!
Hi JKSH,
I have some relevant information that it is request that may be useful:
Working with Axes Variable defined by the user (NI SoftMotion Module)
Resource binding dialog box (NI SoftMotion)
Configuration OR SoftMotion Axes (OR SoftMotion Module)
Example that mentions of Nathan is the drive Stepper (9501) .lvproj (material Input and Output"Motion Control" NI SoftMotion"Device Specific" NI 950 x"OR 9501), I would take a peek at this on use of the UDVs.
-
defined by the user is not displayed correctly the variables
Hello, I use the variables defined by the user in Adobe Captivate 9. I am having the users to enter text in a text box entry, then view their entry on another slide. When I test the project the user defined variable displays only partially what I have typed in the text entry box. Someone at - it solutions?
You must do so via the properties panel.
See you soon... Rick
-
Variable information from the Captivate .swf 8 integrated and vice versa
Hello
I use 8 Captivate and created a game in Flash with AS3. I will have NO problem running commands from Captivate embedded Flash file, using the syntax:
MovieClip (this.parent.root) .rdcmndNextSlide = 1;
However, whenever I try to import or to export values for the variables defined by the user or even predefined such as cpQuizInfoPointsscored variables, the values do not translate back. I tried using the same syntax as above to set the value of a variable (for example MovieClip (this.parent.root) .cpQuizInfoPointsscored = 20;). Similarly, I tried to display the value of a Captivate variable inside the Flash file by setting an equal to the set value Captivate dynamic text field. In the first case, nothing happens; in the latter case, the text field displays "undefined".
I have not seen a post about this particular problem. Any ideas on what I am doing wrong? Or is that what I try to do possible?
Thanks in advance for any thoughts.
Look in the category film control: these can be changed (some examples are cpCmndMute, cpCmndCC).
-
QML: To access variables defined outside of a list item to in a list component
Consider the following QML:
import bb.cascades 1.0
{Page}
content: {container
{Label
ID: topLabel
text: «One»
textStyle.size: 100.0
textStyle.color: Color.Blue
}Button {}
text: 'change two.
onClicked: {}
topLabel.text = "Two"
}
}{To ListView
objectName: "testList".listItemComponents:]
{ListItemComponent}
type:
Button {}
text: "change to three.
onClicked: {}
topLabel.text = "Three"
}
}
}
]maxHeight: 300.0
}
}
}The pages defines three controls: a label, a button, and a listview. In turn, each listview item also contains a button.
By clicking on the button below the label successfully changes the text of the label through this code:
onClicked: {}
topLabel.text = "Two"
}However, the execution of a similar code from the button in the listview control fails with this error:
Test.QML:28: ReferenceError: can't find variable: topLabel
Apparently, the variables defined outside the listview are not directly visible since in listview items.
Y at - it available to access syntax?
Thank you
Jamie
OK, we have identified a work around that should solve your problem, as suspected, she was reported linked so a redefinition is necessary.
At the high level of the Page of the page, add the following line so that the label is accessible.
{Page}
ID: topPage
onCreationCompleted: {Qt.topLabel = topLabel ;}
Then, in the button definition, you can reference the Qt.topLabel in the list.listItemComponents:]
{ListItemComponent}
type: 'point '.
Button {}
text: "change to three.
onClicked: {}
Qt.topLabel.text = "Three";
}
}
}
]Hope that solves your problem. Of course, it worked on my system.
Graham
-
Alarming - alarms defined by the user not appearing is not in history
Hello
I use the DSC module to create alarms. I can successfully configure an alarm for a shared variable. I use the alarms.vi of reading to read the current alarms. I am able to recognize and to disappear which removes them from the list. I also see a history of them when using the "alarm and event Query.vi. Now, I do the same with user-defined alarms. I have created alarm using the "user defined Alarm.vi value. The alarm are displayed in the list (read alarms.vi). I can acknowledge the alarm and it disappears from the list. Now when I use the 'alarm & Query.vi' the user defined alarm does not appear in the list. Only shared variable alarms are displayed. Is this correct? Is there a good example of what I'm doing? The example of "User defined DSC alarms Demo.vi" does not give an example of reading historical alarms defined by the user of the database.
Thank you
Matt
I removed the DSC module and re-installed which includes SQL Server. That did the trick.
Thanks for your help Caleb
-
Display multiple lines of data collection defined by the user in an e-mail message
I created a collection defined by the user that displays several lines of data. I created a custom rule and have linked this collection set by the user to this rule and configure an e-mail action. Variable Seveity, I have defined it in the rule to contain the column values. But it will only contain the first line of data. How can I display multiple lines of data in the alarm itself as well as the e-mail? Any help is appreciated.
The example query in the collection defined by the user is less;
Select the type, status, queuename, count (*) from PSAPMSGPUBHDR
Union
Select the type, status, queuename, count (*) from PSAPMSGPUBCON
Union
Select the type, status, queuename, count (*) from PSAPMSGSUBCON
Result:
Number of status type Queuename
------- ---------------------- ---------- -------------
HDR profil_utilisateur error 1
PUB PERSON_BASIC New 4
PUB WORKFORCE_SYNC error 1
-3 rows
I have defined the variables of gravity and the alarm message is something like this; (It is fetching only the first row of data) how do I loop through to get all the rows of data and display it in the message of alarm/email (alert) action must be written of the groovy script code to achieve this goal? If Yes can you please provide me examples?
Alarm message:
"Request message queue is:
Type: @UDC_type
QueueName: @UDC_queuename
Status: @UDC_status
County: @UDC_count
Thanks in advance
JAI
Hi Jay,.
fine I could help you. Please mark the thread as "Answered" when the issue has been resolved and do not hesitate to open a new thread for questions.
Concerning
Jochen
Maybe you are looking for
-
The Photosmart 2610xi can scan 35 mm slides?
-
Migration wizard - Time Machine on Windows sharing
Hello guys,. I made a backup of my MacBook (Yosemite) via the time machine on a windows share ("smb://asus/TimemachineMacbook"). Inside the action, there is my folder (respectively image) "TimeMachine.sparsebundle". Everything went successfully. I ma
-
Electronic specific to the recipient specified (numbers / Automator?)
Hi all. I appreciate this query is as much about Automator it's numbers, but I could not find a Community Forum Apple for Automator. I have a spreadsheet Numbers containing two columns of data. Column A contains a list of ~ 160 email addresses. Colum
-
Every thing opens windows media player
I don't know what I did. I was down loading a disc photos. Don't know what I clicked but now all my desktop icons are all of the windows media player icon and when I go to system restore and you click on it it opens windows media player also. help.
-
original title: the computers of network/administrator password The administrator password for all computers on the network does not work for ONE of the computers on the network. I need to log on as an administrator to install software, but the passw