10-13-2011 01:59 AM
Hi
How can i log eg. FileGlobals.TestData.Vac_HI which i read from a multimeter into a database using a schema?
What i have noticed is that when setting up the schema only the StationGlobals variable are available to log why is this?
Why Cant i log a FileGlobals via the schema?
10-14-2011 02:54 PM
Hi Shako,
The name "FileGlobals" may be a bit misleading in this case. As explained a bit in Table 1 of Using the NI TestStand Object Model, a FileGlobal is a run-time copy of the sequence file global variables for the current execution. This means that it acts as a local variable that can be shared between multiple sequence files (hence the name), but Teststand overwrites the value of the FileGlobal instead of storing it.
Contrastingly, a StationGlobal contains the station global variables for the engine invocation. TestStand maintains a single copy of the station globals in memory. Because Teststand does not overwrite this, it is a good medium for datalogging.
I hope that this addresses your question!
Regards,
Jackie
10-17-2011 01:01 AM
Thanks for the clarification.
This just means im going to have to find a way to get the relevant information from the database schema.