03-26-2013 06:42 AM
I am trying to access the teststand station global value in the LabVIEW using activex methods.
If I am reading default station global (TS.LastUserName) i am able to read the value.
However if i am trying to read the value of the string station global which i am updating through running sequence i am getting an error as follows:
"Unknown variable or property name 'ExecutionTime'.
Error accessing item 'ExecutionTime'. in GetGlobal.vi" where ExecutionTime is the name of my station global.
Error code is -17306.
What is going wrong?
03-26-2013 08:32 AM
Couple of suggestions for you:
If you are trying to read the execution time in your user interface, I suggest: http://zone.ni.com/reference/en-XX/help/370052K-01/tsapiref/reftopics/obsolete_thread_postuimessage_... method to pass data to UI
Also, station globals are not dynamic like other variables (Locals / FileGlobals etc) which means that you wont get an updated value until the stationglobals.ini file is saved. So depending on what you are trying to read, this may or may not be your best choice.