LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Update graph data from subVI (while loop) that is also updated from outside the while loop

hello,

 

My graph gets updated just fine when it is not inside the while loop, infact inside the while loop is the same subvi that updates the graph outside the while. In the subvi that does not update the graph no data is getting passed at all. Its really mind boggling. I've tried a lot of things and can't seem to figure it out, so any help is appreciated.

0 Kudos
Message 1 of 5
(2,770 Views)
Did not like the answer you got last time you asked about these VIs?

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 5
(2,737 Views)

Ha! I did, they were acutally great answers. However, now I have a new problem: the graph Smiley Sad

0 Kudos
Message 3 of 5
(2,708 Views)

Anyone know what to do? I'm about to shoot my computer.... haha

0 Kudos
Message 4 of 5
(2,685 Views)

You are abusing the use of property nodes to set values.  And you are using the Value (Signaling), which means you are generating an event that isn't handled anywhere each time you write to the property.  Why aren't you just using the terminals?  That is a lot more efficient.  And you shouldn't be passing references everywhere.  LabVIEW is a DATA FLOW language.  This means that it does everything By Value.  So you should be passing the actual values around, not the reference to something on your front panel.

 

Oh, and property nodes will absolutely kill your performance since they force your front panel to draw, causing a thread swap.  This is a very expensive process.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 5 of 5
(2,668 Views)