NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass sync steps from TestStand to LabVIEW?

Here's what I'm trying to do:

During a TestStand execution, open a new thread that runs a VI which logs some timestamped data to a file. When the TestStand execution is finished all other steps, I want to send a notification (through a notifier or queue, don't care which) which tells the VI to stop. Right now, I've got a queue setup in TestStand w/and ActiveX ref. I can get the ref in LabView, but when I get the val with the GetValInterface method and try to convert to G-data to be able to read the queue, I get a type conflict with the queue type that I wired.

TestStand 2.0, LabView 6.0.2
==============================================

0 Kudos
Message 1 of 3
(3,800 Views)
Hello,

If you wish to use the synchronization object that you created in TestStand in LabVIEW you must call the Sync Manager to return to you a reference to this object. I have attached an example that demostrates how to access a notification object created in TestStand from LabVIEW. Please extract the contents of this file and then load and run the ViMonitor sequence file.

As an alternative, you can create a Station Global variable that the VI will monitor. You can then set the value of the variable whenever you wish to stop the VI.

Let me know if these solutions work for you.
Message 2 of 3
(3,800 Views)
PERFECT!!!! This is exactly what I needed. Thanks a lot!

Dave.
==============================================

0 Kudos
Message 3 of 3
(3,800 Views)