10-01-2012 06:40 AM
I want to use a Combo Box (or similar control) in a VI to select from a list of strings to direct execution in TestStand.
I tried "wiring" the result of the combo box directly to an output terminal without sucess.
I tried "wiring" the output of the combo box to a string variable then wiring that variable to an output terminal without success.
(see attached files)
Can anyone give me an example of a VI that will select from a list of strings: {"Bob", "Mary", "Bill", "Jennifer",...} using a
combo box (or similar) control and routing the selected string to the output terminal?
Also, how do I reference that parameter (result) from within TestStand?
This is a simple task, and there may be a TestStand only solution, I am looking for a simple way to direct sequence execution by the operator selecting a string from a list.
I researched this problem but could only find canned instances of numeric or string comparisons, and could not find a generic template that would return a string result from a VI to TestStand.
Thanks in advance for suffering through this fundamental question.
David
Melbourne, Florida
Solved! Go to Solution.
10-01-2012 08:31 AM
I can't open your VI, but I've set up a simple example (sequence + vi).
Hope this helps,
Marco
10-01-2012 09:16 AM
Marco beat me but here's my rendition. TS 2010, LV 2011
Also, look at the demo example that ships with TestStand: C:\Documents and Settings\All Users\Documents\National Instruments\TestStand 2010 SP1\Examples\Demo\LabVIEW\Computer Motherboard Test
It should demo a version of what you want.
Cheers,
10-01-2012 09:29 AM
Thank you for the example, it does exactly what I needed!
David
10-01-2012 09:35 AM
This forum is working well. Thank you to all who take the time to point the newbee in the right direction. It is great to "look over the shoulder" of experienced developers. I hope to be in a position to return the favor soon!
David Wurmfeld,
Melbourne, Florida