LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

snapped cursor jumps when new plot added

I have an XY graph in while i have a "snap to point" cursor on. When I add a new plot to it.. the cursor moves plots.. but I would like it to stay still... if anyone knows.. why would this happen? not to mention.. how would I go about getting it to stay still. I have a attachment of what Im doing, on top is before adding a plot.. then below is when i added the plot.. (i have it set up so it changed the color of the plot when the cursor is snapped to its point, so thats what the color change is.)
0 Kudos
Message 1 of 5
(2,801 Views)
If it's truly a new plot you're adding to the graph (and not just more points on the same plot), the Lock to Plot cursor option (instead of Snap to Point) may help.
0 Kudos
Message 2 of 5
(2,801 Views)
You may also try either setting the Active Plot Property of the graph to the original plot number before and after adding new data or read the cursor's index position prior to adding the plot and simply resetting it to that position after the data is loaded.

See the example attached.


2006 Ultimate LabVIEW G-eek.

0 Kudos
Message 3 of 5
(2,801 Views)
Well, I would like to be able to move the cursor to other plots when needed. So locking to plot in my situation doesnt work.. although possibly i could lock it... add the new plot.. then release it. Just was seeing if there was any other ways around it. Thanks!

Mark
0 Kudos
Message 4 of 5
(2,801 Views)
Yea... I was thinking about doing somthing like that.. but wanted to see if there was another way around it.. it SHOULDNT do that... but oh well. Thanks for the ideas!

Mark
0 Kudos
Message 5 of 5
(2,801 Views)