NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

StationGlobals across multiple clients

One more question :  If all 4 clients are trying to write or read the variable at the same time, is that going to cause any problems? Is this process managed by Teststand?

0 Kudos
Message 11 of 15
(898 Views)

It is managed by TestStand but you'll still need to be aware of the risks of having multiple threads/executions accessing shared data. Perhaps you could use seperate variables for each client rather than trying to share data across all clients...

CTA, CLA, MTFBWY
0 Kudos
Message 12 of 15
(895 Views)

StationGlobals is intended to cover any Station requirements that need to be shared between multiple test clients running in a single TestStand application and that only one TestStand application runs on a system.

 

It sounds like you are running multiple TestStand applications on a single system. Is this correct?

 

 

Regards
Ray Farmer
0 Kudos
Message 13 of 15
(893 Views)

Yes, I could do that, but it would involve more changes to my code, which I am trying to minimize to meet my deadline.

0 Kudos
Message 14 of 15
(891 Views)

No, I am just running one Teststand sequence, but 4 instances of it.  Each instance is used to test the same type of DUT.  I was just wondering if there is any way to access the the StationGlobals value modified in one instance by the other instances during run-time, without having to re-load all the StationGlobal variables.  Is there any way to reload a specific StationGlobal variable at run-time?

0 Kudos
Message 15 of 15
(890 Views)