The Tektronix TDS724A oscilloscope is controlled remotely with SCPI commands. TestFlow's instrument library holds 237 commands for it, 133 of them queries that read values or state, grouped below by subsystem with their arguments. It is the same library TestFlow's AI agent uses to drive the TDS724A on a real bench.
Describe the test; TestFlow's agent uses this command set to drive your Tektronix TDS724A and writes the report from the measured results.
With PyVISA, any VISA backend, and the instrument on USB, LAN or GPIB, this opens a session, identifies the instrument, sends one setting, and reads one value. Every command in it comes from the reference below. For a full walkthrough, see the PyVISA tutorial and the SCPI command cheat sheet.
import pyvisa
rm = pyvisa.ResourceManager()
print(rm.list_resources()) # find the Tektronix TDS724A's VISA address
# Paste the address of your Tektronix TDS724A (USB, LAN or GPIB).
inst = rm.open_resource("PASTE_VISA_ADDRESS_HERE")
inst.timeout = 5000 # ms
print(inst.query("*IDN?")) # identify the instrument
inst.write("AUTOSET") # Autoset
print(inst.query("MEASUrement:REFLevel:PERCent:HIGH?")) # Query Percent High Reference
inst.close()Describe the test; TestFlow's agent uses this command set to drive your Tektronix TDS724A and writes the report from the measured results.
Describe the test in a sentence, for example “autoset on the TDS724A, then query percent high reference and log it against a limit”. TestFlow's agent builds the steps from this command library, runs them on your bench through the TestFlow desktop app, and writes the report from the measured values. See AI test automation for lab instruments for how that works and where it stops.
237 commands in 25 groups. A ? marks a query that returns a value. Placeholders in angle brackets take the listed values.
| Command | What it does | Arguments |
|---|---|---|
| MEASUrement? | Query All Measurements. Returns all measurement parameters. | None |
| MEASUrement:GATing <state> | Set Measurement Gating. Turns measurement gating on or off. | Text: ON, OFF |
| MEASUrement:GATing? | Query Measurement Gating. Returns the measurement gating state. | None |
| MEASUrement:IMMed:TYPe <type> | Set Immediate Measurement Type. Sets the type of the immediate measurement. | Text: measurement type keyword from the manual list (for example the frequency type) |
| MEASUrement:IMMed:TYPe? | Query Immediate Measurement Type. Returns the type of the immediate measurement. | None |
| MEASUrement:IMMed:VALue? | Read Immediate Measurement Value. Executes the immediate measurement and returns its value. | None |
| MEASUrement:IMMed:UNITS? | Query Immediate Measurement Units. Returns the units of the immediate measurement. | None |
| MEASUrement:IMMed:SOURCE1 <source> | Set Immediate Measurement Source 1. Sets the source for single channel immediate measurements and the delay from source. | Text: CH1 to CH4, MATH1 to MATH3, REF1 to REF4 |
| MEASUrement:IMMed:SOURCE1? | Query Immediate Measurement Source 1. Returns the immediate measurement source 1. | None |
| MEASUrement:IMMed:SOURCE2 <source> | Set Immediate Measurement Source 2. Sets the source to measure to when taking an immediate delay or phase measurement. | Text: CH1 to CH4, MATH1 to MATH3, REF1 to REF4 |
| MEASUrement:IMMed:SOURCE2? | Query Immediate Measurement Source 2. Returns the immediate measurement source 2. | None |
| MEASUrement:IMMed:DELay:EDGE1 <slope> | Set Immediate Delay Edge 1. Sets the slope of the edge used on the delay from waveform. | Text: RISe, FALL |
| MEASUrement:IMMed:DELay:EDGE1? | Query Immediate Delay Edge 1. Returns the slope of the immediate delay from edge. | None |
| MEASUrement:IMMed:DELay:EDGE2 <slope> | Set Immediate Delay Edge 2. Sets the slope of the edge used on the delay to waveform. | Text: RISe, FALL |
| MEASUrement:IMMed:DELay:EDGE2? | Query Immediate Delay Edge 2. Returns the slope of the immediate delay to edge. | None |
| MEASUrement:IMMed:DELay? | Query Immediate Delay Measurement. Returns the immediate delay measurement setup. | None |
| MEASUrement:MEAS<x>:TYPe <type> | Set Measurement Type. Sets the type of the displayed measurement. | Text: measurement type keyword from the manual list |
| MEASUrement:MEAS<x>:TYPe? | Query Measurement Type. Returns the type of the measurement. | None |
| MEASUrement:MEAS<x>:VALue? | Read Measurement Value. Returns the displayed value of the measurement. | None |
| MEASUrement:MEAS<x>:UNITS? | Query Measurement Units. Returns the units for the measurement. | None |
| MEASUrement:MEAS<x>? | Query All Measurement Parameters. Returns all parameters of the displayed measurement. | None |
| MEASUrement:MEAS<x>:STATE <state> | Set Measurement State. Turns the measurement on or off. | Text: ON, OFF or 1, 0 |
| MEASUrement:MEAS<x>:STATE? | Query Measurement State. Returns the state of the measurement. | None |
| MEASUrement:MEAS<x>:SOURCE1 <source> | Set Measurement Source 1. Sets the measurement source for single channel measurements. | Text: CH1 to CH4, MATH1 to MATH3, REF1 to REF4 |
| MEASUrement:MEAS<x>:SOURCE1? | Query Measurement Source 1. Returns the measurement source 1. | None |
| MEASUrement:MEAS<x>:SOURCE2 <source> | Set Measurement Source 2. Sets the source to measure to for delay or phase measurements. | Text: CH1 to CH4, MATH1 to MATH3, REF1 to REF4 |
| MEASUrement:MEAS<x>:SOURCE2? | Query Measurement Source 2. Returns the measurement source 2. | None |
| MEASUrement:MEAS<x>:DELay:EDGE1 <slope> | Set Measurement Delay Edge 1. Sets the slope of the edge used on the delay from waveform. | Text: RISe, FALL |
| MEASUrement:MEAS<x>:DELay:EDGE1? | Query Measurement Delay Edge 1. Returns the slope of the delay from edge. | None |
| MEASUrement:MEAS<x>:DELay:EDGE2 <slope> | Set Measurement Delay Edge 2. Sets the slope of the edge used on the delay to waveform. | Text: RISe, FALL |
| MEASUrement:MEAS<x>:DELay:EDGE2? | Query Measurement Delay Edge 2. Returns the slope of the delay to edge. | None |
| MEASUrement:MEAS<x>:DELay? | Query Measurement Delay Parameters. Returns the delay measurement parameters. | None |
| MEASUrement:MEAS<x>:MEAN? | Query Measurement Mean. Returns the mean accumulated for the measurement (TDS 500C and 700C only). | None |
| MEASUrement:MEAS<x>:MAXimum? | Query Measurement Maximum. Returns the maximum value since the last statistical reset (TDS 500C and 700C only). | None |
| MEASUrement:MEAS<x>:MINImum? | Query Measurement Minimum. Returns the minimum value since the last statistical reset (TDS 500C and 700C only). | None |
| MEASUrement:MEAS<x>:STDdev? | Query Measurement Standard Deviation. Returns the standard deviation of accumulated values (TDS 500C and 700C only). | None |
| MEASUrement:METHod <method> | Set Measurement Method. Sets the method used to calculate the 0% and 100% reference levels. | Text: HISTogram, MINMax, or the method keyword from the manual |
| MEASUrement:METHod? | Query Measurement Method. Returns the method used for the reference levels. | None |
| MEASUrement:REFLevel? | Query Reference Levels. Returns the reference levels. | None |
| MEASUrement:REFLevel:METHod <method> | Set Reference Level Method. Specifies which reference levels are used for measurements. | Text: ABSolute, PERCent, or the statistical method keyword |
| MEASUrement:REFLevel:METHod? | Query Reference Level Method. Returns the reference level method in use. | None |
| MEASUrement:REFLevel:ABSolute:HIGH <level> | Set Absolute High Reference. Sets the high (100%) absolute reference level. | Number: high reference level in volts, default 0.0 |
| MEASUrement:REFLevel:ABSolute:HIGH? | Query Absolute High Reference. Returns the absolute high reference level. | None |
| MEASUrement:REFLevel:ABSolute:LOW <level> | Set Absolute Low Reference. Sets the low (0%) absolute reference level. | Number: low reference level in volts, default 0.0 |
| MEASUrement:REFLevel:ABSolute:LOW? | Query Absolute Low Reference. Returns the absolute low reference level. | None |
| MEASUrement:REFLevel:ABSolute:MID <level> | Set Absolute Mid Reference. Sets the mid (50%) absolute reference level. | Number: mid reference level in volts, default 0.0 |
| MEASUrement:REFLevel:ABSolute:MID? | Query Absolute Mid Reference. Returns the absolute mid reference level. | None |
| MEASUrement:REFLevel:PERCent:HIGH <percent> | Set Percent High Reference. Sets the high reference level as a percent of HIGH. | Number: 0 to 100 percent of HIGH, default 90 |
| MEASUrement:REFLevel:PERCent:HIGH? | Query Percent High Reference. Returns the percent high reference level. | None |
| MEASUrement:REFLevel:PERCent:LOW <percent> | Set Percent Low Reference. Sets the low reference level as a percent of HIGH. | Number: 0 to 100 percent of HIGH, default 10 |
| MEASUrement:REFLevel:PERCent:LOW? | Query Percent Low Reference. Returns the percent low reference level. | None |
| MEASUrement:REFLevel:PERCent:MID <percent> | Set Percent Mid Reference. Sets the mid reference level as a percent of HIGH. | Number: 0 to 100 percent of HIGH, default 50 |
| MEASUrement:REFLevel:PERCent:MID? | Query Percent Mid Reference. Returns the percent mid reference level. | None |
| MEASUrement:STATIstics:MODE? | Query Statistics Mode. Returns the measurement statistics mode. | None |
| MEASUrement:STATIstics:WEIghting <weight> | Set Statistics Weighting. Sets the responsiveness of mean and standard deviation (TDS 500C and 700C only). | Number: time constant for mean and standard deviation accumulations |
| Command | What it does | Arguments |
|---|---|---|
| WFMPRE? | Query Waveform Format. Returns the waveform formatting data for the first ordered waveform. | None |
| WFMPRE:BIT_NR? | Query Bits Per Point. Returns the number of bits per binary waveform point (8 or 16). | None |
| WFMPRE:BN_FMT <format> | Set Binary Data Format. Sets the format of binary waveform data. | Text: RI (signed integer) or RP (positive integer) |
| WFMPRE:BN_FMT? | Query Binary Data Format. Returns the binary data format (RI or RP). | None |
| WFMPRE:BYT_NR <width> | Set Bytes Per Point. Sets the binary data width for the waveform. | Number: 1 or 2 bytes per point |
| WFMPRE:BYT_NR? | Query Bytes Per Point. Returns the binary data width in bytes per point. | None |
| WFMPRE:BYT_OR <order> | Set Byte Order. Selects which byte of 2-byte binary data is transmitted first. | Text: LSB or MSB |
| WFMPRE:BYT_OR? | Query Byte Order. Returns which byte is transmitted first (LSB or MSB). | None |
| WFMPRE:ENCDG <encoding> | Set Curve Encoding. Sets the encoding of waveform data sent with CURVE. | Text: ASC (ASCII) or BIN (binary) |
| WFMPRE:ENCDG? | Query Curve Encoding. Returns the waveform data encoding (ASC or BIN). | None |
| WFMPRE:PT_FMT <format> | Set Point Format. Selects the data point format of the waveform (enveloped or normal). | Text: ENVelope or Y |
| WFMPRE:PT_OFF <position> | Set Trigger Point Offset. Sets the trigger point within the reference waveform record. | Number: 0 to the record length |
| WFMPRE:XINCR <interval> | Set Horizontal Sample Interval. Sets the horizontal sampling interval of the reference waveform. | Number: sampling interval in seconds per point |
| WFMPRE:YMULT <scale> | Set Vertical Scale Factor. Sets the vertical scale factor of the reference waveform. | Number: vertical scale factor in YUNits per division |
| WFMPRE:YOFF <offset> | Set Vertical Offset Level. Sets the vertical offset in digitizing levels of the reference waveform. | Number: offset in digitizing levels |
| WFMPRE:YZERO <offset> | Set Vertical Offset Voltage. Sets the offset voltage of the reference waveform. | Number: offset in YUNits (usually volts) |
| WFMPRE:<wfm>? | Query Waveform Format For Source. Returns the waveform formatting data for the given waveform (must be displayed). | Text: CH<x>, MATH<x>, or REF<x> |
| WFMPRE:<wfm>:NR_PT? | Query Number Of Points. Returns the number of points in the transmitted waveform record. | Text: CH<x>, MATH<x>, or REF<x> |
| WFMPRE:<wfm>:PT_FMT <format> | Set Point Format For Source. Sets the data point format for the given waveform. | Text: ENVelope or Y |
| WFMPRE:<wfm>:PT_FMT? | Query Point Format For Source. Returns the data point format of the given waveform. | Text: CH<x>, MATH<x>, or REF<x> |
| WFMPRE:<wfm>:PT_OFF? | Query Trigger Point Offset For Source. Returns the trigger point position within the waveform record. | Text: CH<x>, MATH<x>, or REF<x> |
| WFMPRE:<wfm>:WFID? | Query Waveform Identifier. Returns the waveform identifier string (coupling, volts/div, time/div, mode, record length). | Text: CH<x>, MATH<x>, or REF<x> |
| WFMPRE:<wfm>:XINCR <interval> | Set Horizontal Interval For Source. Sets the horizontal sampling interval for the given waveform. | Number: sampling interval in seconds |
| WFMPRE:<wfm>:XINCR? | Query Horizontal Interval For Source. Returns the horizontal sampling interval of the given waveform. | Text: CH<x>, MATH<x>, or REF<x> |
| WFMPRE:<wfm>:XUNIT? | Query Horizontal Units. Returns the horizontal units of the waveform data (seconds). | Text: CH<x>, MATH<x>, or REF<x> |
| WFMPRE:<wfm>:YMULT <scale> | Set Vertical Scale For Source. Sets the vertical scale factor for the given waveform. | Number: scale factor in YUNits per digitizing level |
| WFMPRE:<wfm>:YMULT? | Query Vertical Scale For Source. Returns the vertical scale factor of the given waveform. | Text: CH<x>, MATH<x>, or REF<x> |
| WFMPRE:<wfm>:YOFF <offset> | Set Vertical Position For Source. Sets the vertical position of the given waveform. | Number: position in digitizing levels |
| WFMPRE:<wfm>:YOFF? | Query Vertical Position For Source. Returns the vertical position of the given waveform. | Text: CH<x>, MATH<x>, or REF<x> |
| WFMPRE:<wfm>:YUNIT? | Query Vertical Units. Returns the vertical units of the given waveform (volts). | Text: CH<x>, MATH<x>, or REF<x> |
| WFMPRE:<wfm>:YZERO <offset> | Set Vertical Offset Voltage For Source. Sets the vertical offset voltage of the given waveform. | Number: offset in YUNits (usually volts) |
| WFMPRE:<wfm>:YZERO? | Query Vertical Offset Voltage For Source. Returns the vertical offset voltage of the given waveform. | Text: CH<x>, MATH<x>, or REF<x> |
| Command | What it does | Arguments |
|---|---|---|
| TRIGger FORCe | Force Trigger. Forces a trigger event to occur. | None |
| TRIGger? | Query Trigger Parameters. Returns the current trigger parameters. | None |
| TRIGger:MAIn:LEVel <level> | Set Main Trigger Level. Sets the main trigger level. | Number: trigger level in volts, or ECL (-1.3 V) or TTL (1.4 V) preset |
| TRIGger:MAIn:LEVel? | Query Main Trigger Level. Returns the main trigger level. | None |
| TRIGger:MAIn:EDGE:SLOpe <slope> | Set Main Edge Trigger Slope. Selects the rising or falling slope for the main edge trigger. | Text: RISe, FALL |
| TRIGger:MAIn:EDGE:SLOpe? | Query Main Edge Trigger Slope. Returns the main edge trigger slope. | None |
| TRIGger:MAIn:EDGE:COUPling <coupling> | Set Main Edge Trigger Coupling. Sets the coupling for the main edge trigger. | Text: AC, DC, HFRej, LFRej, NOISErej |
| TRIGger:MAIn:EDGE:COUPling? | Query Main Edge Trigger Coupling. Returns the main edge trigger coupling. | None |
| TRIGger:MAIn:EDGE:SOUrce <source> | Set Main Edge Trigger Source. Sets the source for the main edge trigger. | Text: CH1,CH2,CH3,CH4,LINE |
| TRIGger:MAIn:EDGE:SOUrce? | Query Main Edge Trigger Source. Returns the main edge trigger source. | None |
| TRIGger:MAIn:EDGE? | Query Main Edge Trigger Settings. Returns the coupling, source and slope of the main edge trigger. | None |
| TRIGger:MAIn:MODe <mode> | Set Main Trigger Mode. Sets the main trigger mode. | Text: NORMal, AUTO |
| TRIGger:MAIn:MODe? | Query Main Trigger Mode. Returns the main trigger mode. | None |
| TRIGger:MAIn:TYPe <type> | Set Main Trigger Type. Sets the type of the main trigger. | Text: EDGE,LOGIc,PULse,VIDeo |
| TRIGger:MAIn:TYPe? | Query Main Trigger Type. Returns the type of the main trigger. | None |
| TRIGger:MAIn:HOLDOff:TIMe <time> | Set Main Holdoff Time. Sets the main trigger holdoff time. | Number: holdoff time in seconds, 250 ns to 12.0 s (TDS 500C and 700C only) |
| TRIGger:MAIn:HOLDOff:TIMe? | Query Main Holdoff Time. Returns the main trigger holdoff time. | None |
| TRIGger:MAIn:HOLDOff:ACTUal? | Query Actual Main Holdoff. Returns the actual main trigger holdoff value in seconds (TDS 500C, 600B and 700C only). | None |
| TRIGger:DELay:LEVel <level> | Set Delayed Trigger Level. Sets the delayed trigger level. | Number: delayed trigger level in volts, or ECL (-1.3 V) or TTL (1.4 V) preset |
| TRIGger:DELay:LEVel? | Query Delayed Trigger Level. Returns the delayed trigger level. | None |
| TRIGger:DELay:TIMe <time> | Set Delayed Trigger Time. Sets the delay time used when the delay is by time. | Number: delay time in seconds |
| TRIGger:DELay:TIMe? | Query Delayed Trigger Time. Returns the delayed trigger time. | None |
| TRIGger:DELay:BY <mode> | Set Delayed Trigger By. Selects whether the delayed trigger occurs after events or after a time period. | Text: EVENTS, TIMe |
| TRIGger:DELay:BY? | Query Delayed Trigger By. Returns how the delayed trigger is set to occur. | None |
| Command | What it does | Arguments |
|---|---|---|
| CH<channel>:SCALE <volts> | Set Channel Scale. Sets the vertical gain of the specified channel. | Number: channel 1 to 4; Number: volts per division, 1 mV to 10 V with a 1x probe |
| CH<channel>:SCALE? | Query Channel Scale. Returns the vertical gain of the specified channel in volts per division. | Number: channel 1 to 4 |
| CH<channel>:OFFSET <volts> | Set Channel Offset. Sets the voltage subtracted from the channel before acquisition. | Number: channel 1 to 4; Number: offset in volts; range depends on scale and probe attenuation |
| CH<channel>:OFFSET? | Query Channel Offset. Returns the channel offset in volts. | Number: channel 1 to 4 |
| CH<channel>:POSITION <divisions> | Set Channel Position. Sets the vertical position of the channel. | Number: channel 1 to 4; Number: -5 to 5 divisions from center graticule |
| CH<channel>:POSITION? | Query Channel Position. Returns the vertical position of the channel in divisions. | Number: channel 1 to 4 |
| CH<channel>:COUPLING <coupling> | Set Channel Coupling. Sets the input coupling of the channel. | Number: channel 1 to 4; Text: AC, DC or GND |
| CH<channel>:COUPLING? | Query Channel Coupling. Returns the input coupling of the channel. | Number: channel 1 to 4 |
| CH<channel>:IMPEDANCE <impedance> | Set Channel Impedance. Sets the input impedance of the channel. | Number: channel 1 to 4; Text: FIFty,MEG |
| CH<channel>:IMPEDANCE? | Query Channel Impedance. Returns the input impedance of the channel. | Number: channel 1 to 4 |
| CH<channel>:BANDWIDTH <limit> | Set Channel Bandwidth. Sets the bandwidth limit of the channel. | Number: channel 1 to 4; Text: TWEnty,TWOfifty,FULl |
| CH<channel>:BANDWIDTH? | Query Channel Bandwidth. Returns the bandwidth limit of the channel. | Number: channel 1 to 4 |
| CH<channel>:DESKEW <nanoseconds> | Set Channel Deskew. Sets the deskew time that compensates for cable delay differences. | Number: channel 1 to 4; Number: -25.0 to 25.0 ns, resolution 1 ps |
| CH<channel>:DESKEW? | Query Channel Deskew. Returns the deskew time of the channel in nanoseconds. | Number: channel 1 to 4 |
| CH<channel>:PROBE? | Query Probe Attenuation. Returns the attenuation factor of the probe attached to the channel. | Number: channel 1 to 4 |
| CH<channel>:PROBEFUNC:EXTATTEN? | Query External Attenuation. Returns the external attenuation multiplier of the channel. | Number: channel 1 to 4 |
| CH<channel>:PROBEFUNC:EXTDBATTEN <dB> | Set External Attenuation dB. Sets the external attenuation of the channel in dB. | Number: channel 1 to 4; Number: -120.00 to 120.00 dB, default 0.00 |
| CH<channel>:PROBEFUNC:EXTDBATTEN? | Query External Attenuation dB. Returns the external attenuation of the channel in dB. | Number: channel 1 to 4 |
| Command | What it does | Arguments |
|---|---|---|
| ZOOM? | Query Zoom Settings. Returns the current vertical and horizontal positioning and scaling of the display. | None |
| ZOOM:HORIZONTAL:LOCK <target> | Set Zoom Horizontal Lock. Sets which waveforms the horizontal zoom parameters affect. | Text: ALL or LIVe |
| ZOOM:HORIZONTAL:LOCK? | Query Zoom Horizontal Lock. Returns which waveforms the horizontal zoom parameters affect. | None |
| ZOOM:HORIZONTAL:POSITION <position> | Set Zoom Horizontal Position. Sets the horizontal position of zoomed waveforms. | Number: 0 to 100 percent of waveform left of graticule |
| ZOOM:HORIZONTAL:POSITION? | Query Zoom Horizontal Position. Returns the horizontal position of zoomed waveforms. | None |
| ZOOM:HORIZONTAL:SCALE <factor> | Set Zoom Horizontal Scale. Sets the horizontal zoom expansion factor. | Number: expansion factor (less than 1 compresses, more than 1 expands) |
| ZOOM:HORIZONTAL:SCALE? | Query Zoom Horizontal Scale. Returns the horizontal zoom expansion factor. | None |
| ZOOM:STATE <state> | Set Zoom State. Turns zoom mode off, on, or to preview. | Text: OFF, ON, or PREVIEW |
| ZOOM:STATE? | Query Zoom State. Returns OFF, PREVIEW, or ON for zoom mode. | None |
| ZOOM:VERTICAL:POSITION <position> | Set Zoom Vertical Position. Sets the vertical position of zoomed waveforms. | Number: vertical position in divisions |
| ZOOM:VERTICAL:POSITION? | Query Zoom Vertical Position. Returns the vertical position of zoomed waveforms. | None |
| ZOOM:VERTICAL:SCALE <factor> | Set Zoom Vertical Scale. Sets the vertical zoom expansion or compression factor. | Number: vertical expansion or compression factor |
| ZOOM:VERTICAL:SCALE? | Query Zoom Vertical Scale. Returns the vertical zoom expansion or compression factor. | None |
| Command | What it does | Arguments |
|---|---|---|
| DATa:SOUrce <source> | Set Waveform Source. Sets the waveform source transferred by CURVe?. | Text: CH1, CH2, CH3, CH4, MATH1, MATH2, MATH3, REF1, REF2, REF3, REF4 |
| DATa:SOUrce? | Query Waveform Source. Returns the waveform source for transfers. | None |
| DATa:STARt <point> | Set Transfer Start Point. Sets the first data point transferred by CURVe?. | Number: 1 to the record length |
| DATa:STARt? | Query Transfer Start Point. Returns the first data point transferred. | None |
| DATa:STOP <point> | Set Transfer Stop Point. Sets the last data point transferred by CURVe?. | Number: 1 to the record length |
| DATa:STOP? | Query Transfer Stop Point. Returns the last data point transferred. | None |
| DATa:ENCdg <format> | Set Data Encoding. Sets the format of the waveform data transferred. | Text: ASCIi,RIBinary,RPBinary,SRIbinary,SRPbinary |
| DATa:ENCdg? | Query Data Encoding. Returns the waveform data format. | None |
| DATa:WIDth <bytes> | Set Data Width. Sets the number of bytes per data point for CURVe data. | Number: 1 or 2 bytes per data point |
| DATa:WIDth? | Query Data Width. Returns the number of bytes per data point. | None |
| DATa:DESTination <ref> | Set Data Destination. Sets the reference memory that receives CURVe data. | Text: REF1, REF2, REF3, REF4 |
| DATa:DESTination? | Query Data Destination. Returns the reference memory location for incoming data. | None |
| Command | What it does | Arguments |
|---|---|---|
| CURSor:FUNCtion <type> | Set Cursor Function. Selects and displays the cursor type. | Text: OFF, HBArs, VBArs, PAIred |
| CURSor:FUNCtion? | Query Cursor Function. Returns the selected cursor type. | None |
| CURSor? | Query All Cursor Settings. Returns all current cursor settings. | None |
| CURSor:VBArs:POSITION<x> <time> | Set Vertical Bar Cursor Position. Positions a vertical bar cursor. | Number: Cursor 1 or 2; Number: Time position in seconds relative to trigger |
| CURSor:VBArs:POSITION<x>? | Query Vertical Bar Cursor Position. Returns the position of a vertical bar cursor. | Number: Cursor 1 or 2 |
| CURSor:VBArs:DELTa? | Query Vertical Bar Cursor Delta. Returns the time between the two vertical bar cursors. | None |
| CURSor:VBArs:SELect <cursor> | Select Vertical Bar Cursor. Selects the active vertical bar cursor. | Number: 1 or 2 |
| CURSor:HBArs:POSITION<x> <volts> | Set Horizontal Bar Cursor Position. Positions a horizontal bar cursor. | Number: Cursor 1 or 2; Number: Voltage position relative to ground in volts |
| CURSor:HBArs:POSITION<x>? | Query Horizontal Bar Cursor Position. Returns the position of a horizontal bar cursor. | Number: Cursor 1 or 2 |
| CURSor:HBArs:DELTa? | Query Horizontal Bar Cursor Delta. Returns the voltage difference between the two horizontal bar cursors. | None |
| CURSor:PAIred:VDELTA? | Query Paired Cursor Time Delta. Returns the time distance between the paired cursors. | None |
| Command | What it does | Arguments |
|---|---|---|
| TRIGGER:MAIN:VIDEO:SOURCE <source> | Set Video Trigger Source. Sets the source for the main video trigger (Option 05 only). | Text: CH1, CH2, CH3, or CH4 |
| TRIGGER:MAIN:VIDEO:SOURCE? | Query Video Trigger Source. Returns the source for the main video trigger (Option 05 only). | None |
| TRIGGER:MAIN:VIDEO:STANDARD <standard> | Set Video Trigger Standard. Sets the video trigger standard (Option 05 only). | Text: 525/NTSC, 625/PAL, HDTV, or FlexFmt |
| TRIGGER:MAIN:VIDEO:STANDARD? | Query Video Trigger Standard. Returns the video trigger standard (Option 05 only). | None |
| TRIGGER:MAIN:VIDEO:SYNC <polarity> | Set Video Sync Polarity. Sets the video trigger sync polarity (Option 05 only). | Text: NEGative or POSitive |
| TRIGGER:MAIN:VIDEO:SYNC? | Query Video Sync Polarity. Returns the video trigger sync polarity (Option 05 only). | None |
| TRIGGER:MAIN:VIDEO:SYSTEM? | Query Video Trigger Class. Returns the video trigger class (Option 05 only). | None |
| TRIGGER:MAIN:VIDEO:TIME <time> | Set Video Delay Time. Sets the video trigger delay time (Option 05 only). | Number: delay time in seconds |
| TRIGGER:MAIN:VIDEO:TIME? | Query Video Delay Time. Returns the video trigger delay time (Option 05 only). | None |
| TRIGGER:STATE? | Query Trigger State. Returns the current state of the triggering system (for example ARMED, READY, TRIGGER, AUTO, SAVE). | None |
| Command | What it does | Arguments |
|---|---|---|
| HORizontal:MAIn:SCAle <seconds> | Set Main Time Per Division. Sets the time per division of the main time base. | Number: 20 s to 1 ns per division, in a 1-2-5 sequence |
| HORizontal:MAIn:SCAle? | Query Main Time Per Division. Returns the time per division of the main time base. | None |
| HORizontal:POSition <percent> | Set Horizontal Position. Positions the waveform horizontally on the display. | Number: 0 to 100 percent |
| HORizontal:POSition? | Query Horizontal Position. Returns the horizontal waveform position in percent. | None |
| HORizontal:RECORDLength <points> | Set Record Length. Sets the number of data points acquired per record. | Number: Model-dependent record lengths, for example 500, 1000, 2500, 5000, 15000, 50000 |
| HORizontal:RECORDLength? | Query Record Length. Returns the number of data points per record. | None |
| HORizontal:TRIGger:POSition <percent> | Set Trigger Position. Sets the trigger position within the waveform. | Number: 0 to 100 percent of pretrigger information |
| HORizontal:TRIGger:POSition? | Query Trigger Position. Returns the trigger position in percent. | None |
| HORizontal? | Query Horizontal Settings. Returns all horizontal settings. | None |
| Command | What it does | Arguments |
|---|---|---|
| ACQUIRE:STATE <state> | Set Acquisition State. Starts or stops waveform acquisition. | Text: ON or RUN starts acquisition; OFF or STOP stops it; a number where 0 stops and nonzero starts |
| ACQUIRE:STATE? | Query Acquisition State. Returns whether acquisition is running. | None |
| ACQUIRE:MODE <mode> | Set Acquisition Mode. Sets how the displayed value is derived from acquisition samples. | Text: SAMPLE, PEAKDETECT, HIRES, AVERAGE or ENVELOPE |
| ACQUIRE:MODE? | Query Acquisition Mode. Returns the current acquisition mode. | None |
| ACQUIRE:NUMAVG <count> | Set Number of Averages. Sets the number of acquisitions combined in an averaged waveform. | Number: 2 to 10000 |
| ACQUIRE:NUMAVG? | Query Number of Averages. Returns the number of acquisitions used for averaging. | None |
| ACQUIRE:NUMENV <count> | Set Number of Envelopes. Sets the number of acquisitions combined in an envelope waveform. | Number: 0 (continuous enveloping) to 2000 |
| ACQUIRE:NUMENV? | Query Number of Envelopes. Returns the number of acquisitions used for enveloping. | None |
| ACQUIRE:NUMACQ? | Query Number of Acquisitions. Returns the number of acquisitions since acquisition started. | None |
| Command | What it does | Arguments |
|---|---|---|
| MATH<x>? | Query Math Definition. Returns the definition for the math waveform. | None |
| MATH<x>:PROCessing <state> | Set Math Averaging. Turns waveform averaging on or off for the math waveform. | Text: ON, OFF or 1, 0 |
| MATH<x>:PROCessing? | Query Math Averaging. Returns whether math averaging is on. | None |
| MATH<x>:NUMAVg <count> | Set Math Average Count. Sets the number of times the math waveform is successively averaged. | Number: number of successive averages before an acquisition completes |
| MATH<x>:NUMAVg? | Query Math Average Count. Returns the math averaging count. | None |
| Command | What it does | Arguments |
|---|---|---|
| SELect:<wfm> <state> | Select Waveform Display. Turns a waveform display on or off and selects it. | Text: CH1 to CH4, MATH1 to MATH3, REF1 to REF4; Number: 1 or ON turns the display on and selects it; 0 or OFF turns it off |
| SELect? | Query Selected Waveform. Returns the selected waveform and the display status of all waveforms. | None |
| SELect:CONTROl <wfm> | Set Control Waveform. Sets the waveform affected by the cursor and vertical commands. | Text: CH1 to CH4, MATH1 to MATH3, REF1 to REF4 |
| SELect:CONTROl? | Query Control Waveform. Returns the waveform currently affected by cursor and vertical commands. | None |
| Command | What it does | Arguments |
|---|---|---|
| LIMit:STATE <state> | Set Limit Test State. Turns limit testing on or off. | Text: ON or OFF |
| LIMit:STATE? | Query Limit Test State. Returns whether limit testing is in effect. | None |
| LIMit:COMPARE:CH<x> <template> | Set Limit Template For Channel. Sets the reference template used for limit testing of a channel. | Number: Channel 1 to 4; Text: REF1, REF2, REF3, REF4, or no template |
| LIMit:COMPARE:CH<x>? | Query Limit Template For Channel. Returns the limit test template for a channel. | Number: Channel 1 to 4 |
| Command | What it does | Arguments |
|---|---|---|
| DESE <value> | Set Device Event Status Enable. Sets the Device Event Status Enable Register (DESER) bits. | Number: 0 to 255 |
| DESE? | Query Device Event Status Enable. Returns the Device Event Status Enable Register contents. | None |
| DESE <mask> | Set Device Event Status Enable (DESE). Sets the bits of the Device Event Status Enable Register. | Number: 0 to 255 |
| Command | What it does | Arguments |
|---|---|---|
| CURVe? | Transfer Waveform Data To Controller. Transfers the waveform data of the selected source to the controller. | None |
| CURVe <data> | Transfer Waveform Data To Oscilloscope. Transfers waveform data into the reference memory set by DATa:DESTination. | Text: Binary or ASCII waveform block data |
| Command | What it does | Arguments |
|---|---|---|
| WAVFRM? | Query Waveform Data. Returns WFMPRE? and CURVE? data for the waveform selected by DATA:SOURCE. | None |
| Command | What it does | Arguments |
|---|---|---|
| ZOOm <mode> | Reset Zoom. Resets the zoom transforms to default values. | Text: RESET,RESETLive |
| Command | What it does | Arguments |
|---|---|---|
| BUSY? | Query Busy State. Returns whether the instrument is busy processing an extended-time command. | None |
| Command | What it does | Arguments |
|---|---|---|
| EVENT? | Query Event Number. Reads and removes the next event code from the Event Queue (read *ESR? first). | None |
| Command | What it does | Arguments |
|---|---|---|
| EVMSG? | Query Event Message. Reads and removes the next event with its text description from the Event Queue. | None |
| Command | What it does | Arguments |
|---|---|---|
| ALLEV? | Query All Events. Returns all event numbers and descriptions in the Event Queue and clears them. | None |
| Command | What it does | Arguments |
|---|---|---|
| FACtory | Reset To Factory. Resets the oscilloscope to its factory default settings. | None |
| Command | What it does | Arguments |
|---|---|---|
| EVQty? | Query Event Queue Count. Returns the number of event codes in the event queue. | None |
| Command | What it does | Arguments |
|---|---|---|
| AUTOSET | Autoset. Adjusts vertical, horizontal and trigger controls to stabilize the displayed waveform. | None |
| Command | What it does | Arguments |
|---|---|---|
| *TRG | Execute Group Trigger. Executes the commands defined by *DDT. | None |
| *TST? | Self Test Query. Tests the GPIB interface and returns 0. | None |
| *WAI | Wait To Continue. Prevents further commands until all pending operations finish. | None |
| *ESR? | Query Standard Event Status Register. Returns the Standard Event Status Register contents and clears it. | None |
| *ESE <value> | Set Event Status Enable. Sets the Event Status Enable Register (ESER) bits. | Number: 0 to 255 |
| *ESE? | Query Event Status Enable. Returns the Event Status Enable Register contents. | None |
| *SRE <value> | Set Service Request Enable. Sets the Service Request Enable Register (SRER) bits. | Number: 0 to 255 |
| *SRE? | Query Service Request Enable. Returns the Service Request Enable Register contents. | None |
| *STB? | Query Status Byte. Returns the Status Byte Register contents (MSS bit in bit 6). | None |
| *OPC | Set Operation Complete. Sets the OPC bit in the SESR when pending operations complete. | None |
| *OPC? | Query Operation Complete. Returns 1 to the output queue once pending operations complete. | None |
| *PSC <flag> | Set Power-On Status Clear. Sets whether enable registers are reset at power on (1) or kept (0). | Number: 0 or 1 |
| *RST | Reset Instrument. Returns the instrument to its factory default settings. | None |
| *OPT? | Query Options. Returns the list of options installed in the oscilloscope. | None |
| *IDN? | Identify. Returns the instrument identification string. | None |
| *CLS | Clear Status. Clears the event queue and the status registers. | None |
| *ESE <mask> | Set Event Status Enable (*ESE). Sets the bits of the Event Status Enable Register. | Number: 0 to 255 |
This reference is generated from TestFlow's instrument library, which is drafted from Tektronix's programming documentation for the TDS724A and checked when the agent runs it. The library marks this instrument as supporting *OPC? for operation-complete synchronisation. Ranges, timing, and option-dependent commands are defined by Tektronix's programming manual: check it before you rely on an edge case. Last updated November 17, 2026.
Yes. The Tektronix TDS724A accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 237 SCPI commands for it: 133 queries that read values or state, and 104 settings and actions.
Install PyVISA and a VISA backend, find the instrument's address with ResourceManager().list_resources(), open it, then send commands with write() and read values with query(). The example on this page sends *IDN?, AUTOSET and MEASUrement:REFLevel:PERCent:HIGH?.
MEASUrement:REFLevel:PERCent:HIGH? (query percent high reference). Returns the percent high reference level. The full list of queries is in the command reference on this page, grouped by subsystem.
Yes. TestFlow is an AI agent for electronics testing: you describe the test, and it builds the automation from this command library, runs it on the Tektronix TDS724A through the TestFlow desktop app, and writes the report from the measured results.
Describe the test. TestFlow builds the workflow, runs it on your instruments, and writes the report. See it on a bench like yours.