LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how do i drill down to a sub vi?

My app has several Tanks displayed on the main screen that show the current
reading for each tank as a fill level and Digital Display. I wish to put a
Graph button under each tank display, so that when the user clicks on the
Graph button, a subVI opens, showing a Graph of value vs. time for that tank
for say the past 10 minutes and continues to run. Then they can press a


So far it's not quite working right - I can open a Graph window, but only if
I Stop the While loop. My Graph stops and only shops data up to that moment
and doesn't continue.

NI sent an example VI but alas it stops the main window when opening the
subVI - if I try to not STOP the main While lo
op in the main window, the
subVI doesn't open. It's as if you can't have 2 things running
simultaneously. Any suggestions or examples I can look at?
0 Kudos
Message 1 of 2
(2,558 Views)
Put your graph sub-VIs in another while loop and pass data
to the graph via sychronization VIs.
This way your graphs run separately from the rest of the application.


"PRB" wrote in message news:506500000008000000F21E0000-986697009000@quiq.com...
> My app has several Tanks displayed on the main screen that show the
> current
> reading for each tank as a fill level and Digital Display. I wish to
> put a
> Graph button under each tank display, so that when the user clicks on
> the
> Graph button, a subVI opens, showing a Graph of value vs. time for
> that tank
> for say the past 10 minutes and continues to run. Then they can press
> a
>
>
> So far it's not quite working right - I can open a Graph window, but
>
only if
> I Stop the While loop. My Graph stops and only shops data up to that
> moment
> and doesn't continue.
>
> NI sent an example VI but alas it stops the main window when opening
> the
> subVI - if I try to not STOP the main While loop in the main window,
> the
> subVI doesn't open. It's as if you can't have 2 things running
> simultaneously. Any suggestions or examples I can look at?
0 Kudos
Message 2 of 2
(2,558 Views)