Cicode Programming Reference > Cicode Function Categories > Display Functions Introduction > DspMarkerMove

DspMarkerMove

Moves a trend or chart marker to a specified position.

Syntax

DspMarkerMove(AN, hMarker, Offset)

AN:

The AN where the trend or chart is positioned.

hMarker:

The marker handle, as returned from the DspMarkerNew() function. The marker handle identifies the table where all data on the associated marker is stored.

Offset:

The offset by which to move the marker. Vertical markers have an offset from 0 (zero) to the maximum number of samples in the trend. Horizontal markers have a offset of 0 (zero) to 32000.

Return Value

0 (zero) if successful, otherwise an error is returned.

Related Functions

DspMarkerNew, OnEvent

Example

See DspMarkerNew

See Also

Display Functions