Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Locking Cursor to XAxis

Greetings,

I have an application that emulates a Spectrum Analyzer utilizing the Measurements Studio graph/plots/cursors etc.

Just as a Spectrum Analyzer cursor behaves,  I want to to LOCK the Cursor to the X Axis while the Y data maybe changing/updating.

Currently, the cursor "moves/floats" around while the live data updates.

Are there any suggestions on how to accomplish this task?

thank you,

matt

0 Kudos
Message 1 of 2
(3,304 Views)

Hey matt,

 

Have you tried setting the the SnapMode property ? By default, it is set to CursorSnapMode.ToPlot, I believe, which results in the Cursor 'snapping' to points on the configured plot.You might want to try this (Set it to CursorSnapMode.Floating if you want to allow user interaction):

xyCursor1.SnapMode = CursorSnapMode.Fixed;


- Mahesh

 

-Mahesh
National Instruments
0 Kudos
Message 2 of 2
(3,278 Views)