04-26-2013 07:24 AM - edited 04-26-2013 07:25 AM
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?
04-29-2013 09:20 AM
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.