LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

export information from a sub vi in real time

I am trying to export information (dbl numbers) from a sub vi so it can be viewed real time on the front panel during execution.  I can easily get the final number / results when the sub vi is through with the process.  The sub vi retrieves various data during testing.  I don't want to open the sub vi front panel because other work is also being done. 
0 Kudos
Message 1 of 6
(3,411 Views)
I have read through the links sent, but it appears to send info from the main vi to the sub vi.  I am trying to do the reverse and have a real time display on the main vi front panel.  I have played with the idea of opening each sub vi during execution to display the reading, but after a while, it looks sloppy to the end user.  I have also done searches on data sockets, global variables and references to see if I could find something else.  As of now, I have gone through several hundred forums searching for any type of answer.
0 Kudos
Message 3 of 6
(3,379 Views)
Here is a simple example with a chart in the main vi not wired to anything getting updated with data from the subvi.
0 Kudos
Message 4 of 6
(3,373 Views)
You might want to look at the information about control references again. You pass a control reference to a subVI and that subVI will update the control as it executes. That is exactly what you are looking for. There have been numerous examples posted to the forum posted on control references but if you need another, here's a real simple one.
0 Kudos
Message 5 of 6
(3,370 Views)
Thanks to both for the help.  I was overlooking 1 simple step with the connections that I found because of your examples.  All is great for now.
0 Kudos
Message 6 of 6
(3,340 Views)