LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to variate the Periode of x-scale when using the x-scale range proberty to something else?

Hi to all in forum!
I got this VI, and i need it like it is plus one more feathure.
I need to variate teh x-scale range when running this VI.
But it is not possible when using the same proberty to somthing else. I tried but it shifted quickly between the running samplings and the range i wanted to appear.
 
any suggestions wil be appreciated.
regards
Zamzam  
HFZ
0 Kudos
Message 1 of 2
(2,162 Views)
Hello Zamzam,

you get the values for the x-range from your chart. The values are copied to the two graphs. It's all correct up to here...

Now you want to change the x-range. Where do you want to change it?
At the moment you have to change it at the chart x-axis to promote it to the graphs. But: the chart is constantly getting new values and so it changes it's x-axis (counting forward, changing displayed range and so on).

So my advice: Make two controls: x-range min and max. Wire those controls to the property nodes to set the x-axis of the two graphs! (Maybe use some logic on your own to prevent 'wrong' settings by the user.)

Best regards,
GerdW


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