LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

SubVI - VI Update ? Graph, Intensity graph.

I have a subVI which calculates data that is to be displayed in an intensity graph as it gets updated. I want to display the same intensity graph on my main VI to show the progress and update. I've tried using global variables, but it doesn't work well. Any suggestions ?

Thanks

Kudos are the best way to say thanks 🙂
0 Kudos
Message 1 of 10
(3,894 Views)
You need to use references and the "value" property of a property node.  Pass a reference to your subvi on your intensity graph, and wire the value of the intensity graph in the subvi to the value property of a property node.
0 Kudos
Message 2 of 10
(3,893 Views)
Thanks for the reply. I am sorry I am not understanding it right. I have an intensity graph on my main VI and my sub VI. Do you want me to pass a intensity graph control reference from my main VI to the  control reference of the intensity chart in the subvi (and) wire the intensity graph to "Value" property node ? Thanks for your help.

Kudos are the best way to say thanks 🙂
0 Kudos
Message 3 of 10
(3,890 Views)
Something like this...

But yes, I think you've got it right...  sorry my first post was a tad confusing.

Message Edited by Novatron on 08-04-2005 01:43 PM

0 Kudos
Message 4 of 10
(3,888 Views)
Thanks. This works. The intensity graph in my subVI can be stopped by a STOP button. Can I have a stop button on my main VI to stop the graph update in the subVI ?



Kudos are the best way to say thanks 🙂
0 Kudos
Message 5 of 10
(3,872 Views)
Yes...  Use the references in the same way, but with a boolean control, and wire the "Value" property of the boolean in the subvi to the "Stop".
0 Kudos
Message 6 of 10
(3,865 Views)
I tried that before. doesnt seem to work. Please see attachment...

Kudos are the best way to say thanks 🙂
0 Kudos
Message 7 of 10
(3,862 Views)
Sorry, I should've been more specific.  See attached, this should be what you're looking for.  Since the "Value" property is a variant, you have to chage it to boolean, and then wire that straight into the "Stop".
Message 8 of 10
(3,858 Views)
Thanks !! Works cool. By the way have you used ActiveX with IE in LabVIEW a lot ? IF so, would you happen to know how to control the cacheing of activex - IE ? Thanks

Kudos are the best way to say thanks 🙂
0 Kudos
Message 9 of 10
(3,852 Views)
No, sorry, haven't used that stuff much at all.  I have seen a number of posts regarding activeX and IE though...  might want to have a boo around the board to see what's out there.
0 Kudos
Message 10 of 10
(3,846 Views)