NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I access Teststand StationGlobals parameters from VB(6)

I've tried various incarnations of the AccessingPropertiesAndVariables example with no success.
0 Kudos
Message 1 of 2
(2,844 Views)
Hello,

You will need to have the sequence context in your VB code, and access SequenceContex.StationGlobals.GetVal("MyLookupString"). This will return the data contained in the lookupstring. There is an NI example (attached file) that shows how to create a simple ActiveX DLL that is accessing a station global variable.

Roberto Piacentini
National Instruments
Applications Engineer
www.ni.com/support
0 Kudos
Message 2 of 2
(2,844 Views)