NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How should I implement messaging between sequences on two different machines?

I'm going to implement messaging between engine callbacks in two instances of TestStand running on two separate machines on the same LAN. If they were both on the same machine I'd use ques with names starting with *. I'd like to know how others have done this between two machines. Thanks.
0 Kudos
Message 1 of 3
(3,172 Views)
Hello,

I believe the best way to communicate between different instances of TestStand running on two different machines would be do to it inside of a code module using either TCP/IP or DataSocket. Now depending on your application there are a couple of different ways that you may need to synchronize your application. One way would be to use the synchronization step types to wait until you received a message. You could also have a code module running in a new thread that will continually poll to look for a message sent by TCP/IP or DataSocket. I hope that this information helps you out.

Regards,
Kevin L.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(3,142 Views)
Hi
It can be done using the network path. I have attached the relevant text from the TestStand reference manual, Page B3

"In addition, you can create a Synchronization object on a specific machine by beginning the name with the machine name, such
as "\\\\machinename\\syncobjectname". You can then use this name to access the Synchronization object from any machine on your
network"


I hope this helps.

Regards
Anand Jain
National Instruments
0 Kudos
Message 3 of 3
(3,110 Views)