NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the value of the global variable of test stand in labview User interface?

Solved!
Go to solution

Hi.

 Can anyone Please share examples and tell me to how access the test stand global variable using labview user interface.

0 Kudos
Message 1 of 5
(6,323 Views)

Ideally you should be sending information from your sequence file to the UI using UI Messages: http://www.ni.com/tutorial/4532/en/

 

Are you talking about FileGlobals or StationGlobals?

 

Regards,

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

Hi

I want to use the file globals.

I tried to get the file globals value as shown in the attachment but i cant read the value.But with the same concept im able to read back the station global value in the sequence.

 

 

0 Kudos
Message 3 of 5
(6,284 Views)

I'm not surprised that what you are doing doesn't work.  The Start Execution UI Message is triggered when the user clicks a button to start an execution.  Realize that most executions go through a process model.  So you could be looking at the sequence context of the process model and not your client sequence file.

 

I recommend reading that link I posted above.  UI Messages are your best bet but you cannot just piggy back on an existing UI Message like this.  They may not be getting sent at the time you need them to be.  The only way to ensure you get what you want is to trigger one yourself at the right time.

 

Regards,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 4 of 5
(6,275 Views)
Solution
Accepted by topic author Sumithra_Nagappan

I found some reference and got the method.

I refered the below link

https://decibel.ni.com/content/docs/DOC-5501

0 Kudos
Message 5 of 5
(6,172 Views)