LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I stop the cursor from being dragged outside the bounds of an intensity graph in LV 7.1?

Currently, an intensity graph cursor can be dragged outside the graph bounds, and the cursor position continues to change as if the graph had no bounds.
0 Kudos
Message 1 of 5
(2,854 Views)
You can maintain the cursor (and the graph scales...) between defined boundaries programmatically, using an attribute node. Not a very elegant solution, since there is some quivering. See the example.vi.
Of course, if the user need to modify the scales (zoom in/out...), there will be some additional work ! 🙂
Hope this help.
Chilly Charly    (aka CC)
0 Kudos
Message 2 of 5
(2,854 Views)
Right click on the graph and select Advanced. The default is set to Cursors Scroll Graph. Just select it to toggle the mode.
Message 3 of 5
(2,854 Views)
I have now fixed this problem by setting the cursor to "Lock to Plot" rather than "Free".
0 Kudos
Message 4 of 5
(2,854 Views)
Hi,

The "Lock to Plot" option set is one of the ways to see that the cursor position doesnot respectively change with the bounds of the graph.

Best Regards

Atul Wahi
Applications Engineer
www.ni.com
0 Kudos
Message 5 of 5
(2,854 Views)