LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Graph cursors - behaviour when selected

I'm using Measurement Studio 1.01, LabWindows/CVI 5.5.1 on a Windows 98 PC.

I have a program using multiple graph cursors and GetGraphCursor( ) to allow
a user to see the x and y values of the cursor as the user positions the
cursor over a waveform.

The positioning needs to be very accurate, but unfortunately as soon as the
user clicks on a graph cursor, the cursor crosshairs become thicker
(presumably as an indication of the selected cursor). This stops the user
from positioning the cursor accurately.

Is there any way I can keep the graph cursor crosshairs permanently thin?

TIA


Dugald Bell
0 Kudos
Message 1 of 2
(2,816 Views)
Hello Dugald,
The direct answer to your questions is no, you cannot keep the crosshairs permanently thin. The best you can accomplish in this regard might be to change the cursor from a crosshair to a point with 'SetCursorAttribute (hpanel, PANEL_GRAPH, 2, ATTR_CROSS_HAIR_STYLE, VAL_NO_CROSS)'
or by using the User Interface Editor. However, the user should be able to position the cursor accurately by using the arrow keys (and arrow keys) on their keyboard.

Jeremiah Cox
Applications Engineer
National Instruments
http://www.ni.com/ask
0 Kudos
Message 2 of 2
(2,816 Views)