07-08-2014 04:31 PM
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.
07-08-2014 08:52 PM
07-09-2014 09:13 AM
Ha! I did, they were acutally great answers. However, now I have a new problem: the graph
07-09-2014 12:48 PM
Anyone know what to do? I'm about to shoot my computer.... haha
07-09-2014 04:32 PM
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.