Logic Analyzer · SCPI command reference

Keysight 1661CS, 1662CS, and 1663CS SCPI commands

The Keysight 1661CS, 1662CS, and 1663CS logic analyzer is controlled remotely with SCPI commands. TestFlow's instrument library holds 290 commands for it, 102 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 1661CS on a real bench.

Commands
290
Queries
102
Subsystems
32
Models covered
3

Run this on your bench

Describe the test; TestFlow's agent uses this command set to drive your Keysight 1661CS, 1662CS, or 1663CS and writes the report from the measured results.

Get started

Control the Keysight 1661CS from Python

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 Keysight 1661CS's VISA address

# Paste the address of your Keysight 1661CS (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(":MMEMory:AUToload OFF")  # Disk Autoload Off
print(inst.query(":MEASure:SOURce CHANnel1;FREQuency?"))  # Scope Measure Frequency

inst.close()

Run this on your bench

Describe the test; TestFlow's agent uses this command set to drive your Keysight 1661CS, 1662CS, or 1663CS and writes the report from the measured results.

Get started

Run a 1661CS test without writing code

Describe the test in a sentence, for example “disk autoload off on the 1661CS, then scope measure frequency 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.

Get started

SCPI command reference

290 commands in 32 groups. A ? marks a query that returns a value. Placeholders in angle brackets take the listed values. The 1661CS, 1662CS, and 1663CS share this command set in TestFlow's library.

MACH subsystem (140)

