NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How does TestStand 3.0 create a sequence adapter for LabView?

The previous TestStand used to ask if you wanted to have a sequence adapter as you created the new vi. Now it does not ask the question...

I am trying to pass variables from TestStand to LabView...
When choosing "Select VI" there is a window which shows the chosen vi or recently created vi. The "Description and Connector Pane" shows what values can be sent from LabView (vi) to TestStand... How do I add new inputs to the vi?
Message 1 of 7
(3,934 Views)
SORRY....

I couldn't erase my own post... :o(

I figured it out... and it's very simple... it's automatic if you choose Action instead of test.

sorry everyone...
Message 2 of 7
(3,934 Views)
Hello Joe -


To be honest I still don't understand your original question, so I'm glad it all worked out. In general, in TS 3.0 you can always go back to your VI, add more input connections to your connector pane, and then have TestStand refresh its parameter list for that VI to see the new options... All you have to do then is specify what to send to the VI along that wire.

Feel free to post again if you have other TestStand 3.0 questions.

-Regards

Elaine R.
National Instruments
http://www.ni.com/support
0 Kudos
Message 3 of 7
(3,934 Views)
Hi Elaine,

I will try to explain the situation with more details.

I want to pass a local variable from TestStand 3.0 to LabView 7.0. I can do that using a Sequence Context if I choose "Action" for the type of vi. But if I choose, "PASS/FAIL TEST", I do not get the Sequence Context icon within the new vi.

If I add it in manually, it does not get detected when I do a refresh parameters (reload prototype). And of course, the vi fails because "NullRefnum was passed in as input".

Of course, a null value is passed. I understand that. So my question is:

How do I pass a local variable (string) from TestStand 3.0 to a LabView 7.0 vi? In other words, how do I add the Sequence Context in a PASS/FAIL Test?
Message 4 of 7
(3,934 Views)
Hi,

To add the Sequence Context control to the PASS/ FAIL Test VI.
In the TestStand Edit LabVIEW VI Call dialog, Press the Edit button and edit the VI by adding the Sequence Context control from the TestStand | Legacy palette.
Connect the control in the connector pane.
Save the VI.
Now In the Edit LabVIEW VI Call dialog. Press the Reload Prototype. This should now bring up the sequence context control.

Hope this helps
Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 5 of 7
(3,934 Views)
Thank you Ray!

This is exactly what I needed. It works.

Sometimes the simplest things can be our greatest hurdles.

I appreciate the help. Thanks again!

Regards,

Ray (a.k.a J-L-V)
Message 6 of 7
(3,934 Views)
I should thank Elaine also. Reading back your post, you were basically saying the same thing.

Appologies....
Message 7 of 7
(3,934 Views)