03-13-2009 05:40 PM
I'm using LabVIEW with TestStand. Sometimes when I pass a parameter from a LabVIEW module and it is a Enum ring it passes as a nice pull-down menu where I can select the value needed, but sometimes the menu does not appear at all. How can insure to pass the ring values always as a menu? I attached some snapshots to show the menu in TS.
I appreciate your help.
Thanks.
H.P.
Solved! Go to Solution.
03-16-2009 05:34 PM
What differences do you notice between the different LabVIEW VI terminals' parameters? If the LabVIEW terminals do not have an enumerated list of values, then there will not be an enumerated list in TestStand. Have you seen it where the LabVIEW terminals do have an enumerated list of values but you still do not see that list in TestStand? If so, please send an example VI and pared-down TestStand Sequence file that shows this behavior so that we can look at it. Thanks.
03-16-2009 05:37 PM
Also,can you please let us know which versions of TestStand and LabVIEW you are using? Thanks!
03-17-2009 02:01 PM
Hi Mark, Thanks for you reply.
The attached vi contains a U8 ring named "command". I use to it to programmatically simulate a keyboard actuation (F1 to F12).
By the time TS runs the step that calls this vi, a second application is running and it is being controlled by the function keys of the keyboard. So, I need to run the same vi several times but with different "command" values. The command value list of the LabVIEW ring does not pass to TS as a menu. What should I take in consideration to always pass it as a menu?
I also attached a TS sequence that list part of the program where the vi is called.
I'm working with LabVIEW 8.6 and TestStand 4.1.1
Thank you,
H.P.
03-18-2009 10:38 AM
04-06-2009 11:53 AM
Hi Dennis,
I replaced the text ring with an enum renaming the 'Reserved fields' with unique item values and reloaded the 'VI Prototype' from TestStand. Now, I have the pull-down menu I expected in the value field of the Module.
Thanks for your help.