CommandWhat it doesArguments
:MACHine<Machine>:TYPE <Type>Set Analyzer Type. Sets analyzer (machine) 1 or 2 to state, timing, SPA (system performance analysis) or off; only one timing analyzer allowed.Number: 1,2; Text: OFF,STATe,TIMing,SPA
:MACHine<Machine>:TYPE?Read Analyzer Type. Returns the analyzer type (OFF, STATe or TIMing).Number: 1,2
:MACHine<Machine>:NAME '<Name>'Set Analyzer Name. Assigns a name of up to 10 characters to the analyzer.Number: 1,2; Text
:MACHine<Machine>:NAME?Read Analyzer Name. Returns the analyzer name.Number: 1,2
:MACHine<Machine>:ASSign <Pod_List>Assign Pods. Assigns pods (in pairs) to the analyzer; give NONE or a comma list of pod numbers (1661CS has 6 pods / 102 channels: pods 1-6).Number: 1,2; Text: NONE,1,2,3,4,5,6
:MACHine<Machine>:ASSign?Read Assigned Pods. Returns the pods assigned to the analyzer.Number: 1,2
:MACHine<Machine>:ARM <Arm_Source>Set Analyzer Arm. Sets the arming source of the analyzer (RUN disables arming).Number: 1,2; Text: RUN,INTermodule,MACHine1,MACHine2
:MACHine<Machine>:ARM?Read Analyzer Arm. Returns the arming source of the analyzer.Number: 1,2
:MACHine<Machine>:LEVelarm <Level>Set Arm Level. Sets the sequence level that receives the arm from the Intermodule bus or other machine.Number: 1,2; Number: 1,11
:MACHine<Machine>:RESource <Terms>Assign Resource Terms. Assigns resource terms (comma list) to the analyzer.Number: 1,2; Text: A,B,C,D,E,F,G,H,I,J,TIMer1,TIMer2,RANGe1,RANGe2,GLEDge1,GLEDge2
:MACHine<Machine>:REName <Term>,'<New_Name>'Rename Resource Term. Renames a resource term with a name of up to 8 characters.Number: 1,2; Text: A,B,C,D,E,F,G,H,I,J,RANGe1,RANGe2,TIMer1,TIMer2,GLEDge1,GLEDge2; Text
:MACHine<Machine>:SFORmat:CLOCk<Pod> <Clock_Mode>State Set Clock Mode. Sets the clocking mode for a pod assigned to the state analyzer (1661CS has 6 pods / 102 channels: pods 1-6).Number: 1,2; Number: 1,2,3,4,5,6; Text: MASTer,SLAVe,DEMultiplex
:MACHine<Machine>:SFORmat:LABel '<Label>',<Label_Spec>State Set Label. Creates/modifies a state label: spec = [polarity,]clock_bits,upper_bits,lower_bits[,...] e.g. POSitive,0,127,40312 (max 32 channels).Number: 1,2; Text; Text
:MACHine<Machine>:SFORmat:LABel? '<Label>'State Read Label. Returns the polarity and channel assignment of the state label.Number: 1,2; Text
:MACHine<Machine>:SFORmat:REMove '<Label>'State Remove Label. Deletes the named state label.Number: 1,2; Text
:MACHine<Machine>:SFORmat:REMove ALLState Remove All Labels. Deletes all state labels.Number: 1,2
:MACHine<Machine>:SFORmat:MASTer <Clock_ID>,<Clock_Edge>State Set Master Clock. Specifies the master clock edge for one clock (J-P); edges are ORed.Number: 1,2; Text: J,K,L,M,N,P; Text: OFF,RISing,FALLing,BOTH
:MACHine<Machine>:SFORmat:SLAVe <Clock_ID>,<Clock_Edge>State Set Slave Clock. Specifies the slave clock edge for one clock (used in Slave and Demultiplex modes).Number: 1,2; Text: J,K,L,M,N,P; Text: OFF,RISing,FALLing,BOTH
:MACHine<Machine>:SFORmat:MODE <Acq_Mode>State Set Mode. Selects full-channel (4K) or half-channel deep memory (8K) state acquisition.Number: 1,2; Text: FULL,DEEPmemory
:MACHine<Machine>:SFORmat:MODE?State Read Mode. Returns the state acquisition mode.Number: 1,2
:MACHine<Machine>:SFORmat:SETHold <Pod>,<Setup_Hold>State Set Setup Hold. Sets the setup/hold index for a pod (e.g. one clock one edge: 0=3.5/0.0 ns ... 7=0.0/3.5 ns).Number: 1,2; Number: 1,2,3,4,5,6; Number: 0,1,2,3,4,5,6,7,8,9
:MACHine<Machine>:SFORmat:THReshold<Pod> <Preset>State Set Threshold Preset. Sets the pod threshold to TTL (+1.6 V) or ECL (-1.3 V).Number: 1,2; Number: 1,2,3,4,5,6; Text: TTL,ECL
:MACHine<Machine>:SFORmat:THReshold<Pod> <Voltage>State Set Threshold Voltage. Sets the pod threshold voltage from -6.00 V to +6.00 V in 0.05 V steps.Number: 1,2; Number: 1,2,3,4,5,6; Number: -6.0,6.0
:MACHine<Machine>:SFORmat:THReshold<Pod>?State Read Threshold. Returns the threshold voltage of the pod.Number: 1,2; Number: 1,2,3,4,5,6
:MACHine<Machine>:STRigger:ACQuisition <Mode>State Trig Acquisition. Sets the state analyzer acquisition mode.Number: 1,2; Text: AUTOmatic,MANual
:MACHine<Machine>:STRigger:SEQuence <Levels>,<Trigger_Level>State Trig Sequence. Redefines the trace sequence with 2-12 levels and sets the trigger level (1 to levels-1).Number: 1,2; Number: 2,12; Number
:MACHine<Machine>:STRigger:SEQuence?State Trig Read Sequence. Returns the number of sequence levels and the trigger level.Number: 1,2
:MACHine1:STRigger:FIND<Level> '<Qualifier>',<Occurrence>State Trig Find M1. Machine 1: sets the proceed (or trigger) qualifier and occurrence count for a sequence level. Qualifier string, e.g. 'ANYSTATE', 'NOSTATE', 'A', '((A OR B) AND G)', 'IN_RANGE1'.Number; Text; Number: 1,1048575
:MACHine2:STRigger:FIND<Level> '<Qualifier>',<Occurrence>State Trig Find M2. Machine 2: sets the proceed (or trigger) qualifier and occurrence count for a sequence level. Qualifier string, e.g. 'ANYSTATE', 'NOSTATE', 'A', '((A OR B) AND G)', 'IN_RANGE1'.Number; Text; Number: 1,1048575
:MACHine<Machine>:STRigger:FIND<Level>?State Trig Read Find. Returns the proceed qualifier and occurrence for the level.Number: 1,2; Number
:MACHine1:STRigger:BRANch<Level> '<Qualifier>',<To_Level>State Trig Branch M1. Machine 1: sets the branch qualifier of a sequence level and the level to jump to. Qualifier string, e.g. 'ANYSTATE', 'NOSTATE', 'A', '((A OR B) AND G)', 'IN_RANGE1'.Number; Text; Number
:MACHine2:STRigger:BRANch<Level> '<Qualifier>',<To_Level>State Trig Branch M2. Machine 2: sets the branch qualifier of a sequence level and the level to jump to. Qualifier string, e.g. 'ANYSTATE', 'NOSTATE', 'A', '((A OR B) AND G)', 'IN_RANGE1'.Number; Text; Number
:MACHine<Machine>:STRigger:STORe<Level> '<Qualifier>'State Trig Store. Sets the store qualifier for a sequence level. Qualifier string, e.g. 'ANYSTATE', 'NOSTATE', 'A', '((A OR B) AND G)', 'IN_RANGE1'.Number: 1,2; Number; Text
:MACHine1:STRigger:TERM <Term>,'<Label>','<Pattern>'State Trig Term M1. Machine 1: sets the pattern of a recognizer term (A-J) for one label. Pattern string, e.g. '#HFF', '#B01X1', '#Q17' or decimal '255' (X = don't care).Text: A,B,C,D,E,F,G,H,I,J; Text; Text
:MACHine2:STRigger:TERM <Term>,'<Label>','<Pattern>'State Trig Term M2. Machine 2: sets the pattern of a recognizer term (A-J) for one label. Pattern string, e.g. '#HFF', '#B01X1', '#Q17' or decimal '255' (X = don't care).Text: A,B,C,D,E,F,G,H,I,J; Text; Text
:MACHine<Machine>:STRigger:TERM? <Term>,'<Label>'State Trig Read Term. Returns the term pattern for the label.Number: 1,2; Text: A,B,C,D,E,F,G,H,I,J; Text
:MACHine1:STRigger:RANGe '<Label>','<Start_Pattern>','<Stop_Pattern>'State Trig Range M1. Machine 1: defines the range recognizer on a label (no don't cares, e.g. '127','255').Text; Text; Text
:MACHine2:STRigger:RANGe '<Label>','<Start_Pattern>','<Stop_Pattern>'State Trig Range M2. Machine 2: defines the range recognizer on a label (no don't cares, e.g. '127','255').Text; Text; Text
:MACHine<Machine>:STRigger:TIMER<Timer> <Time>State Trig Timer. Sets the timer value from 400 ns to 500 s.Number: 1,2; Number: 1,2; Number: 400E-9,500
:MACHine<Machine>:STRigger:TIMER<Timer>?State Trig Read Timer. Returns the timer value in seconds.Number: 1,2; Number: 1,2
:MACHine<Machine>:STRigger:CLEar <Scope>State Trig Clear. Clears the state trigger settings, only the sequence levels, or only the resource term patterns.Number: 1,2; Text: All,SEQuence,RESource
:MACHine<Machine>:STRigger:TAG OFFState Tag Off. Turns count tagging off.Number: 1,2
:MACHine<Machine>:STRigger:TAG TIMEState Tag Time. Turns time tagging on (needed for mixed mode and time markers).Number: 1,2
:MACHine<Machine>:STRigger:TAG '<Qualifier>'State Tag States. Turns state tagging on, counting states matching the qualifier.Number: 1,2; Text
:MACHine<Machine>:STRigger:TAG?State Read Tag. Returns the count tag setting (OFF, TIME or qualifier).Number: 1,2
:MACHine<Machine>:STRigger:TPOSition <Position>State Trig Position. Sets the trigger position in the trace.Number: 1,2; Text: STARt,CENTer,END
:MACHine<Machine>:STRigger:TPOSition POSTstore,<Percent>State Trig Position Poststore. Sets the trigger position as a poststore percentage (0-100).Number: 1,2; Number: 0,100
:MACHine<Machine>:STRigger:TPOSition?State Trig Read Position. Returns the trigger position setting.Number: 1,2
:MACHine<Machine>:SLISt:DATA? <Line>,'<Label>'State List Data. Returns the listing value of a label at a line number (relative to trigger) in the displayed base.Number: 1,2; Number: -8191,8191; Text
:MACHine1:SLISt:COLumn <Column>,'<Label>',<Base>State List Column M1. Machine 1: assigns a label and number base to a listing column (label 'TAGS' uses ABSolute/RELative).Number: 1,61; Text; Text: BINary,HEXadecimal,OCTal,DECimal,TWOS,ASCii,SYMBol,IASSembler
:MACHine2:SLISt:COLumn <Column>,'<Label>',<Base>State List Column M2. Machine 2: assigns a label and number base to a listing column (label 'TAGS' uses ABSolute/RELative).Number: 1,61; Text; Text: BINary,HEXadecimal,OCTal,DECimal,TWOS,ASCii,SYMBol,IASSembler
:MACHine<Machine>:SLISt:COLumn? <Column>State List Read Column. Returns the label and base assigned to the column.Number: 1,2; Number: 1,61
:MACHine<Machine>:SLISt:LINE <Line>State List Line. Scrolls the listing so the line (relative to trigger) is at center screen.Number: 1,2; Number: -8191,8191
:MACHine<Machine>:SLISt:LINE?State List Read Line. Returns the line number at center screen.Number: 1,2
:MACHine<Machine>:SLISt:MMODe <Mode>State List Marker Mode. Selects the listing marker mode.Number: 1,2; Text: OFF,PATTern,STATe,TIME,MSTats
:MACHine<Machine>:SLISt:MMODe?State List Read Marker Mode. Returns the listing marker mode.Number: 1,2
:MACHine<Machine>:SLISt:XPATtern '<Label>','<Pattern>'State List X Pattern. Sets the X marker search pattern for a label. Pattern string, e.g. '#HFF', '#B01X1', '#Q17' or decimal '255' (X = don't care).Number: 1,2; Text; Text
:MACHine<Machine>:SLISt:OPATtern '<Label>','<Pattern>'State List O Pattern. Sets the O marker search pattern for a label. Pattern string, e.g. '#HFF', '#B01X1', '#Q17' or decimal '255' (X = don't care).Number: 1,2; Text; Text
:MACHine<Machine>:SLISt:XSEarch <Occurrence>,<Origin>State List X Search. Sets the X marker search occurrence relative to the trigger or start of data.Number: 1,2; Number: -8191,8191; Text: TRIGger,STARt
:MACHine<Machine>:SLISt:OSEarch <Occurrence>,<Origin>State List O Search. Sets the O marker search occurrence relative to the trigger, start of data or X marker.Number: 1,2; Number: -8191,8191; Text: TRIGger,STARt,XMARker
:MACHine<Machine>:SLISt:XSTate?State List Read X State. Returns the listing line of the X marker (32767 if invalid).Number: 1,2
:MACHine<Machine>:SLISt:OSTate?State List Read O State. Returns the listing line of the O marker (32767 if invalid).Number: 1,2
:MACHine<Machine>:SLISt:XOTime?State List Read XO Time. Returns the time (or states) from the X to the O marker (9.9E37/32767 if invalid).Number: 1,2
:MACHine<Machine>:SLISt:TAVerage?State List Read Time Average. Returns the average X-to-O time over valid runs (9.9E37 if none).Number: 1,2
:MACHine<Machine>:SLISt:VRUNs?State List Read Valid Runs. Returns the number of valid runs and total runs.Number: 1,2
:MACHine<Machine>:SLISt:RUNTil <Run_Until_Spec>State List Run Until. Sets the repetitive-run stop condition, e.g. GT,800.0E-6 or INRange,1E-6,2E-6 or EQUal (compare).Number: 1,2; Text: OFF,EQUal,NEQual
:MACHine<Machine>:COMPare:COPYCompare Copy. Copies the acquired state listing into the compare reference image.Number: 1,2
:MACHine<Machine>:COMPare:SETCompare Set Dont Care. Sets every state in the reference listing to don't care.Number: 1,2
:MACHine<Machine>:COMPare:CLEarCompare Clear. Replaces all don't cares in the reference listing with zeros (or undoes SET).Number: 1,2
:MACHine<Machine>:COMPare:RANGe FULLCompare Range Full. Compares the full acquisition memory.Number: 1,2
:MACHine<Machine>:COMPare:RANGe PARTial,<Start_Line>,<Stop_Line>Compare Range Partial. Limits the comparison to a range of lines.Number: 1,2; Number: -8191,8191; Number: -8191,8191
:MACHine<Machine>:COMPare:RANGe?Compare Read Range. Returns the compare range (FULL or PARTial,start,stop).Number: 1,2
:MACHine<Machine>:COMPare:CMASk '<Label>','<Care_Spec>'Compare Channel Mask. Sets the compare channel mask for a label: '*' = compare, '.' = don't compare (e.g. '*.**..**').Number: 1,2; Text; Text
:MACHine<Machine>:COMPare:DATA? '<Label>',<Line>Compare Read Data. Returns the reference image value of a label at a line.Number: 1,2; Text; Number: -8191,8191
:MACHine<Machine>:COMPare:FIND? <Occurrence>Compare Find Difference. Returns the line number of the Nth difference within the compare range.Number: 1,2; Number: 1,8192
:MACHine<Machine>:COMPare:RUNTil <Run_Until_Spec>Compare Run Until. Sets the repetitive-run stop condition (EQUal/NEQual compare the acquisition with the reference image).Number: 1,2; Text: OFF,EQUal,NEQual
:MACHine<Machine>:TFORmat:ACQMode <Mode> <Size>Timing Set Acq Mode. Sets the timing acquisition mode (conventional 250/500 MHz, transitional 125/250 MHz; full/half channel).Number: 1,2; Text: TRANSitional,CONVentional; Text: FULL,HALF
:MACHine<Machine>:TFORmat:ACQMode GLITchTiming Set Acq Glitch. Sets the timing analyzer to glitch acquisition mode.Number: 1,2
:MACHine<Machine>:TFORmat:ACQMode?Timing Read Acq Mode. Returns the timing acquisition mode.Number: 1,2
:MACHine<Machine>:TFORmat:LABel '<Label>',<Label_Spec>Timing Set Label. Creates/modifies a timing label: spec = [polarity,]clock_bits,upper_bits,lower_bits[,...] e.g. POSitive,0,127,40312.Number: 1,2; Text; Text
:MACHine<Machine>:TFORmat:LABel? '<Label>'Timing Read Label. Returns the polarity and channel assignment of the timing label.Number: 1,2; Text
:MACHine<Machine>:TFORmat:REMove '<Label>'Timing Remove Label. Deletes the named timing label.Number: 1,2; Text
:MACHine<Machine>:TFORmat:REMove ALLTiming Remove All Labels. Deletes all timing labels.Number: 1,2
:MACHine<Machine>:TFORmat:THReshold<Pod> <Preset>Timing Set Threshold Preset. Sets the pod threshold to TTL (+1.6 V) or ECL (-1.3 V) (1661CS has 6 pods / 102 channels: pods 1-6).Number: 1,2; Number: 1,2,3,4,5,6; Text: TTL,ECL
:MACHine<Machine>:TFORmat:THReshold<Pod> <Voltage>Timing Set Threshold Voltage. Sets the pod threshold voltage from -6.00 V to +6.00 V.Number: 1,2; Number: 1,2,3,4,5,6; Number: -6.0,6.0
:MACHine<Machine>:TFORmat:THReshold<Pod>?Timing Read Threshold. Returns the pod threshold voltage.Number: 1,2; Number: 1,2,3,4,5,6
:MACHine<Machine>:TTRigger:ACQuisition <Mode>Timing Trig Acquisition. Sets the timing analyzer acquisition mode.Number: 1,2; Text: AUTOmatic,MANual
:MACHine<Machine>:TTRigger:SEQuence <Levels>Timing Trig Sequence. Redefines the timing trace sequence with 1-10 levels.Number: 1,2; Number: 1,10
:MACHine<Machine>:TTRigger:SEQuence?Timing Trig Read Sequence. Returns the timing sequence specification.Number: 1,2
:MACHine1:TTRigger:FIND<Level> '<Qualifier>',<Condition>Timing Trig Find M1. Machine 1: sets the time qualifier of a level; condition = GT,<s> | LT,<s> | OCCurrence,<n> (e.g. GT,10E-6).Number; Text; Text
:MACHine2:TTRigger:FIND<Level> '<Qualifier>',<Condition>Timing Trig Find M2. Machine 2: sets the time qualifier of a level; condition = GT,<s> | LT,<s> | OCCurrence,<n> (e.g. GT,10E-6).Number; Text; Text
:MACHine<Machine>:TTRigger:FIND<Level>?Timing Trig Read Find. Returns the time qualifier specification for the level.Number: 1,2; Number
:MACHine1:TTRigger:BRANch<Level> '<Qualifier>',<To_Level>Timing Trig Branch M1. Machine 1: sets the branch qualifier of a timing sequence level and its destination level.Number; Text; Number
:MACHine2:TTRigger:BRANch<Level> '<Qualifier>',<To_Level>Timing Trig Branch M2. Machine 2: sets the branch qualifier of a timing sequence level and its destination level.Number; Text; Number
:MACHine1:TTRigger:TERM <Term>,'<Label>','<Pattern>'Timing Trig Term M1. Machine 1: sets the pattern of a recognizer term (A-J) for one label. Pattern string, e.g. '#HFF', '#B01X1', '#Q17' or decimal '255' (X = don't care).Text: A,B,C,D,E,F,G,H,I,J; Text; Text
:MACHine2:TTRigger:TERM <Term>,'<Label>','<Pattern>'Timing Trig Term M2. Machine 2: sets the pattern of a recognizer term (A-J) for one label. Pattern string, e.g. '#HFF', '#B01X1', '#Q17' or decimal '255' (X = don't care).Text: A,B,C,D,E,F,G,H,I,J; Text; Text
:MACHine1:TTRigger:RANGe '<Label>','<Start_Pattern>','<Stop_Pattern>'Timing Trig Range M1. Machine 1: defines the timing range recognizer on a label.Text; Text; Text
:MACHine2:TTRigger:RANGe '<Label>','<Start_Pattern>','<Stop_Pattern>'Timing Trig Range M2. Machine 2: defines the timing range recognizer on a label.Text; Text; Text
:MACHine1:TTRigger:GLEDge<Number> '<Label>','<Glitch_Edge_Spec>'Timing Trig Glitch Edge M1. Machine 1: sets glitch/edge term 1 or 2; spec has one char per label bit: R, F, E (either), G (glitch), . (don't care).Number: 1,2; Text; Text
:MACHine2:TTRigger:GLEDge<Number> '<Label>','<Glitch_Edge_Spec>'Timing Trig Glitch Edge M2. Machine 2: sets glitch/edge term 1 or 2; spec has one char per label bit: R, F, E (either), G (glitch), . (don't care).Number: 1,2; Text; Text
:MACHine<Machine>:TTRigger:TIMER<Timer> <Time>Timing Trig Timer. Sets the timer value from 400 ns to 500 s.Number: 1,2; Number: 1,2; Number: 400E-9,500
:MACHine<Machine>:TTRigger:CLEar <Scope>Timing Trig Clear. Clears the timing trigger settings, only sequence levels, or only resource patterns.Number: 1,2; Text: All,SEQuence,RESource
:MACHine<Machine>:TTRigger:SPERiod <Sample_Period>Timing Set Sample Period. Sets the timing sample period (2 ns to 8 ms depending on acquisition mode).Number: 1,2; Number: 2E-9,8E-3
:MACHine<Machine>:TTRigger:SPERiod?Timing Read Sample Period. Returns the timing sample period.Number: 1,2
:MACHine<Machine>:TTRigger:TPOSition <Position>Timing Trig Position. Sets the timing trigger position.Number: 1,2; Text: STARt,CENTer,END
:MACHine<Machine>:TTRigger:TPOSition DELay,<Delay>Timing Trig Position Delay. Sets the trigger position as a delay time in seconds.Number: 1,2; Number
:MACHine<Machine>:TTRigger:TPOSition POSTstore,<Percent>Timing Trig Position Poststore. Sets the trigger position as poststore percentage.Number: 1,2; Number: 0,100
:MACHine<Machine>:TTRigger:TPOSition?Timing Trig Read Position. Returns the timing trigger position.Number: 1,2
:MACHine<Machine>:TWAVeform:INSert '<Label>',<Bit_ID>Timing Wave Insert. Adds a label to the waveform display: one bit (0-31), OVERlay (composite) or ALL bits.Number: 1,2; Text; Text: ALL,OVERlay,0-31
:MACHine<Machine>:TWAVeform:REMoveTiming Wave Remove. Deletes all waveforms from the display.Number: 1,2
:MACHine<Machine>:TWAVeform:RANGe <Time>Timing Wave Range. Sets the full-screen time (10 x s/div) from 10 ns to 10 ks.Number: 1,2; Number: 10E-9,10E3
:MACHine<Machine>:TWAVeform:RANGe?Timing Wave Read Range. Returns the full-screen time.Number: 1,2
:MACHine<Machine>:TWAVeform:DELay <Delay>Timing Wave Delay. Sets the time from trigger to display center (-2500 s to +2500 s).Number: 1,2; Number: -2500,2500
:MACHine<Machine>:TWAVeform:DELay?Timing Wave Read Delay. Returns the waveform delay.Number: 1,2
:MACHine<Machine>:TWAVeform:ACCumulate ONTiming Wave Accumulate On. Displays subsequent waveforms over previous ones.Number: 1,2
:MACHine<Machine>:TWAVeform:ACCumulate OFFTiming Wave Accumulate Off. Erases the display between runs.Number: 1,2
:MACHine<Machine>:TWAVeform:CENTer <Marker>Timing Wave Center. Centers the waveform display about the specified marker.Number: 1,2; Text: X,O,XO,TRIGger
:MACHine<Machine>:TWAVeform:MMODe <Mode>Timing Wave Marker Mode. Selects the waveform marker mode.Number: 1,2; Text: OFF,PATTern,TIME,MSTats
:MACHine<Machine>:TWAVeform:MMODe?Timing Wave Read Marker Mode. Returns the waveform marker mode.Number: 1,2
:MACHine<Machine>:TWAVeform:XTIMe <Time>Timing Wave X Time. Positions the X marker in time (marker mode TIME).Number: 1,2; Number: -2500,2500
:MACHine<Machine>:TWAVeform:OTIMe <Time>Timing Wave O Time. Positions the O marker in time (marker mode TIME).Number: 1,2; Number: -2500,2500
:MACHine<Machine>:TWAVeform:XTIMe?Timing Wave Read X Time. Returns the X marker time (9.9E37 if invalid).Number: 1,2
:MACHine<Machine>:TWAVeform:OTIMe?Timing Wave Read O Time. Returns the O marker time (9.9E37 if invalid).Number: 1,2
:MACHine<Machine>:TWAVeform:XOTime?Timing Wave Read XO Time. Returns the time from the X to the O marker (9.9E37 if invalid).Number: 1,2
:MACHine<Machine>:TWAVeform:XPATtern '<Label>','<Pattern>'Timing Wave X Pattern. Sets the X marker search pattern for a label. Pattern string, e.g. '#HFF', '#B01X1', '#Q17' or decimal '255' (X = don't care).Number: 1,2; Text; Text
:MACHine<Machine>:TWAVeform:OPATtern '<Label>','<Pattern>'Timing Wave O Pattern. Sets the O marker search pattern for a label. Pattern string, e.g. '#HFF', '#B01X1', '#Q17' or decimal '255' (X = don't care).Number: 1,2; Text; Text
:MACHine<Machine>:TWAVeform:XSEarch <Occurrence>,<Origin>Timing Wave X Search. Sets the X marker search occurrence and origin.Number: 1,2; Number: -8192,8192; Text: TRIGger,STARt
:MACHine<Machine>:TWAVeform:OSEarch <Occurrence>,<Origin>Timing Wave O Search. Sets the O marker search occurrence and origin.Number: 1,2; Number: -8192,8192; Text: STARt,TRIGger,XMARker
:MACHine<Machine>:TWAVeform:TAVerage?Timing Wave Read Time Average. Returns the average X-to-O time (9.9E37 if invalid).Number: 1,2
:MACHine<Machine>:TWAVeform:VRUNs?Timing Wave Read Valid Runs. Returns the number of valid runs and total runs.Number: 1,2
:MACHine<Machine>:TWAVeform:RUNTil <Run_Until_Spec>Timing Wave Run Until. Sets the X-O time stop condition for repetitive runs, e.g. GT,800E-9 or INRange,1E-6,2E-6.Number: 1,2; Text: OFF
:MACHine<Machine>:TLISt:DATA? <Line>,'<Label>'Timing List Data. Returns the timing listing value of a label at a line number.Number: 1,2; Number: -8191,8191; Text
:MACHine<Machine>:TLISt:LINE <Line>Timing List Line. Scrolls the timing listing to the line at center screen.Number: 1,2; Number: -8191,8191
:MACHine<Machine>:WLISt:DELay <Delay>Mixed Wave Delay. Sets the mixed-mode waveform delay from trigger to center (-2500 s to +2500 s).Number: 1,2; Number: -2500,2500
:MACHine<Machine>:WLISt:RANGe <Time>Mixed Wave Range. Sets the mixed-mode full-screen time (10 ns to 10 ks).Number: 1,2; Number: 10E-9,10E3
:MACHine<Machine>:WLISt:XOTime?Mixed Read XO Time. Returns the time from the X to the O marker (9.9E37 if invalid).Number: 1,2
:MACHine<Machine>:SYMBol:BASE '<Label>',<Base>Symbol Base. Sets the base used to display symbols for a label.Number: 1,2; Text; Text: BINary,HEXadecimal,OCTal,DECimal,ASCii
:MACHine1:SYMBol:PATTern '<Label>','<Symbol_Name>','<Pattern>'Symbol Pattern M1. Machine 1: creates a pattern symbol (name up to 16 chars) for a label, e.g. 'STAT','MEM_RD','#H01XX'.Text; Text; Text
:MACHine2:SYMBol:PATTern '<Label>','<Symbol_Name>','<Pattern>'Symbol Pattern M2. Machine 2: creates a pattern symbol (name up to 16 chars) for a label, e.g. 'STAT','MEM_RD','#H01XX'.Text; Text; Text
:MACHine<Machine>:SYMBol:REMoveSymbol Remove All. Deletes all symbols from the machine.Number: 1,2

Mass memory (MMEMory) (15)

CommandWhat it doesArguments
:MMEMory:AUToload OFFDisk Autoload Off. Disables the autoload feature.None
:MMEMory:AUToload '<File_Name>',<Msus>Disk Autoload File. Enables autoload of the named configuration file at the next power-on.Text; Text: INTernal0,INTernal1
:MMEMory:CATalog? <Msus>Read Disk Catalog. Returns the directory of the disk as block data (51 characters per file).Text: INTernal0,INTernal1
:MMEMory:CD '<Directory>',<Msus>Disk Change Directory. Changes the working directory (up to 64 characters, '..' = parent) on a DOS disk.Text; Text: INTernal0,INTernal1
:MMEMory:MKDir '<Directory>',<Msus>Disk Make Directory. Creates a directory on the hard disk or a DOS flexible disk.Text; Text: INTernal0,INTernal1
:MMEMory:PWD? <Msus>Read Disk Working Directory. Returns the present working directory for the specified drive.Text: INTernal0,INTernal1
:MMEMory:PURGe '<File_Name>',<Msus>Disk Purge File. Permanently deletes a file from the disk.Text; Text: INTernal0,INTernal1
:MMEMory:INITialize <Format>,<Msus>Disk Initialize. Formats the disk in LIF or DOS format, erasing all data.Text: LIF,DOS; Text: INTernal0,INTernal1
:MMEMory:MSI <Msus>Set Mass Storage. Selects the default mass storage device (INTernal0 = hard disk, INTernal1 = flexible disk).Text: INTernal0,INTernal1
:MMEMory:MSI?Read Mass Storage. Returns the current default mass storage device.None
:MMEMory:LOAD:CONFig '<File_Name>',<Msus>Load Config. Loads a configuration file into all modules and the system (Load All).Text; Text: INTernal0,INTernal1
:MMEMory:LOAD:CONFig '<File_Name>',<Msus>,<Module>Load Config Module. Loads a configuration file into one module (0=system, 1=logic analyzer, 2=oscilloscope).Text; Text: INTernal0,INTernal1; Number: 0,1,2
:MMEMory:LOAD:IASSembler '<IA_File_Name>',<Msus>,<Machine>Load Inverse Assembler. Loads an inverse assembler file into state analyzer machine 1 or 2.Text; Text: INTernal0,INTernal1; Number: 1,2
:MMEMory:STORe:CONFig '<File_Name>',<Msus>,'<Description>'Store Config. Stores the system and all module configurations to a disk file with a description (up to 32 characters).Text; Text: INTernal0,INTernal1; Text
:MMEMory:STORe:CONFig '<File_Name>','<Description>',<Module>Store Config Module. Stores the configuration of one module (0=system, 1=logic analyzer, 2=oscilloscope) to the current disk.Text; Text; Number: 0,1,2

System (SYSTem) (12)

CommandWhat it doesArguments
:SYSTem:HEADer ONSystem Header On. Includes command headers in query responses.None
:SYSTem:HEADer OFFSystem Header Off. Omits command headers from query responses (recommended when reading numeric values).None
:SYSTem:LONGform ONSystem Longform On. Returns query headers and alpha arguments in long form.None
:SYSTem:LONGform OFFSystem Longform Off. Returns query headers and alpha arguments in abbreviated short form.None
:SYSTem:ERRor? STRingRead Error. Returns the oldest error from the error queue as <number>,<message> (0 = no error).None
:SYSTem:ERRor? NUMericRead Error Number. Returns the oldest error number from the error queue (0 = no error).None
:SYSTem:DSP '<Message>'Display Message. Writes a quoted string (up to 68 characters) to the advisory line of the display.Text
:SYSTem:PRINt SCReenPrint Screen. Prints the screen to the printer over the current PRINTER interface.None
:SYSTem:PRINt PARTial,<Start_State>,<End_State>Print Partial. Prints the listing from the start state number to the end state number.Number; Number
:SYSTem:PRINt SCReen,DISK,'<Path_Name>',<Msus>,<Graphic_Format>Print Screen To Disk. Prints the screen to a disk file in the given graphics format (BTIF b/w TIFF, CTIF/PCX grayscale, EPS).Text; Text: INTernal0,INTernal1; Text: BTIF,CTIF,PCX,EPS
:SYSTem:PRINt? <Area>Read Print Data. Sends the screen or listing print data to the controller (not block data; send alone on the command line).Text: SCReen,ALL
:SYSTem:DATA?Read System Data. Returns the acquired data of the last run as IEEE 488.2 block data (#8<length><sections>).None

MARK subsystem (12)

CommandWhat it doesArguments
:MARKer:TMODe <Mode>Scope Marker Time Mode. Selects the time marker mode.Text: OFF,ON,AUTO
:MARKer:TMODe?Scope Read Marker Time Mode. Returns the time marker mode.None
:MARKer:VMODe ONScope Voltage Markers On. Turns the A/B voltage markers on.None
:MARKer:VMODe OFFScope Voltage Markers Off. Turns the A/B voltage markers off.None
:MARKer:XTIMe <Time>Scope Marker X Time. Moves the X marker to a time (s) relative to the trigger.Number
:MARKer:XTIMe?Scope Read Marker X Time. Returns the X marker time relative to trigger.None
:MARKer:OTIMe <Time>Scope Marker O Time. Moves the O marker to a time (s) relative to the trigger.Number
:MARKer:OTIMe?Scope Read Marker O Time. Returns the O marker time relative to trigger.None
:MARKer:XOTime?Scope Read Marker XO Time. Returns the time from the X to the O marker (9.9E37 if invalid).None
:MARKer:XVOLt? CHANnel<Channel>Scope Read Volt At X. Returns the channel voltage at the X marker.Number: 1,2
:MARKer:VOTime? CHANnel<Channel>Scope Read Volt At O. Returns the channel voltage at the O marker.Number: 1,2
:MARKer:TAVerage?Scope Read Time Average. Returns the average X-O time.None

Measurement (MEASure) (12)

CommandWhat it doesArguments
:MEASure:SOURce CHANnel<Channel>Scope Measure Source. Selects the channel for subsequent measurements.Number: 1,2
:MEASure:SOURce?Scope Read Measure Source. Returns the measurement source.None
:MEASure:SOURce CHANnel<Channel>;ALL?Scope Measure All. Measures the the full set of measurements (period, rise, fall, freq, widths, Vpp, Vamp, preshoot, overshoot) of the channel (9.9E37 if not measurable).Number: 1,2
:MEASure:SOURce CHANnel<Channel>;FREQuency?Scope Measure Frequency. Measures the frequency in Hz of the channel (9.9E37 if not measurable).Number: 1,2
:MEASure:SOURce CHANnel<Channel>;PERiod?Scope Measure Period. Measures the period in seconds of the channel (9.9E37 if not measurable).Number: 1,2
:MEASure:SOURce CHANnel<Channel>;RISetime?Scope Measure Risetime. Measures the 10%-90% rise time of the channel (9.9E37 if not measurable).Number: 1,2
:MEASure:SOURce CHANnel<Channel>;FALLtime?Scope Measure Falltime. Measures the 90%-10% fall time of the channel (9.9E37 if not measurable).Number: 1,2
:MEASure:SOURce CHANnel<Channel>;PWIDth?Scope Measure Pos Width. Measures the positive pulse width of the channel (9.9E37 if not measurable).Number: 1,2
:MEASure:SOURce CHANnel<Channel>;NWIDth?Scope Measure Neg Width. Measures the negative pulse width of the channel (9.9E37 if not measurable).Number: 1,2
:MEASure:SOURce CHANnel<Channel>;VPP?Scope Measure Vpp. Measures the peak-to-peak voltage of the channel (9.9E37 if not measurable).Number: 1,2
:MEASure:SOURce CHANnel<Channel>;VMAX?Scope Measure Vmax. Measures the maximum voltage of the channel (9.9E37 if not measurable).Number: 1,2
:MEASure:SOURce CHANnel<Channel>;VMIN?Scope Measure Vmin. Measures the minimum voltage of the channel (9.9E37 if not measurable).Number: 1,2

Trigger (TRIGger) (11)

CommandWhat it doesArguments
:TRIGger:MODE <Mode>Scope Trigger Mode. Selects edge, pattern or immediate (free-run) trigger mode.Text: EDGE,PATTern,IMMediate
:TRIGger:MODE?Scope Read Trigger Mode. Returns the trigger mode.None
:TRIGger:SOURce CHANnel<Channel>Scope Trigger Source. Selects the edge trigger source channel.Number: 1,2
:TRIGger:SLOPe <Slope>Scope Trigger Slope. Sets the edge trigger slope for the current source.Text: POSitive,NEGative
:TRIGger:LEVel <Level>Scope Trigger Level. Sets the trigger level in volts for the current source or path.Number: -6.0,6.0
:TRIGger:LEVel?Scope Read Trigger Level. Returns the trigger level for the current source or path.None
:TRIGger:PATH CHANnel<Channel>Scope Trigger Path. Selects the pattern trigger path for subsequent LOGic and LEVel commands.Number: 1,2
:TRIGger:LOGic <Logic>Scope Trigger Logic. Sets the logic of the current path in pattern trigger mode.Text: HIGH,LOW,DONTcare
:TRIGger:CONDition <Condition>Scope Trigger Condition. Triggers on entering or exiting the pattern.Text: ENTer,EXIT
:TRIGger:CONDition <Type>,<Time>Scope Trigger Condition Duration. Triggers when the pattern is true longer (GT) or shorter (LT) than a time (20 ns to 160 ms).Text: GT,LT; Number: 20E-9,160E-3
:TRIGger:DELay <Count>Scope Trigger Event Count. Sets the number of trigger events before triggering.Number: 1,32000

Waveform (WAVeform) (11)

CommandWhat it doesArguments
:WAVeform:SOURce CHANnel<Channel>Scope Waveform Source. Selects the channel for waveform data transfer.Number: 1,2
:WAVeform:FORMat <Format>Scope Waveform Format. Sets the waveform data transfer format.Text: BYTE,WORD,ASCii
:WAVeform:RECord <Record>Scope Waveform Record. Transfers the full 8000-point record or only the on-screen window.Text: FULL,WINDow
:WAVeform:DATA?Scope Read Waveform Data. Returns the waveform record of the source channel (block data for BYTE/WORD).None
:WAVeform:PREamble?Scope Read Waveform Preamble. Returns format,type,points,count,Xinc,Xorigin,Xref,Yinc,Yorigin,Yref.None
:WAVeform:POINts?Scope Read Waveform Points. Returns the number of waveform points.None
:WAVeform:VALid?Scope Read Waveform Valid. Returns 1 if data has been acquired, 0 if not.None
:WAVeform:XINCrement?Scope Read Waveform X Increment. Returns the X Increment value from the waveform preamble.None
:WAVeform:XORigin?Scope Read Waveform X Origin. Returns the X Origin value from the waveform preamble.None
:WAVeform:YINCrement?Scope Read Waveform Y Increment. Returns the Y Increment value from the waveform preamble.None
:WAVeform:YORigin?Scope Read Waveform Y Origin. Returns the Y Origin value from the waveform preamble.None

INT subsystem (8)

CommandWhat it doesArguments
:INTermodule:DELete <Target>Intermodule Delete. Deletes a module, PORT OUT, or the entire intermodule tree (ALL).Text: ALL,OUT,1,2
:INTermodule:INSert <Source>,<Destination>Intermodule Insert. Adds a module or PORT OUT to the intermodule configuration armed from GROUP run or from another module.Text: 1,2,OUT; Text: GROUP,1,2
:INTermodule:TREE <Analyzer_Arm>,<Port_Out_Arm>Set Intermodule Tree. Specifies the intermodule tree: -1 = not in tree, 0 = group run, 1/2 = armed by module in slot 1/2.Number: -1,0,1,2; Number: -1,0,1,2
:INTermodule:TREE?Read Intermodule Tree. Returns the intermodule tree arm values.None
:INTermodule:INPort ONIntermodule Input Port On. Arms intermodule acquisitions from the rear-panel input port.None
:INTermodule:INPort OFFIntermodule Input Port Off. Disables arming of intermodule acquisitions from the input port.None
:INTermodule:SKEW<Module> <Skew>Set Intermodule Skew. Sets the user skew for a module (1=analyzer, 2=oscilloscope) from -1.0 to 1.0 seconds.Number: 1,2; Number: -1.0,1.0
:INTermodule:TTIMe?Read Intermodule Trigger Times. Returns the absolute intermodule trigger times for the analyzer and second module (9.9E37 if not triggered).None

Channels (CHANnel) (7)

CommandWhat it doesArguments
:CHANnel<Channel>:COUPling <Coupling>Scope Channel Coupling. Sets channel input coupling/impedance: 1M DC, 1M AC or 50 ohm DC.Number: 1,2; Text: DC,AC,DCFifty
:CHANnel<Channel>:RANGe <Range>Scope Channel Range. Sets full-scale vertical range (4 x V/div), 16 mV to 40 V at 1:1 probe.Number: 1,2; Number: 16E-3,40
:CHANnel<Channel>:RANGe?Scope Read Channel Range. Returns the channel vertical range.Number: 1,2
:CHANnel<Channel>:OFFSet <Offset>Scope Channel Offset. Sets the voltage at center screen (limits depend on range: +/-2 V to +/-250 V).Number: 1,2; Number: -250,250
:CHANnel<Channel>:PROBe <Attenuation>Scope Channel Probe. Sets the probe attenuation factor (1 to 1000).Number: 1,2; Number: 1,1000
:CHANnel<Channel>:ECLScope Channel ECL. Presets range, offset and trigger level for ECL signals (2 V range, -1.3 V).Number: 1,2
:CHANnel<Channel>:TTLScope Channel TTL. Presets range, offset and trigger level for TTL signals (6 V range, 2.5 V offset).Number: 1,2

Display (DISPlay) (6)

CommandWhat it doesArguments
:DISPlay:ACCumulate ONScope Display Accumulate On. Turns infinite persistence on.None
:DISPlay:ACCumulate OFFScope Display Accumulate Off. Turns infinite persistence off.None
:DISPlay:CONNect ONScope Display Connect On. Connects sample dots with lines.None
:DISPlay:CONNect OFFScope Display Connect Off. Displays only the sample points.None
:DISPlay:INSert '<Waveform_Label>'Scope Display Insert. Inserts an oscilloscope waveform (e.g. 'C1') into the display.Text: C1,C2
:DISPlay:REMoveScope Display Remove. Removes all waveforms from the display.None

WLIS subsystem (4)

CommandWhat it doesArguments
:WLISt:XTIMe <Time>Mixed X Time. Positions the X marker on the mixed-mode timing waveforms (seconds).Number
:WLISt:OTIMe <Time>Mixed O Time. Positions the O marker on the mixed-mode timing waveforms (seconds).Number
:WLISt:XSTate?Mixed Read X State. Returns the state where the X marker is positioned (32767 if invalid).None
:WLISt:OSTate?Mixed Read O State. Returns the state where the O marker is positioned (32767 if invalid).None

Timebase (TIMebase) (4)

CommandWhat it doesArguments
:TIMebase:RANGe <Range>Scope Timebase Range. Sets full-scale horizontal time (10 x s/div), 1 ns to 5 s.Number: 1E-9,5
:TIMebase:RANGe?Scope Read Timebase Range. Returns the timebase range.None
:TIMebase:DELay <Delay>Scope Timebase Delay. Sets the time from trigger to center screen (-2500 s to +2500 s).Number: -2500,2500
:TIMebase:MODE <Mode>Scope Timebase Mode. Sets triggered or auto-trigger timebase mode.Text: TRIGgered,AUTO

LOCK subsystem (3)

CommandWhat it doesArguments
:LOCKout ONFront Panel Lockout On. Locks out all front-panel controls except the power switch.None
:LOCKout OFFFront Panel Lockout Off. Restores front-panel operation.None
:LOCKout?Read Front Panel Lockout. Returns the front-panel lockout state (1=on, 0=off).None

Acquisition (ACQuire) (3)

CommandWhat it doesArguments
:ACQuire:TYPE <Type>Scope Acquire Type. Selects normal or average acquisition.Text: NORMal,AVERage
:ACQuire:TYPE?Scope Read Acquire Type. Returns the acquisition type.None
:ACQuire:COUNt <Count>Scope Acquire Count. Sets the number of averages (AVERage mode only).Number: 2,4,8,16,32,64,128,256

SEL subsystem (2)

CommandWhat it doesArguments
:SELect <Module>Select Module. Selects which module has parser control: 0=system, 1=logic analyzer, 2=oscilloscope.Number: 0,1,2
:SELect?Read Selected Module. Returns the module currently selected for parser control.None

MENU subsystem (2)

CommandWhat it doesArguments
:MENU <Module>,<Menu>Show Menu. Displays a menu: module 0=system (menu 0-4), 1=analyzer (0=Config,1-2=Format,3-4=Trigger,5-6=Waveform,7-8=Listing,9=Mixed,10-11=Compare,12-13=Chart); 2=oscilloscope (0=Trigger,1=Channel,2=Display,3=Auto-measure,4=Marker,5=Calibration).Number: 0,1,2; Number
:MENU?Read Menu. Returns the current menu selection as <module>,<menu>.None

RMOD subsystem (2)

CommandWhat it doesArguments
:RMODe <Mode>Set Run Mode. Sets the run mode of the selected module (or Intermodule group) to single or repetitive.Text: SINGle,REPetitive
:RMODe?Read Run Mode. Returns the current run mode (SINGle or REPetitive).None

BEEP subsystem (2)

CommandWhat it doesArguments
:BEEPer ONBeeper On. Turns the beeper mode on.None
:BEEPer OFFBeeper Off. Turns the beeper mode off.None

EOI subsystem (2)

CommandWhat it doesArguments
:EOI ONEOI On. Sends EOI with the last byte of each reply (IEEE 488.2 compliant).None
:EOI OFFEOI Off. Disables EOI on the last byte of replies (responses no longer IEEE 488.2 compliant).None

RTC subsystem (2)

CommandWhat it doesArguments
:RTC <Date_Time>Set Real Time Clock. Sets the real-time clock; enter day,month,year,hour,minute,second (e.g. 1,1,1992,20,0,0).Text
:RTC?Read Real Time Clock. Returns the real-time clock as day,month,year,hour,minute,second.None

XWIN subsystem (2)

CommandWhat it doesArguments
:XWINdow ONXWindow On. Opens a window on the X Window display server stored in the External I/O menu (LAN option required).None
:XWINdow OFFXWindow Off. Closes the X window.None

STAR subsystem (1)

CommandWhat it doesArguments
:STARtStart Run. Starts the selected module (or Intermodule group) running in the specified run mode (overlapped command).None

Run control (1)

CommandWhat it doesArguments
:STOPStop Run. Stops the selected module (or Intermodule group) (overlapped command).None

CESR subsystem (1)

CommandWhat it doesArguments
:CESR?Read Combined Event Register. Returns the Combined Event Status Register (0-65535).None

MESR subsystem (1)

CommandWhat it doesArguments
:MESR<Module>?Read Module Event Register. Returns the Module Event Status Register for module 0=system/intermodule or 1=analyzer or 2=oscilloscope (bit 0 MC, 1 RNT, 2 trigger found).Number: 0,1,2

SYS subsystem (1)

CommandWhat it doesArguments
:SYStem:SETup?Read System Setup. Returns the current analyzer configuration as IEEE 488.2 block data.None

Auto setup (1)

CommandWhat it doesArguments
:AUToscaleScope Autoscale. Automatically sets vertical, trigger and timebase settings for the input signals. Oscilloscope: requires :SELect 2.None

DIG subsystem (1)

CommandWhat it doesArguments
:DIGitizeScope Digitize. Acquires waveform data for transfer (overlapped; wait for completion before reading). Oscilloscope: requires :SELect 2.None

Other subsystem (1)

CommandWhat it doesArguments
<Output Variable>=<Equation>Math. Variable equals an equation like (${Var_name}= ${Var_name}/2)Number; Text

WAIT subsystem (1)

CommandWhat it doesArguments
wait(<ms>)Wait. Waits for number of millisecondsNumber

SAVE subsystem (1)

CommandWhat it doesArguments
save2var <Variable_name>Save2Variable. Saves last measurement to a variableText

IEEE 488.2 common commands (18)

CommandWhat it doesArguments
*IDN?Identify. Returns the identification string (HEWLETT-PACKARD,1660C,0,REV xx.xx).None
*RSTReset. Accepted for compatibility but has no effect on the 1660C-series (load a configuration file instead).None
*CLSClear Status. Clears all event status registers, queues and the error queue.None
*TST?Self Test. Returns the power-up self-test result bit map (0 = all passed; 0-511).None
*OPC?Operation Complete. Returns 1 when all pending operations (STARt/STOP) are complete.None
*OPCSet Operation Complete. Sets the OPC bit in the Standard Event Status Register when pending operations finish.None
*WAIWait To Continue. Waits until all overlapped commands complete before executing further commands.None
*TRGTrigger Bus. Group Execute Trigger: same as STARt for the intermodule group run.None
*OPT?Read Options. Returns the installed software options and module software.None
*ESE <Mask>Set Event Status Enable. Sets the Standard Event Status Enable register.Number: 0,255
*ESE?Read Event Status Enable. Returns the Standard Event Status Enable register.None
*ESR?Read Event Status Register. Returns and clears the Standard Event Status Register.None
*SRE <Mask>Set Service Request Enable. Sets the Service Request Enable register.Number: 0,255
*SRE?Read Service Request Enable. Returns the Service Request Enable register.None
*STB?Read Status Byte. Returns the Status Byte register.None
*PRE <Mask>Set Parallel Poll Enable. Sets the Parallel Poll Enable register.Number: 0,65535
*PRE?Read Parallel Poll Enable. Returns the Parallel Poll Enable register.None
*IST?Read Individual Status. Returns the IEEE 488.1 ist local message state (0 or 1).None

Where these commands come from

This reference is generated from TestFlow's instrument library, which is drafted from Keysight's programming documentation for the 1661CS, 1662CS, and 1663CS and checked when the agent runs it. Ranges, timing, and option-dependent commands are defined by Keysight's programming manual: check it before you rely on an edge case. Last updated November 17, 2026.

Frequently asked questions

Does the Keysight 1661CS support SCPI remote control?

Yes. The Keysight 1661CS accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 290 SCPI commands for it: 102 queries that read values or state, and 188 settings and actions.

How do I control the Keysight 1661CS from Python?

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?, :MMEMory:AUToload OFF and :MEASure:SOURce CHANnel1;FREQuency?.

Which command reads a value from the Keysight 1661CS?

:MEASure:SOURce CHANnel1;FREQuency? (scope measure frequency). Measures the frequency in Hz of the channel (9.9E37 if not measurable). The full list of queries is in the command reference on this page, grouped by subsystem.

Can I automate the Keysight 1661CS without writing code?

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 Keysight 1661CS through the TestFlow desktop app, and writes the report from the measured results.

Your next test, automated today

Describe the test. TestFlow builds the workflow, runs it on your instruments, and writes the report. See it on a bench like yours.