Marker Commands; Marker:cursor - Agilent Technologies Infiniium 90000 Series Programmer's Manual

Oscilloscopes
Hide thumbs Also See for Infiniium 90000 Series:
Table of Contents

Advertisement

23

Marker Commands

:MARKer:CURSor?

Query
:MARKer:CURSor? {DELTa | STARt | STOP}
The :MARKer:CURSor? query returns the time and current measurement
unit values of the specified marker (if markers are in Track Waveforms
mode) as an ordered pair of time and measurement unit values.
• If DELTA is specified, the value of delta Y and delta X are returned.
• If START is specified, marker A's x- to- y positions are returned.
• If STOP is specified, marker B's x- to- y positions are returned.
Returned Format
[:MARKer:CURSor] {DELTa | STARt | STOP}
{<Ax, Ay> | <Bx, By> | <deltaX, deltaY>}<NL>
Example
This example returns the current position of the X cursor and
measurement unit marker 1 to the string variable, strPosition. The
program then prints the contents of the variable to the computer's screen.
Dim strPosition As String
myScope.WriteString ":MARKER:CURSOR? START"
strPosition = myScope.ReadString
Debug.Print strPosition
The :MARKer:CURSor? query may change marker mode and results.
C A U T I O N
In Track Waveforms mode, use :MARKer:CURSor? to track the position of the
waveform. In Manual Markers and Track Measurements Markers modes, use other
marker queries, such as the X1Position? and X2Position?, and VSTArt? and VSTOp?
queries.
If you use :MARKer:CURSor? when the oscilloscope is in either Manual Markers or
Track Measurements Markers modes, it will put the oscilloscope in Track
Waveforms mode, regardless of the mode previously selected. In addition,
measurement results may not be what you expected. In addition, measurement
results may not be what you expected.
418
' Dimension variable.
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents