Cursor Move Event

Requires: Base Development System

Class: WaveformGraph Events

Type: Notify

Generated when the user moves a cursor either by clicking and dragging the cursor or using the Cursor Movement Tool.

If the user selects and moves multiple cursors, a Cursor Move event is generated for each cursor. This event also is generated when a user enters a new value in the cursor legend. This event is useful if you want register when a user interacts with a graph cursor.

Example

Event Data Fields

NameDescription
SourceSource of the event. LabVIEW UI refers to any built-in user interface event.

0LabVIEW UI
TypeType of event that occurred, such as Mouse Down, Value Change, Timeout, and so on.
TimeValue of the millisecond timer when the event occurred.
TimeValue of the millisecond timer when the event occurred.
CursIdxIndex of the cursor that the user selected.
CursRefReference to the cursor that the user selected.
PlotIdxIndex of the plot for which the attribute changed.
PointIdxIndex of the point that the cursor is currently locked to.
CursLocThe X and Y locations of the cursor.

Example

Refer to the Graph Events VI in the labview\examples\Controls and Indicators\Graphs and Charts\Graphs - General directory for an example of using the Cursor Move event.

 Open example  Find related examples