Discussion:
Link indicator readings on a sub vi to a front panel on a main program in real time
(too old to reply)
Josh.G
2008-08-04 12:40:21 UTC
Permalink
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?
MikeS81
2008-08-04 12:40:22 UTC
Permalink
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
Josh.G
2008-08-08 18:40:05 UTC
Permalink
Hello Mike,
                    how do I accomplish that, I tried but was unable to get any output.
MikeS81
2008-08-10 17:10:06 UTC
Permalink
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


main_sub.PNG:
Loading Image...

Loading...