NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Fileglobals via schema

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?

 

 

 

Help share your knowlegde
0 Kudos
Message 1 of 3
(2,905 Views)

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

DAQ Product Marketing Engineer
National Instruments
0 Kudos
Message 2 of 3
(2,876 Views)

Thanks for the clarification.

 

This just means im going to have to find a way to get the relevant information from the database schema.

Help share your knowlegde
0 Kudos
Message 3 of 3
(2,857 Views)