LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read Teststand locals when simple IO VI running

I am trying to read a teststand local into labview when running a sequence using TS Simple IO Vi. The local is to be read to an indicator (LoopIndex)  in TS Simple IO Vi while the sequence is running.

The files necessary to run this Vi are zipped and attached.

Please read the ReadMe file as it explains what I am trying to do.  The block diagram comments highlighted in red also explain what I am trying to achieve.  

Any help on the matter will be greatly appreciated.

0 Kudos
Message 1 of 4
(2,598 Views)

Hi Slim60,

 

Could you place the section of code which you can not get the LoopIndex from into a while loop (Including the Sequence Context Global, Null refnum and error terminals).

After doing this, do you now get a result in the LoopIndex at any point? This will see if the issue is related to the execution order.

Regards,
Chris (CLED, CLA, CTA)
Applications Engineering Specialist
0 Kudos
Message 2 of 4
(2,549 Views)

Thanks Chris for your help. I have tried that but it still didn't work.

0 Kudos
Message 3 of 4
(2,522 Views)

First of all, this question better refers to the TestStand forum section.

Second: As you already change the code for the UI, you should go the recommended way and use User Interface Messages (UIMsg) to update the GUI.

 

Please refer to this article for a more detailed information on best practices regarding UI customization.

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 4 of 4
(2,517 Views)