LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Link indicator readings on a sub vi to a front panel on a main program in real time

Hello I am trying to link indicators on a sub vi to indicators on a main program in real time. The sub vi is set-up to perform data acquisition and I want to be able to show that data acquisition in real time on the main program front panel, how do I accomplish this?
0 Kudos
Message 1 of 4
(2,605 Views)

Hi Josh.G,

you can use the references from your main vi. Create an array of these references and connect it to your subvi. There you can use a prperty node to write the new value. Another way is to use queues or notifier. Write the data into one of them and read it in your main vi, if you have time for it.

Hope it helps.
Mike

0 Kudos
Message 2 of 4
(2,604 Views)
Hello Mike,
                    how do I accomplish that, I tried but was unable to get any output.
0 Kudos
Message 3 of 4
(2,572 Views)
Hi Josh.G,
see the attached example please. It shows how you can use the reference to update a value in a subvi.

Hope it helps.
Mike
0 Kudos
Message 4 of 4
(2,557 Views)