ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Graph Scale Range

Hello Everyone,
 
I have a problem in the Waveform Graph.
 
Basically I have a Waveform Graph and on the graph I have a cursor.
Now I should be able to move the cursor on the Plot , but the condition is that it should not go beyond the X Sacle range.
For e.g. If my X Scale range is 0 to 400, the even if i move my cursor beyond 0 or above 400 the cursor should not scroll or should stop scrolling.
One way of doing is that you keep on checking the X Scale Max and Min Values and as soon as it crosses any one of it, Make the cursor value to 0 or 400.
Is there any other way of doing it?
 
Please let me know.
 
Thanks in advance.
 
Avni
0 Kudos
Message 1 of 4
(3,322 Views)
Just right click on the graph and select Advanced. Uncheck 'Cursors Scroll Graph'.
0 Kudos
Message 2 of 4
(3,308 Views)
Hi Dennis
 
Thanks a lot for your reply.
But doing that will not solve my problem.
 
One e.g. to tell is that If I have a data of 400 points and my scale range is 0 to 100 then if I follow the instructions that you have given, then I will not be able to scroll and see the data beyond 100.
 
I acquire a data of 400 points. and depending of the Sweep speed, I dispaly the points and scale of the X axis changes .
Meaning If my Sweep speed is 1ms/d then I plot all four hundred points and the scale is 0 to 400
and if my sweep speed is chenged after acquiring the data then my scale changes to 0 to 200 .
 
I hope that you understand my problem.
Hoping that you will solve my query.
 
Avni
0 Kudos
Message 3 of 4
(3,293 Views)
That's a bit different problem. Whe you first stated it, you said you had 400 point and the scale was set to 0 to 400. If you have acquired 400 points and set the scale to be something less, then you'll probably have to do something like you suggested - monitor the cursor position. Of course, the other option is to make the user use the scroll bar instead of the cursor.
0 Kudos
Message 4 of 4
(3,279 Views)