NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Can LabVIEW global variables be shared between UUT sequence steps in the parallel sequence model?

Sorry for this simple question,  I'm having a hard time finding this answer.

 

If I launch a sequence to run on two UUTs in the parallel sequence module,   can I get both UUTs to run LabVIEW vis that use global variables such that :

 

1) UUT 0  executes 20 LabVIEW Vi  steps asynchronously,  5 of which access data from LabVIEW global variables A, B, C (Strings)

2) UUT 0 executes the same 20 LabVIEW based steps asynchronously  5 of which access data from then same LabVIEW global variables A, B, C (Strings)

 

I am a little worried that using file globals may have some delays or more of a race condition than using native LabVIEW global variables like in a single labview application perform.  

 

QUESTION 2:  Are file globals actually written to the hard drive and shared between parallel sequences through file transfer?  OR  are they in memory?

Brad Whaley
LabVIEW Certified Engineer
0 Kudos
Message 1 of 2
(3,503 Views)

Hi bdwhaley,

 

Are your parallel sequences only reading from the global variable? Or are they writing to the variable as well? If it is just reading, then you should be okay. File globals are read from memory. Every time they are read, a copy of the data is made in memory.

Humphrey H.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,477 Views)