NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Moving from TS2 to TS3.1 (specify LabView module)

i moved to TS3.1 after working on TS2 a long time

when i create a new step of LabView, and specify a module and create VI,
in TS2 there was a checkbox "Sequence context Active x.." which i checked.
what is the equivalent in TS3 , so i will get the Sequence context in the new VI.


thanks i advance
SImon.I
0 Kudos
Message 1 of 4
(3,194 Views)
If you are wanting to pass variables between TestStand 3.1 (also 3.0) and Labview, you do not need the Sequence Context. You can pass variables through the connector pane. In Labview, connect the variables that you want to pass in or out to the connector pane. In TestStand, when you define the Labview vi to be called, in the Edit Labview VI Call window, you will see a section in the middle of the window that allows you to assign TestStand variables to the vi connector pane (click on f(x)). For instance, the vi ErrorIn and ErrorOut can be assigned to TestStand's Step.Result.Error. What is good about this is that the vi can be tested standalone with having to be run through TestStand because there is no actual TestStand context in the vi. If you really want the context, just click the Create VI button from Edit Labview VI Call window. This puts the sequence context in the blank vi for you. You can choose to keep it or delete it. Also you will notice that the ErrorOut is automatically assinged to Step.Result.Error and ReportText indicator in the vi (created automatically also) is assinged to Step.Report.Text. This is a great improvement from being forced to use TestStand sequence context in your vi's.
- tbob

Inventor of the WORM Global
Message 2 of 4
(3,188 Views)
thanks tbob
i tried what you said...when i create new "action" i do get the sequence context
but i do not get it when i crete "Pass/Fail" test or "Numeric limits" test

please see attached created VI.

what did i do wrong?


on more question, what is the "Reload Prototype" button for?


thanks in advacne
Simon.I
0 Kudos
Message 3 of 4
(3,164 Views)
-Create a new vi and edit the vi
-then add there new controls
-then select "Show connector" and check which input is which control
-save the vi
- back in teststand cklick on "Reload prototype"
-then you will see the in the conetcor pane the new controls

**********

if you need the sequence context the just select "create control" on any teststand-subvi (for example: teststand - get property value).
0 Kudos
Message 4 of 4
(3,155 Views)