06-07-2006 11:34 AM
06-08-2006 02:42 PM
Hey ChromaBurst3671,
To answer your first question, it is possible to do. It is much easier to pass parameters with
TestStand 3.x. Now you can just connect controls and indicators to the
connector pane of your VI, and load this VI into TestStand. Within the specify module window it will have
all the inputs and outputs from your
To answer your second question, unfortunately there isn't really a way to terminate the RunVIAsynchronously test step thread from TestStand. However, there is another method to get the same kind of behavior and still terminate the thread. It is possible to use the sequence call step and specify a new execution for this sequence. In your case since you are just running a single VI, you wouldn't want to use a process model. Once you have created this new execution you have a reference to that execution that you can use to call the terminate method. One thing you will want to do in your LabVIEW VI is monitor the state of execution to stop the VI if the execution is terminated. There are built in TestStand VIs that do this for you. I have written a small example that demonstrates all of these concepts.
The example calls a sequencefile that loads a VI. The VI displays a message popup whose message
value is passed in from the top level sequence (mainsequence). I created a
string array and increment through the message array based off of the
UUTLoopIndex property that comes from the process model (assuming sequential
process model here). This directly corresponds to the number of times the
TestUUT loop has been executed. Let me know if you have any questions regarding
the example.
Thanks,
06-08-2006 07:02 PM
06-08-2006 08:32 PM
06-09-2006 10:13 AM
06-09-2006 11:45 AM - edited 06-09-2006 11:45 AM
Message Edited by Patrick P. on 06-09-2006 11:46 AM
06-09-2006 01:45 PM