LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

subVI xy graph

Hi there,
I built a XY graph that plots step by step 3 curves now I'd like to make a subVI from it to make a pop up window to get more room on my front panel.
 
I tried to simply define the xy graph as an output terminal but when used as a subVI the graph is updated only at the end of the subVI.
Thanks,
Charly
It's always sunny in California! Certified LabVIEW Associate Developer!
Download All
0 Kudos
Message 1 of 11
(4,060 Views)
Supply the sub-vi with a reference to the graph indicator. The graph will update as the sub-vi is running.

Message Edited by Bill@NGC on 09-05-2007 09:50 PM

Download All
Message 2 of 11
(4,049 Views)

Hi Bill@NGC,

It works great thanks for that. Where do you get the refnum? I have LabVIEW full development system 8.5.

I also would like to update inputs for my subVI do I have to use the same trick?

Thanks

Charly

It's always sunny in California! Certified LabVIEW Associate Developer!
0 Kudos
Message 3 of 11
(4,024 Views)

How do you make the stop button working in the subVI?

 

It's always sunny in California! Certified LabVIEW Associate Developer!
0 Kudos
Message 4 of 11
(4,014 Views)
To create a reference to a control or indicator, simply right-click and choose Create...Reference. You would do the same thing with your STOP button in the calling VI so the sub-VI will recognize when its pressed.
0 Kudos
Message 5 of 11
(3,999 Views)
The subVI should read the value from the boolean stop button in the calling VI as specified by the bool refnum but I have an error that confuses me
can you see what is wrong in it?
It's always sunny in California! Certified LabVIEW Associate Developer!
Download All
0 Kudos
Message 6 of 11
(3,981 Views)
Change the mechanical action of your STOP button to "SWITCH WHEN RELEASED" rather than "LATCH WHEN RELEASED" and then drag a new reference onto your sub-vi and create a new VALUE property node. This has to do with race conditons (see LabVIEW help).
Message 7 of 11
(3,975 Views)

All right I was close! thank you for help

It's always sunny in California! Certified LabVIEW Associate Developer!
0 Kudos
Message 8 of 11
(3,970 Views)

Hi Charly,

Sorry for chiming in to your old thread. I am looking for some reference on how to make a popping up XY graph. I came accross of your thread but the VI's you attached were in LV8.5. Would it be possible if you can resend them using LV8.2?

I would greatly appreciate. Thanks.

John

0 Kudos
Message 9 of 11
(3,736 Views)
Hey John,
Hope these VIs will help you. I saved them for Labview version 8.2.
Charly
It's always sunny in California! Certified LabVIEW Associate Developer!
0 Kudos
Message 10 of 11
(3,710 Views)