12-18-2018 08:27 PM
Hello!
I try to read out the my Zscale from the graph which work with autoscale. That graph locate at one of pages of TabControl.
If graph page do not open to show, the property node return last shown value.
So if I locate at graph page, everything work fine, but if go to other. The Zscale stop change.
Simple example attached.
How to solve that issue?
Thanks!
Solved! Go to Solution.
12-18-2018 09:09 PM - edited 12-18-2018 09:25 PM
P.S. I do see stupid solution - tab change every time before read out. May be you knew better way?
12-18-2018 10:28 PM
How about have a second version of the graph that you keep off a tab control and offscreen and you get the scale values off of that one?
12-19-2018 01:12 AM
I time to time turn off auto scale( that actually reason why I need to save it. To plot the data the same way at post processing).
I probably could catch up that with event handler, but that looks to complicated.
But thanks for nice idea!
12-19-2018 01:18 AM
I would have thought the "Force Redraw" invoke node would have been a suitable option to make this silently update while it is hidden on another tab, but it seems to make the graph show through on top of the selected (no graph) tab.
Might be the intended behaviour, since it literally forced the redraw, but seems a bit like a bug to me. (LV2015 64bit).
0xDEAD
12-19-2018 03:19 AM - edited 12-19-2018 03:47 AM
I looking for something like that=) Sad that it do not workout. Thanks!
I also try to use Force Redraw with visible, False. Turns out that if plot is invisible, you not able to got scale too.
12-19-2018 05:37 AM - edited 12-19-2018 05:37 AM
Yes, I also attempted that and had the same result.
It seems the Y scale max is only updated at the point of redraw 😞 .. which I guess makes sense.
0xDEAD