LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

updating plot via property node

I would like to update a autoscaled plot by using its property node.
The original y scale was linear and then change to log scale with the different data range.
For the first time, I gave some delay for refreshing plot.
But this method is not reliable in other data. (out of control in autoscaling)
I need to run the property node twice.
In any way, as you can see the attachment, the second run showed the data without distortion of y axis.

 

Can you suggest that how I update the plot more effectively and reliably?

 

labmaster.

Download All
0 Kudos
Message 1 of 5
(1,988 Views)

Hi labmaster,

 


@labmaster wrote:

I need to run the property node twice.

Can you suggest that how I update the plot more effectively and reliably?


Place a FOR loop around your code to set/change those properties. Run the loop two times…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(1,954 Views)

Of course, I tried your comment before but it was not reliable with some data.

I suspect there is a problem in autoscaling of plot control when the data are displaying.

 

labmaster.

0 Kudos
Message 3 of 5
(1,939 Views)

Hi Labmaster,

 


@labmaster wrote:

I tried your comment before but it was not reliable with some data.

I suspect there is a problem in autoscaling of plot control when the data are displaying.


Quick & dirty suggestion: have that FOR loop iterate more than twice… 🙂

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 5
(1,935 Views)

^^

0 Kudos
Message 5 of 5
(1,932 Views)