04-08-2016 05:01 PM
I am trying to find a way to pass a TestStand FileGlobal value down into a Labview code module buried 5-6 VIs deep in the code. Because it is buried I prefer to not have to pass a wire down through 5-6 VIs. I would like to use a TestStand SequenceContext to get a PropertyObject containing the particular FileGlobal value I need but I am stuck on the dilema of how to get the TestStand Sequence Context without wiring it 5-6 VIs deep. Is there a way to make either an ActiveX call or .NET call to get a reference to the running TestStand Sequence Context?
Attached is a VI I have put together to get the value for a particular FileGlobal via two different methods but how can I get the TestStand Sequence Context without passing it through the connector pane of the nested VI?
04-11-2016 08:28 AM
You could use a functional global variable.
Or you could use a TestStand queue. Name the queue withan * at the beginning and any engine can grab it. http://www.ni.com/example/30108/en/
Hope this helps,