LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Drag point to set curve limits in XY graph limit test

There is an example "Limit Testing for Unevenly Sampled Data.vi",it shows how to set limits in XY graph.

Anyone knows how to Draw limits in the graph?Like drag /add /remove points in the graph.The limits will be applied instaniously.

This feature can be seen in may software applications,and it is really a cool way for users to set the limits.

A demo would be very appreciated.

Thanks,

 

asdfaaa.png

 

0 Kudos
Message 1 of 4
(4,402 Views)

Hi avater,

 

- you can use mouse events of the graph to react on user actions

- you can show cursors in the graph and have the user play with them. You can read cursor positions with property nodes…

- you can react on cursor events too…

 

All you need to do is program the behaviour you want your VI to have!

 

A demo would be very appreciated.

LabVIEW comes with a lot of example VIs.

There are examples demostrating the usage of graph cursors…

Best regards,
GerdW


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

Thanks for your kind reply.

Actually I already studied the examples and also tried some ideas about it.But I haven't got a way to do that.

The problem is that when you play with a waveform that has thousands of points in the signal,your limits will be also converted to that amount of points.That is you are impossible to choose a point and drag in a curve consists of thousands of points.

0 Kudos
Message 3 of 4
(4,372 Views)

Hi avater,

 

you are impossible to choose a point and drag in a curve consists of thousands of points.

You may zoom in… 😄

 

The problem is that when you play with a waveform that has thousands of points in the signal

Well, that's you part as programmer…

You can limit the number of samples, you can zoom in, you can maybe use other limit "waveforms". It's up to you!

Best regards,
GerdW


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