07-08-2005 06:55 AM
07-08-2005 06:12 PM
It is easy to access a sequence variable using the LabView adapter.
I am assuming that you want to call a LabView module from an executing TestStand sequence and that you want to pass the sequence variable (local, file global, station global) as an input parameter to the VI.
You can also create an output connector and pass the value of the variable as an output parameter once the step is executed.
I hope this helps.
07-11-2005 05:30 AM
07-11-2005 11:34 AM
07-11-2005 11:39 AM
07-11-2005 12:27 PM
Option1:
You can modify the Station Global variables at run time by simply getting a reference to the Engine from the Application Manager (GetEngine) and after that getting a reference to the Station Globals directly from the Engine (Globals). From the Globals Object call the SetValNumber Method in order to set the desired global value.
Remember that once you set the Global it will keep its value even after the execution is done. So you have to find a way to reset it within your sequence.
Option 2:
You could also have your loop in a different sequence and use a sequence call step to call it.
You would configure the sequence call step to run the sequence in a new execution.
The entry point may be
Make sure that the Ignore Termination flag is set to true in the step.
Step Properties -> Run Options-> Ignore Termination.
In this way you could terminate the
I personally think that this solution would be cleaner.
Check the attached files. 😉
Best Regards.