LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

See no graph

Hi all,
 
i have a indi.vi which consists of Capture Control Output Power subvi. Both can be run correctly but i couldn't see the graph being plot at the indi.vi's front panel but i can see the plots running at the Capture Control Output Power subvi's front panel.
 
why is this so? what should i do to rectify this mistake?
 
Thank you so much.
Download All
0 Kudos
Message 1 of 3
(2,937 Views)

You've got no graphs on the main VI to update. Even if you did, the main would not get updated until the subVI finishes. That's basic LabVIEW.

One way to update indicators on the main (assuming you actuall have them), is to pass a reference to the subVI and inside the subVI, wire a value property to the reference and update that.

I also don't understand some of the things you've done in the subVI. You have some waveform charts but you are using the build array to write a new value and then wire the new array to the chart. That is not how you use a chart. Just wire the new value directly to the chart. A chart has a history and will have a scalar (not an array) as an input. The while loop in the middle with the True constant wired to the conditional terminal isn't required either. Send the command and if you need a wait, wire the error cluster to a Time Delay function.

0 Kudos
Message 2 of 3
(2,929 Views)
Thanks for clearing my doubt!
 
 
0 Kudos
Message 3 of 3
(2,920 Views)