Admin Production ni-theme
Current Publication

ATTR_CURSOR_SNAPPING_PLOT

LabWindows/CVI

ATTR_CURSOR_SNAPPING_PLOT

Type: Cursor attribute
Description: Forces graph cursors to snap to a particular plot.

By default, a graph cursor for which the ATTR_CURSOR_MODE is VAL_SNAP_TO_POINT snaps to the closest X, Y, XY, waveform, point, or polygon plot. If you want to force a cursor to snap to a particular plot, set ATTR_CURSOR_SNAPPING_PLOT to the plot that you want the cursor to snap to.

To allow cursors to snap to any plot, set the value of this attribute to 0.

The plot that you specify must correspond to a plot that is snappable. If after specifying a snappable plot, you delete the plot, the plot becomes non-snappable, or the plot is no longer visible in the plot area, LabWindows/CVI changes the value of this attribute to 0.

You can set this attribute when ATTR_CURSOR_MODE is not set to VAL_SNAP_TO_POINT, but it will not take effect until you set ATTR_CURSOR_MODE to VAL_SNAP_TO_POINT.
Data Type: integer
Default Value: 0
LabWindows/CVI
Compatibility:
LabWindows/CVI 2012 and later