NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to access StationGlobals from "Application Manager"?

Hello,
i´m using the default NI-Labview-OperatorInterface (with some modifications) which is located in the TestStand-Directory in C:\Programme\National Instruments\TestStand 3.5\OperatorInterfaces\NI\Simple\LabVIEW.

How can i access with theApplication Manager (via TestStand Engine) the  StationGlobals?

TFTC
0 Kudos
Message 1 of 6
(3,718 Views)

Hi,

Do you wish to access the StationGlobals from the OI in a similar manner as you can in the SeqEditor?

If you obtain the reference to the Engine Reference using the ApplicationManager.GetEngine method then can obtain a reference to the StationGlobal by using Engine.Globals

Or if you can get the SequenceContext Reference then you can obtain access to the StationGlobals.

Hope this helps

Regards
Ray Farmer
0 Kudos
Message 2 of 6
(3,717 Views)
Hello Raym
i tried what you explained but i cant read anything from the Globals.
Please see attached screenshot if there is an error.
thx
0 Kudos
Message 3 of 6
(3,714 Views)
In your picture you already have the station global referance.  I don't think you need the "stationglobal" as part of the lookup string.  Try just, "ProjectParameter.TestSequence". 
Message 4 of 6
(3,697 Views)

Hi

Paul is correct. you dont need the StationGlobals as part of the lookup string because you already have a reference at that level.

 

Regards

Ray Farmer

Regards
Ray Farmer
Message 5 of 6
(3,679 Views)
Hi paulmw,
thanks for the tip. Works great now.

0 Kudos
Message 6 of 6
(3,673 Views)