cancel
Showing results for 
Search instead for 
Did you mean: 

Property Node for graph scale at Tab Control read.

SOLVED
BrainBurn
Member
Solved!

Property Node for graph scale at Tab Control read.

Message contains an attachment

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!

 

6 REPLIES 6
BrainBurn
Member
Solution

Re: Property Node for graph scale at Tab Control read.

Message contains an attachment

P.S. I do see stupid solution - tab change every time before read out. May be you knew better way?

RavensFan
Knight of NI
Solution

Re: Property Node for graph scale at Tab Control read.

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?

BrainBurn
Member

Re: Property Node for graph scale at Tab Control read.

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!

deceased
Active Participant

Re: Property Node for graph scale at Tab Control read.

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

 

BrainBurn
Member

Re: Property Node for graph scale at Tab Control read.

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.

deceased
Active Participant

Re: Property Node for graph scale at Tab Control read.

Yes, I also attempted that and had the same result.

It seems the Y scale max is only updated at the point of redraw Smiley Sad .. which I guess makes sense.

 

0xDEAD