Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Jumping cursor

Hi,

 

When I am moving a cursor vertically it is jumping uncontrolled horizontally. Please see the attached video clip.

 

What do you think? Is there any way I can prevent this or can you make some changes to Measurement Studio later? This happens also in other kind of ScatterGraph plots..

 

Thanks,


Ilkka

 

PS: Please note the cursor is NI’s standard XYCursor. The arrows are pained by an external function.

 
0 Kudos
Message 1 of 6
(4,503 Views)
In your example the cursor is bound to a plot and it crosses the plot at two positions. The cursor is bound to the plot, so if you move the cursor horizontally, it always jumps to the data point that is closer to the cursor's horizontal position. As this data point can be either in the rising edge or in the falling edge of your signal, the cursor jumps between the two crossing positions. I think this shouldn't happen if you move the cursor's center instead of the horizontal line.

This is intended behavior.

Kind regards,

Jochen Klier
National Instruments



0 Kudos
Message 2 of 6
(4,461 Views)

Yes Jochen,

That is what is happening.

For more complex "round" plots I was forced to make a cursor which can be moved only by the center. Please see the attached video.

In the previous post people can always move the cursor nicely by the vertical lines but in these round plots it does not work any more.

Here we have a new problem; the cursor is jumping between different plots (color changes).

Best regards,
Ilkka

 

 

0 Kudos
Message 3 of 6
(4,459 Views)
I see. Unfortunately I'm not an expert in Measurement Studio, but in other IDEs, such as LabVIEW or LabWindows you can lock the cursor to a single plot, so it doesn't jump between the plots. Isn't this possible in MS?

Jochen
0 Kudos
Message 4 of 6
(4,455 Views)
Hi Ilkka,

Check out the Cursor.SnapMode property will help you out. If you are wanting to lock a cursor to one plot, set the mode to ToPlot like so:

myCursor.SnapMode = CursorSnapMode.ToPlot;

You can also set this property at design-time.

Best Regards,
Jonathan N.
National Instruments
0 Kudos
Message 5 of 6
(4,447 Views)
Yes Jonathan,
 
now it does not jump between the plots anymore.
 
But now I must make some code for changing the desired plot; cannot use the center circle for that anymore  (which was a problem too in the previous question. Robot wink )
 
I will try to make in a better solution later where people can use the vertical and horizontal lines as well as keyboard for moving the cursors without jumping problems and the center circle for selecting desired plots..  (If NI will not include this feature into Measurement Studio)
 
Have a nice day,
Ilkka
 


Message Edited by Ilkka on 06-02-2008 05:19 PM
0 Kudos
Message 6 of 6
(4,443 Views)