From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
12-27-2011 09:48 PM
how can I get the LabVIEW Parameter Value of the step using LabVIEW adapter in my own operator interface.
Could someone give me a simple example about that? thanks.
12-28-2011 08:03 AM
http://zone.ni.com/devzone/cda/tut/p/id/4532
Use UI Messages. If you took the TestStand classes provided by NI then there is an example in TestStand II that does exactly what you want.
Here's an overview of good UI practices:
12-28-2011 07:42 PM
In fact, I want to edit the parameters of steps using labview adapter in my operater interface, but not get the value of step when running a sequence.
12-29-2011 07:58 AM
Do you just want to change the value of a parameter? Or are you interested in changing the actual prototype of the VI?
Would this be during run-time or would it be changing the values of the sequence file?
If it is dynamically then you would still use UI Messages as I pointed out before. Let me see if I can lay out a situation.
Let's say I have a LV step with 1 parameter. Let's say that parameter is a number. So then I would create a Local variable that is also a number. Then I pass that Local variable to the LV step as the parameter. Now just before the step is called I send a UI Message with the sequence context as my parameter. Once you have the sequence context in your UI you are then able to manipulate any Locals and/or FileGlobals.
If you want to actually use the adapter to manipulate things then it is a lot trickier. In fact I would say it is better at that point to just purchase the Sequence Editor Development License and use a customized sequence editor.
12-29-2011 08:06 PM
I want to change the parameter values of the labview step of the sequence file in my customed seq edit.