NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

not succeeding in reading StationGlobals

Solved!
Go to solution

Hi

I'm not succeeding in reading StationGlobals.

What I'm doing wrong?

I'm using 2017 trial

regards,

Koen. 

Capture.jpg how I read

Capture2.jpg definition stationgobals

No Error. COMPortMaster stays empty ""

Q2Node returns 0 i.s.o. 70

Download All
0 Kudos
Message 1 of 2
(1,757 Views)
Solution
Accepted by kdCMC

The code you have is correct and I have used that same sequence in other VIs without any issues at least on TestStand 2014.

 

I noticed that if you create the StationGlobal in the 'Variable View' of the sequence as you showed, you must also go to the View -> StationGlobals entry and SAVE the 'Globals'.  If you don't save it, I got the same '0' result on a test that I did.  Although I also had an error saying the LookupString was 'invalid' , which makes sense because I had not saved it yet.

 

Did it return any errors or was the value just zero?

~Teds

 

0 Kudos
Message 2 of 2
(1,739 Views)