03-30-2015 08:03 AM
Hi Guys,
When defer panel update property is set to True, and chart is updated using "Value Property" node, data is not getting updated in chart. Screen shot of block diagram and VI (2014) attached.
Is this a known bug, and is there any fix for it?
Thanks,
Karthik
Solved! Go to Solution.
03-30-2015 11:54 AM
A common problem people have is where they defer, then an error is passed into the undefer which will not perform the undefer. This is not the case with your VI but I wanted to make you aware that this is where people usually have problems.
So I tried a few things and I'm not sure why it doesn't work. But I know you can write to the chart terminal, or a chart local variable instead of the property node and it works as it should.
I'd say bug, but it is a strange one, NI needs to fix it.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
03-30-2015 09:08 PM
Thanks Hooovahh for your reply. Yes, it's a strange bug indeed.
In my use case, I need to update the chart of a VI from another VI, due to which I can't use the terminal or local variable.
03-31-2015 01:58 AM
I haven't tried running your code, but here are some possible workarounds:
03-31-2015 07:02 AM
Thanks tst for your helpful alternative suggestions.
Your options 1 & 3 are simpler, and they work with defer panel updates. Option 1(Set Control Value by Index) actually performs better when defer panel updates is not used. VI with all 3 options attached with this mail, for anyone interested in this.
Thanks,
Karthik