From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing to TestStand Station Globals from LabVIEW

Hi,

 

I posted this in the LabVIEW board without much luck yesterday, so thought I'd repost here.

 

I want to be able to update Station Globals from within LabVIEW, but to update a given value multiple times within a single VI (and to have this update in TestStand in real time).

 

I have tried this as in my attached example, but this simply updates the Station Global to the final value when the LabVIEW VI finishes executing.

 

Should it be possible to update the value in real time? Any help gratefully received.

 

Dan

 

PS I'm fairly experienced in LabVIEW, but a bit of a noob to TestStand, so be gentle!

Dan
CLD
0 Kudos
Message 1 of 2
(4,924 Views)

http://208.74.204.114/t5/NI-TestStand/change-a-stationglobal-variable-externally-from-a-LV/td-p/1947...

 

I think you need to call ReloadGlobals at some point.  I couldn't open your VI because I only 2011 installed right now.

 

Hope this helps,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 2
(4,908 Views)