LabWindows/CVI

GCC_AddCursor

int GCC_AddCursor (GraphCursorCtrlHandle graphCursorControl, char *cursorName);

Purpose

This function adds another cursor to the graph cursor control and its associated graph.

Parameters

Input
Name Type Description
graphCursorControl GraphCursorCtrlHandle The handle to the graph cursor control returned by GCC_New.
cursorName char * The name of the new cursor.

Return Value

Name Type Description
result int The return value of the function.

The function returns either the number of the new cursor in the graph (› 0) or a user interface error code (‹ 0) as documented in userint.h.

Additional Information

Library: Graph Cursor Control

Include file: custctrl\graphcursors.h

LabWindows/CVI compatibility: LabWindows/CVI 6.0 and later

Example

Refer to userint\custctrl\graphcursors\graphcursorctrl.cws for an example of using the GCC_AddCursor function.