/

Keithley

/

Keithley 2281S-20-6

SCPI COMMAND REFERENCE

Keithley 2281S-20-6

Keithley 2281S-20-6

The Keithley 2281S-20-6 is Keithley's power supply in the Series 2281S Battery Simulator and Precision DC Power Supply family. Its SCPI remote-control interface exposes 216 commands across 25 subsystems - 164 settable and 52 queries - and every command is documented here with its parameters, accepted values, return format, and a copy-paste PyVISA example for automating test and measurement.

216

Commands

164

Settable

52

Queries

25

Subsystems

SCPI

Verified

2026-07-16

All commands

*CLSset / query

Clears the event registers and error queues. It also clears the Standard Event Status Register, Status Byte Register, and the various Questionable, Operation, and Measurement event registers.

*CLS
*ESEset / query

Sets and queries bits in the Standard Event Status Enable Register. The register value is a decimal sum of enabled bits from 0 to 255.

NameTypeValuesDescription
ninteger0 - 255The value of the Standard Event Status Enable Register.
integer - Returns the decimal value of the Standard Event Status Enable Register, corresponding to the binary-weighted sum of all bits set in the register.
*ESE 145
*ESR?query

Reads the contents of the Standard Event Status Register (SESR). The instrument returns the decimal value of the register contents and clears the SESR.

integer - Decimal value corresponding to the binary-weighted sum of all bits set in the Standard Event Status Register.
*ESR?
*IDN?query

Retrieves the instrument identification string. The string includes the manufacturer, model number, serial number, and firmware revision, formatted as `KEITHLEY INSTRUMENTS,MODEL nnnn,xxxxxxx,yyyyy`.

string - Returns the identification string of the instrument.
*IDN?
*LANG?query

Determines which command set is used by the instrument. The only available remote command set is SCPI.

enum - Returns the command set currently in use.
*LANG? Verify the setting by sending the language query.
*OPCset / query

Sets the operation complete (OPC) bit after all pending commands, including overlapped commands, have been executed. The query form places an ASCII "1" in the output queue after completion.

integer - ASCII "1" is placed in the output queue after all pending command operations have been executed.
*OPC
*OPC?
*RCLset / query

Returns the instrument to the setup that was saved with the *SAV command. Restores the state of the instrument from a copy of its settings stored in setup memory.

NameTypeValuesDescription
ninteger1 - 5Saved setup number to restore.
*RCL 3
*RSTset / query

Resets the instrument settings to their default values. It also cancels all pending commands and cancels the response to any previously received *OPC and *OPC? commands.

*RST
*SAVset / query

Saves the present instrument settings as a user-saved setup in nonvolatile memory. Stored settings can later be restored with *RCL, and any previous setup at the same location is overwritten.

NameTypeValuesDescription
ninteger1 - 5User-saved setup location number.
*SAV 2
*SREset / query

Sets or queries the bits of the Status Request Enable Register. A numeric value is written to the register, and *SRE? returns the decimal sum of the bits currently set.

NameTypeValuesDescription
noptinteger0 - 32Bit value or constant used to set the Status Request Enable Register; 0 clears all bits.
integer - Decimal value corresponding to the binary-weighted sum of all bits set in the Status Request Enable Register.
*SRE 0
*STB?query

Reads the contents of the Status Byte Register. It returns a decimal value corresponding to the binary-weighted sum of all bits set, and does not clear the register.

integer - Decimal value corresponding to the binary-weighted sum of all bits set in the Status Byte Register.
*STB? Query the contents of the Status Byte Register.
*TRGset / query

Generates a trigger event from the remote command interface. It has the same effect as a group execute trigger (GET) and is used to control operation when BUS is the programmed arm control source.

*TST?query

This query performs a complete self-test and returns the results. Sending the command returns 0; a self-test is not performed.

integer - Returns 0.
*TST?
*WAIset / query

Postpones execution of subsequent commands until all previous overlapped commands are finished.

*WAI

:ABORt[n]set / query

Stops all trigger model commands on the instrument. For a specified channel, the trigger model is stopped; with continuous initiation disabled it goes to the idle state, and with continuous initiation enabled it continues at the top of the trigger model.

NameTypeValuesDescription
noptinteger1Channel number; for single-channel instruments, the value is 1.

Sets the instrument to work in one of its functions. If queried, returns the active function after the query.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
modeenumPOWer | TEST | SIMulator | ENTRyInstrument function to select.
enum - The active function.
:ENTR:FUNC SIM Set the instrument to work in the battery simulator function.

Reads the latest post-processed reading without triggering a measurement. If no new readings are available, it returns the same value as the previous query.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
returns - Returns the latest post-processed reading. The return format depends on the :FORMat:ELEMents settings.
:FORM:ELEM "READ,UNIT" Specify the data elements contained in the readings.
:FETCh? Return the latest reading.

:FORCe:TRIGgerset / query

Bypasses the control source of the Arm layer or Trigger layer when you do not wish to wait for the programmed event to occur.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
:FORCe:TRIGger[n]

:FORMat:ELEMentsset / query

Specifies or queries the data elements to be included in the data string. Up to 9 elements may be listed, separated by commas, and enclosed in single or double quotes.

NameTypeValuesDescription
itemlistenumREADing | SOURce | UNIT | MODE | DATE | TIME | TSTamp | RELative | RSTampData elements to include in the data string.
enum - Returns the present data element list.
:FORMat:ELEMents <itemlist>
:FORMat:ELEMents?

Makes a measurement using the specified function and returns the reading. If a different function is selected, sending the command changes the measurement function to the one specified by <function> and leaves it selected after the measurement is complete.

NameTypeValuesDescription
noptinteger-Channel number; for single-channel instruments, the value is 1.
functionenumCONCurrent[:DC] | CURRent[:DC] | VOLTage[:DC]Measurement function to which this setting applies.
rangeoptreal0.01 - 20Measurement range value.
resolutionoptinteger4 - 6Display resolution in digits.
real - The measured reading.
:MEAS:CURR? 10,5

Makes measurements and returns the first reading. When sent, it executes :ABORt, :INITiate, and :FETCh? in that order.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
real - Returns the first post-processed reading.
:READ[n]?

Sets the number of times to repeat the Arm event.

NameTypeValuesDescription
countinteger1 - 2500The number of times to repeat the arm event.
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
integer - Returns the arm count. Use DEFault to return the default value, MINimum to return the minimum value, or MAXimum to return the maximum value.
ARM:COUN 4

Selects the control source for the arm layer. The source can be immediate, external, manual, or bus triggering.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
sourceenumIMMediate | EXTernal | MANual | BUSTrigger source for the arm layer.
ARM:SOUR BUS

Clears all the data in the buffer for the selected battery channel. For single-channel instruments, channel number n is 1.

NameTypeValuesDescription
noptinteger1 - 1Channel number.
:BATT:DAT:CLE Clear the buffer.

Queries data from the trace buffer. If no buffer elements are specified, the default returns are VOLTage, CURRent, UNIT, and RELative.

NameTypeValuesDescription
bufferElementsoptenumVOLTage | CURRent | SOC | RESistance | AH | UNIT | MODE | DATE | TIME | TSTamp | RELative | RSTamp | RNUMberList of buffer elements to return, up to 12 elements; elements may be specified in any order and repeated if fewer than 12.
string - Returns the requested buffer data stored up to the point the command is sent. Subsequent queries return only new data until the buffer is filled again.
:BATT:DATA:DATA? "SOC,UNIT,REL"

Queries data from the trace buffer for specific points. The query accepts a start and end point, and an optional list of buffer elements to return.

NameTypeValuesDescription
startinteger1 - 2500Beginning point of the data query.
endinteger1 - 2500Ending point of the data query.
bufferElementsoptstring-List of buffer elements to return; if omitted, VOLTage, CURRent, UNIT, and RELative are used.
block - Returns the requested trace buffer data for the selected points.
:BATT:DATA:DATA:SEL? 1, 10, "VOLT,UNIT,REL"

Saves the data in the buffer to a USB flash drive.

NameTypeValuesDescription
fileNamestring-Name of the file to save the data in.
timeFormatoptenumTSTamp | RELative | RSTampControls how date and time information from the buffer is saved in the file.
startoptinteger-Starting point of the data to be saved in the buffer.
endoptinteger-Ending point of the data to be saved in the buffer.
:BATT:DATA:SAVE "my_data"
:BATT:DATA:SAVE "my_data",REL
:BATT:DATA:SAVE "my_data",REL,1,100

Sets the digital I/O line function for a specified line. The command also has a query form.

NameTypeValuesDescription
line_indexinteger1 - 6The digital I/O line number.
functionenumAUTO | DIGIN | DIGOUT | MANualSelects the line function.
actionoptenumOUTPUTON | OUTPUTOFF | SSTARt | SSTOP | FULL | EMPTy | CCCV | END | SSOurce | HV | LV | MOUTH | MOUTL | MINPutOptional secondary action associated with the selected function.
string - Returns the present digital I/O line function setting, including any associated action.
:BATT:DIGital:LINE1:CONFigure AUTO
:BATT:DIGital:LINE2:CONFigure DIGOUT,
CCCV

Selects the edge direction of the level trigger for a digital I/O line. The setting is saved with recall/save settings and is reset by instrument reset or power cycle.

NameTypeValuesDescription
line_indexinteger1 - 6The digital I/O line to configure.
edgeenumRISE | FALLEdge direction for the level trigger.
:BATT:DIGital:LINE2:EDG FALL Set the edge direction of line 2 as FALL.

Queries the manually input data for the specified digital I/O line. If the line is not assigned to a manual input, the query returns no data and error 508 occurs.

NameTypeValuesDescription
line_indexinteger1 - 6The digital I/O line.
returns - No return is documented in the slice.
:BATT:DIGital:LINE2:MAN:INP:DATA?

Imports a battery model from a USB flash drive into the instrument's internal memory. If a model with the target name already exists, the new model replaces it.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
modelindexinteger1 - 9Index used as the model name in internal memory.
fileNamestring-Name of the battery model file on the USB flash drive.
BATT:MOD:LOAD:USB 1,"myModel"

Sets and queries a list of custom values for a specified battery model. The command defines up to 101 values for the selected model element.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
modelindexinteger1 - 9Battery model index.
elementenumRESistance | VocModel element to set or query: resistance or open-circuit voltage.
stringstring-Setting values separated by commas; maximum string length is 2048.
string - Returns the list of custom values for the specified battery model element.
:BATT:MOD1:RES "2.0,1.9,1.8" Set the resistance to 2.0, 1.9, 1.8.
:BATT:MOD1:VOC "1, 2, 3" Set the Voc to 1, 2, 3.

Adds values to the specified model by appending them to the end of the existing values. A total of 101 values must be set in a model before executing it.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
modelindexinteger1 - 9Model index.
elementenumRESistance | VocModel element to update.
stringstring-Setting values separated by commas; maximum string length is 2048.
:BATT:MOD1:RES:APPE "1.7,1.6,1.5"

Sets 11 points of a battery model in a rough form, allowing the model to be edited without entering the full 101-point data set. The resistance values must be non-increasing and the Voc values non-decreasing.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
modelindexinteger1 - 9Battery model index.
elementenumRESistance | VocBattery model element to simplify: resistance or open-circuit voltage.
stringstring-Ten setting values separated by commas.
:BATT:MOD1:RES:SIMP Set 11 points of value for resistance and Voc.
"2.1,2.0,1.9,1.8,1.7,1.6,1.5,1.4,1.
:BATT:MOD1:VOC:SIMP "0.2, 0.6,
1.1,1.5,2.0,2.5,3.0,3.5,4.0,4.5,5.0
"

Queries the length of the specified battery model element. The result indicates the number of values in the model.

NameTypeValuesDescription
modelindexinteger1 - 9Selects the battery model index.
elementenumRESistance | VocSelects the model element: resistance or open-circuit voltage.
integer - Number of values in the specified model element.
:BATT:MOD1:RES:STEP? The number of values in the battery model is returned.

Sets the open-circuit voltage and resistance values for a specified battery model, editing the model line by line.

NameTypeValuesDescription
modelindexinteger1 - 9Battery model index.
rowindexinteger0 - 100Row number within the selected battery model.
stringstring-Values of Voc and resistance separated by a comma.
:BATT:MOD1:ROW0 "1.2, 1"

Recalls a battery model from memory for the selected channel. The active recalled model number can also be queried with the corresponding query form.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
modelindexinteger1 - 9Index of the battery model to recall.
build-in modelenumLI-ION4_2 | NIMH1_2 | NICD1_2 | LEAD-ACID12 | NIMH12Built-in battery model to recall.
:BATT:MOD:RCL 1
:BATT:MOD:RCL LM_BATT1

Saves a battery model to the instrument's internal memory. Up to nine battery models can be stored, and an existing model with the same name is replaced.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
modelindexinteger1 - 9Battery model slot to save to.
:BATT:MOD:SAVE:INT 1 Save a battery model into the internal memory as model 1.

Saves a battery model to a USB flash drive. The USB flash drive must be connected properly before sending the command.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
modelindexinteger1 - 9Battery model index to save.
fileNamestring-Name of the saved battery model; can only be eight characters long.
:BATT:MOD:SAVE:USB 1,"myModel"

Queries the real-time battery capacity of the battery simulator.

real - The real-time battery capacity of the battery simulator.
:BATT:SIM:CAP?

Sets the maximum capacity value of the battery in the battery simulation function. The value cannot be changed while the simulation is in progress.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
valuereal0.001 - 99Maximum battery capacity.
:BATT:SIM:CAP:LIM 5 Set the maximum capacity to 5 Ah.

Queries the real-time battery current of the battery simulator.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
real (A) - The real-time battery current.
:BATT:SIM:CURR? The real-time battery current is displayed.

Sets the current limit used to stop discharging in the battery simulation function. The value cannot be changed while the simulation is in progress.

NameTypeValuesDescription
noptinteger-Channel number; for single-channel instruments, the value is 1.
valuereal0 - 6.1Current limit for stopping discharging in the battery simulation function.
:BATTery[n]:SIMulator:CURRent:LIMit <value>
:BATTery[n]:SIMulator:CURRent:LIMit?
:BATTery[n]:SIMulator:CURRent:LIMit? DEFault
:BATTery[n]:SIMulator:CURRent:LIMit? MINimum
:BATTery[n]:SIMulator:CURRent:LIMit? MAXimum

Sets the current protection value in the battery simulator function. The value cannot be changed while the simulation is in progress.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
valuereal0.1 - 6.1Current protection value.
qualifieroptenumMINimum | MAXimum | DEFaultSelects the minimum, maximum, or default current protection value.
real (A) - Returns the current protection value; with DEFault, MINimum, or MAXimum returns the default, minimum, or maximum value respectively.
:BATT:SIM:CURR:PROT 2 Set the current protection to 2 A.

Sets the high voltage (HV) used by the battery simulator function. When the output voltage reaches this value, the digital I/O pin configured as Digital Out with HV action outputs a level signal.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
valuereal0 - 21High voltage setting for the battery simulator.
real (V) - Returns the high voltage setting. The query accepts DEFault, MINimum, or MAXimum to return the default, minimum, or maximum value.
:BATT:SIM:HV 5 Set the high voltage as 5 V

Sets the low voltage (LV) in the battery simulator function. When the output voltage reaches this value, the digital I/O pin configured as Digital Out with LV action outputs a level signal.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
valuereal0.0 - 21Low voltage setting.
real (V) - Returns the low voltage setting. With the DEFault qualifier, returns the default value; with MINimum, returns the minimum value; with MAXimum, returns the maximum value.
none documented

Sets the simulation mode in the battery simulation function. Dynamic mode makes Voc and SOC change with charging and discharging; static mode keeps Voc and SOC constant.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
modeenumDYNamic | STATicSimulation mode.
:BATT:SIM:METH STAT Set the simulation mode to static mode.

Queries the real-time internal resistance of the battery simulator.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
real (Ω) - The real-time internal resistance of the battery simulator.
:BATT:SIM:RES? The real-time internal resistance is displayed.

Sets or queries the resistance offset value used in the battery simulation function. The value cancels out resistance deviation caused by the connecting wire and cannot be changed while simulation is in progress.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
valuereal-100 - 100Resistance offset value.
qualifieroptenumMINimum | MAXimum | DEFaultOptional query qualifier to return the minimum, maximum, or default resistance offset value.

Sets and queries the sample interval in the battery simulation function. The value is based on the power line cycles and cannot be changed while the simulation is in progress.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
valuereal8e-5 - 0.48Sample interval value for 50 Hz operation.
:BATT:SIM:SAMP:INT 0.01 Set the sample interval to 0.01 s.

Sets the battery simulator state-of-charge (SOC) value in percent. The SOC value can be adjusted at any time during simulation, and the associated Voc value updates automatically.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
valuereal0.0 - 100.0SOC value in percentage.
:BATT:SIM:SOC 50 Set the SOC value to 50 and query the value.
:BATT:SIM:SOC? Return: 50

Queries the real-time terminal voltage.

NameTypeValuesDescription
noptinteger-Channel number; for single-channel instruments, the value is 1.
real - The real-time terminal voltage.
:BATT:SIM:TVOL?

Sets the TVOLtage protection value in the battery simulator function. The value cannot be changed while the simulation is in progress.

NameTypeValuesDescription
noptinteger-Channel number; for single-channel instruments, the value is 1.
valuereal0.5 - 21.0TVOLtage protection value to set.

Sets the Voc value for the battery simulator function. The value can be adjusted at any time while simulation is in progress, and changing Voc automatically updates the associated SOC value from the battery model.

NameTypeValuesDescription
noptinteger-Channel number; for single-channel instruments, the value is 1.
valuerealMinimum - MaximumVoc value.
real - Returns the Voc value. With DEFault, MINimum, or MAXimum, returns the default, minimum, or maximum Voc value, respectively.
:BATT:SIM:VOC 4.5 Set the Voc value to 4.5 V.

Sets the threshold Voc value at which discharging stops in the battery simulator function. The value cannot be changed while the simulation is running.

NameTypeValuesDescription
valuerealMinimum - MaximumThreshold Voc value for the discharging to stop.
:BATT:SIM:VOC:EMPT 0.5

Sets the threshold Voc value for charging to stop in the battery simulator function. The value cannot be changed while the simulation is in progress.

NameTypeValuesDescription
valuerealMinimum - MaximumVoc threshold value.
:BATT:SIM:VOC:FULL 5 Set the full Voc value to 5 V.

Queries the values of ESR and Voc when the power supply is in Battery Test mode. When executed, the instrument starts a new measurement and returns the values of ESR and Voc; output is off after the measurement.

string - Returns the measured ESR and Voc values.
:BATT:TEST:MEAS:EVOC? The values of ESR and Voc are returned.

Sets and queries the ESR sample interval during A-H measurement in the battery test function.

NameTypeValuesDescription
intervalenumS10 | S30 | S60 | S120 | M10ESR sample interval to use for A-H measurement.
enum - Returns the current ESR sample interval.
:BATT:TEST:SENS:AH:ESRI S60
:BATT:TEST:SENS:AH:ESRI?

Sets the status of the A-H measurement.

NameTypeValuesDescription
actionenumSTARt | STOP | PAUSe | CONTinueStatus to set for the A-H measurement.
:BATT:TEST:SENS:AH:EXEC STAR Set the measurement to start.

Sets and queries the range of the open-circuit voltage used for generating a battery model during A-H measurement in the battery test function.

NameTypeValuesDescription
lowreal-Lower limit of the Voc range; must be within the actual measured maximum and minimum Voc value.
highreal-Upper limit of the Voc range; must be within the actual measured maximum and minimum Voc value.
returns

Saves the measurement results as a battery model in the internal memory. Up to 9 battery models can be saved.

NameTypeValuesDescription
modelindexinteger1 - 9Index of the battery model slot to save.
:BATT:TEST:SENS:AH:GMOD:SAVE:INT 1 Save the measurement results as battery model 1.

Saves the measurement results directly to a USB flash drive as a battery model. Make sure the external USB flash drive is connected before sending the command.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
fileNamestring-Name to assign to the battery model.
:BATT:TEST:SENS:AH:GMOD:SAVE:USB Save the measurement results to the USB as a battery
<myModel> model with the name of myModel1.

Sets or queries the maximum charging current during A-H measurement in the battery test function. The setting is saved in recall and save settings and is affected by instrument reset and power cycle.

NameTypeValuesDescription
channeloptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
valuereal0 - 6.1Maximum charging current during A-H measurement.
:BATT:TEST:SENS:AH:ILIM 2

Queries the real-time battery capacity during A-H measurement in the battery test function.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
real - Returns the battery capacity value.
:BATT:TEST:SENS:AH? The value of the battery capacity is returned.

Sets and queries the full voltage during A-H measurement in the battery test function. The voltage of the battery is equal to or less than this value.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
valuereal0 - 20Full voltage value.
real (V) - Returns the full voltage during A-H measurement. The query also accepts DEFault, MINimum, and MAXimum qualifiers.
:BATT:TEST:SENS:AH:VFUL 2 Set the full voltage value to 2 V.

Sets and queries the EVoc delay in the battery test function.

NameTypeValuesDescription
valuereal0 - 0.1EVoc delay value.
real (s) - Returns the present EVoc delay, or the minimum, maximum, or default value when queried with a qualifier.

Sets and queries the sample interval in the battery test function. The interval is based on power line cycles.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
valuereal8e-5 - 0.48Sample interval for 50 Hz line frequency; for 60 Hz the range is 6.66667e-5 to 0.5 s.
real (s) - Returns the sample interval. The query also supports DEFault, MINimum, and MAXimum qualifiers.
:BATT:TEST:SENS:SAMP:INT 0.1

Sets the end current for stopping charging and discharging in the battery test function. If the current exceeds this threshold during charging or discharging, the operation is stopped.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
valuereal0 - 0.1End current value.
:BATT:TEST:CURR:END 0.02 Set the end current value to 20 mA.

Sets the maximum source current in the battery test function. If the output current exceeds this value, it is limited to the set value and charging switches from CV mode to CC mode.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
valuereal0 - 6.1Maximum source current.
real (A) - Returns the present maximum source current. DEFault returns the default value, MINimum returns the minimum allowed value, and MAXimum returns the maximum allowed value.
:BATT:TEST:CURR:LIM:SOUR 2

Sets and queries the protection threshold value of the output current in the battery test function. It specifies the current to be sourced to the battery under test.

NameTypeValuesDescription
valuereal0.1 - 6.1Protection threshold value of the current to be sourced to the battery under test.
real (A) - Returns the protection threshold value of the output current in the battery test function. The query accepts DEFault, MINimum, or MAXimum to return the default, minimum, or maximum value, respectively.
:BATT:TEST:CURR:PROT 2

Sets the high voltage (HV) used in the battery test function. When the output voltage reaches this value, the digital I/O pin configured as Digital Out with HV action outputs a level signal.

NameTypeValuesDescription
valuereal0 - 21High voltage level used in the battery test function.
:BATT:TEST:HV 5 Set the high voltage as 5 V

Sets the low voltage (LV) value in the battery test function. When the output voltage reaches this value, the digital I/O pin configured as Digital Out with LV action outputs a level signal.

NameTypeValuesDescription
noptinteger-Channel number; for single-channel instruments, the value is 1.
valuereal0 - 21Low voltage value.
:BATT:TEST:LV 0.1 Set the low voltage as 0.1 V

Sets the V-set value for charging and discharging in the battery test function. The value determines whether the instrument charges or discharges the battery based on the battery terminal voltage.

NameTypeValuesDescription
noptinteger-Channel number; for single-channel instruments, the value is 1.
valuereal0 - 20V-set value for charging and discharging.
:BATT:TEST:VOLT 5 Set the V-set value to 5 V.

Sets the maximum output voltage in the battery test function. If this value is set lower than V-set, V-set changes to the same value.

NameTypeValuesDescription
noptinteger-Channel number; for single-channel instruments, the value is 1.
valuereal0 - 20Maximum output voltage limit.
:BATT:TEST:VOLT:LIM 5 Set the limit voltage value to 5 V.

Sets and queries the protection threshold value of the open-circuit voltage used in the battery test function.

NameTypeValuesDescription
channeloptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
valuereal0.5 - 21Protection threshold value of the open-circuit voltage to be sourced to the battery under test.
qualifieroptenumMINimum | MAXimum | DEFaultQuery qualifier that returns the default, minimum, or maximum protection threshold value.
real (V) - Returns the current protection threshold value; ? DEFault returns the default value, ? MINimum returns the minimum value, and ? MAXimum returns the maximum value.
:BATT:TEST:VOLT:PROT 5 Set the protection threshold value to 5 V.

Specifies whether the current rises above or falls below a specified level when the level trigger is activated. The command is available as both a setter and a query.

NameTypeValuesDescription
noptinteger-Channel number; for single-channel instruments, the value is 1.
directionenumRISE | FALLDirection of the current trigger transition.
enum - Returns the present current trigger direction.
:BATT:TRAC:TRIG:CURR:DIR RISE

Configures the current threshold value for the level trigger in the battery simulator and battery test function.

NameTypeValuesDescription
currentThresholdreal0 - 6Current threshold value for the level trigger.
:BATT:TRAC:TRIG:CURR 1

Sets or queries the state of the current level trigger for the selected battery trace channel.

NameTypeValuesDescription
noptinteger-Channel number; for single-channel instruments, the value is 1.
stateenumON | OFF | 1 | 0Enables or disables the current level trigger.
enum - Returns the current level trigger state.
:BATT:TRAC:TRIG:CURR:STAT 1 Enable the current level trigger.

Clears all the data in the buffer.

NameTypeValuesDescription
noptinteger-Channel number; for single-channel instruments, the value is 1.
:BATT:TRAC:CLE Clear the data buffer.

Queries the data stored in the trace buffer. It can return all stored data up to that point, and repeated queries do not redisplay data already returned until the buffer has been refilled.

NameTypeValuesDescription
bufferElementsoptenumVOLTage | CURRent | SOC | RESistance | AH | UNIT | MODE | DATE | TIME | TSTamp | RELative | RSTamp | RNUMberList of trace-buffer elements to return; if omitted, the default values are VOLTage, CURRent, UNIT, and RELative.
string - Returns the data stored in the trace buffer, formatted according to the requested buffer elements.
:BATT:TRAC:DATA? "SOC,UNIT,REL"

Queries data from the trace buffer for a specified range of points. The optional buffer elements list selects which trace elements are returned; if omitted, the default elements are VOLTage, CURRent, UNIT, and RELative.

NameTypeValuesDescription
startinteger1 - 2500Beginning of the data query range.
endinteger1 - 2500Ending of the data query range.
bufferElementsoptstring-List of elements to return from the buffer.
string - Returns the selected trace-buffer data points.
:BATT:TRAC:DATA:SEL? 1, 10, "VOLT,UNIT,REL"

Saves the data in the buffer to a USB flash drive. The command can save a specified file name, time-format option, and optional start/end range from the buffer.

NameTypeValuesDescription
fileNamestring-Name to use for the saved data file.
timeFormatoptenumTSTamp | RELative | RSTampControls how date and time information from the buffer is saved in the file.
startoptinteger-Starting point of the data to be saved from the buffer.
endoptinteger-Ending point of the data to be saved from the buffer.
:BATT:TRAC:SAVE "my_data" Save the first 100 points of data in the buffer with
:BATT:TRAC:SAVE "my_data",REL relative time stamp into the USB flash drive as my
:BATT:TRAC:SAVE "my_data",REL,1,100 data.

Queries whether a level trigger has occurred in the battery simulator and battery test function.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
integer - Returns 1 if a level trigger has occurred.
:BATT:TRAC:TRIG:OCC?

Defines the number of points at which the instrument begins to log data in the buffer for both the battery simulator and battery test function.

NameTypeValuesDescription
offsetinteger0 - 2500Number of points before logging begins in the buffer.
:BATT:TRAC:TRIG:OFFS 10
:BATT:TRAC:TRIG:OFFS?

Specifies whether the voltage trigger activates when the voltage rises above or falls below the specified level. It is a command and query, with the default direction RISE.

NameTypeValuesDescription
directionenumRISE | FALLSelects whether the voltage rises above or falls below the trigger level.
enum - Returns the present voltage trigger direction.
:BATT:TRAC:TRIG:VOLT:DIR RISE

Configures the voltage threshold value for the level trigger in the battery simulator and battery test function. The command can also be queried to read back the threshold value.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
voltageThresholdreal0 - 20Voltage threshold for the level trigger.
real (V) - Returns the current voltage threshold value.
:BATT:TRAC:TRIG:VOLT 15 The voltage threshold value is set to 15.

Sets or queries the state of the voltage level trigger. ON/1 enables the trigger and OFF/0 disables it.

NameTypeValuesDescription
noptinteger-Channel number; for single-channel instruments, the value is 1.
stateenumON | 1 | OFF | 0Enables or disables the voltage level trigger.
enum - Returns the current state of the voltage level trigger.
:BATT:TRAC:TRIG:VOLT:STAT 1 Enable the voltage level trigger.

Clears the overvoltage, overcurrent, overtemperature, or reverse fault status. It also clears the related Questionable Instrument Summary Condition Register bit for those faults.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
:BATT:OUTP:PROT:CLE Clear the fault status.

Queries whether over-protection has been tripped in the battery simulator and battery test function.

NameTypeValuesDescription
noptinteger1Channel number; for single-channel instruments, the value is 1.
enum - Indicates which protection event occurred, or that nothing occurred.
:BATT:OUTP:PROT:TRIP? If the overvoltage protection circuit in channel 1 is
tripped, the query returns OVP.
If the protection circuit is not tripped, the query returns
NONE.

Sets the state of the instrument output for the specified channel. The state can be turned on, turned off, or disabled.

NameTypeValuesDescription
noptinteger1Channel number; for single-channel instruments, the value is 1.
stateenumOFF | 0 | ON | 1 | DISable | 2Turns the source off, on, or disables the source.
:BATT:OUTP ON Turn the battery output on.

Queries the present status of charging or discharging of the instrument.

enum - Returns the charging/discharging status of the instrument.
:BATT:STAT?

Specifies which math operation is performed on measurements for the selected measurement function. The math calculations are applied to the input signal after filter and relative offset operations.

NameTypeValuesDescription
nameenumMXBThe name of the math operation.
channeloptenumCH1 | CH2The channel number; default is CH1.
:CALC:VOLT:FORM MXB

Specifies the offset for the y = mx + b math operation. The offset applies to the selected measurement function and optionally a channel.

NameTypeValuesDescription
functionenumCONCurrent[:DC] | CURRent[:DC] | VOLTage[:DC]The measurement function to which this setting applies.
nreal-1e6 - +1e6The offset for the y = mx + b operation.
channelenumCH1 | CH2The channel number.

Sets the scale factor for the y = mx + b math operation on the selected measurement function. The setting applies to the specified channel, with CH1 as the default.

NameTypeValuesDescription
functionenumCONCurrent[:DC] | CURRent[:DC] | VOLTage[:DC]The measurement function to which this setting applies.
nreal-1e6 - +1e6The scale factor.
channelenumCH1 | CH2The channel number.
:CALCulate[1]:<function>:KMATh:MMFactor <n>
:CALCulate[1]:<function>:KMATh:MMFactor <n>,<channel>
:CALCulate[1]:<function>:KMATh:MMFactor?
:CALCulate[1]:<function>:KMATh:MMFactor? <channel>

Specifies the units suffix name for the y = mx + b math operation. Use one letter of the alphabet for the units suffix name.

NameTypeValuesDescription
stringstring-The units for the mx + b calculation; this parameter must be one character enclosed in single or double quotes and can be any letter of the alphabet.
channeloptenumCH1 | CH2The channel number to which the setting applies.
:CALC:VOLT:KMAT:MUN 'C' Set unit to 'C'

Enables or disables the math operations for the selected measurement function. When set to ON, the math operation specified by the math format command is performed before completing a measurement.

NameTypeValuesDescription
functionenumCONCurrent[:DC] | CURRent[:DC] | VOLTage[:DC]The measurement function to which this setting applies.
stateenumON | 1 | OFF | 0Enable or disable the math operation.
channeloptenumCH1 | CH2The channel number to which the setting applies.
:CALC:VOLT:FORM MXB Set the math function for voltage measurements to mx + b.
:CALC:VOLT:KMAT:MMF 0.80 Set the scale factor for voltage measurements to 0.80.
:CALC:VOLT:KMAT:MBF 50 Set the offset factor to 50.
:CALC:VOLT:KMAT:MUN 'C' Set unit to 'C'
:CALC:VOLT:STATE ON Enable the math function.

Reads the results of specified statistics. The command can optionally be applied to a selected channel; if the requested statistics have not been performed or the buffer is empty, the instrument returns -1.000000E+37.

NameTypeValuesDescription
channeloptenumCH1 | CH2Channel number to read; default is CH1.
string - Returns the calculation results of statistics in the order Minimum, Maximum, Mean, Standard deviation, and Peak to peak. If the specified statistics have not been performed yet or the buffer is empty, returns -1.000000E+37.
:CALC2:DATA?
:CALC2:DATA? <channel>

Selects or queries which math statistics are used on readings stored in the buffer. Multiple formats may be specified in any order, separated by commas.

NameTypeValuesDescription
itemListenumMINimum | MAXimum | MEAN | SDEViation | PKPK | NONEMath statistic format(s) to select for buffered readings.
channeloptenumCH1 | CH2Channel number to apply the format selection to.
returns
:CALC2:FORM MIN,MAX
:CALC2:FORM MIN,MAX,MEAN,PKPK,SDEV
:CALC2:FORM MAX,SDEV

Specifies or queries which data elements are included in the data string. It affects only minimum and maximum query results.

NameTypeValuesDescription
itemListenumREADing | UNIT | RNUMber | TSTampData elements to include in the data string.
channeloptenumCH1 | CH2Channel number; default is CH1.
string - Returns the configured data elements as a quoted string.

Selects which buffer data type is used for statistic operations. An optional channel number can be supplied; the query returns the currently selected function, optionally for a specified channel.

NameTypeValuesDescription
functionenumCURRent | VOLTageSelects current data only or voltage data only for statistic operations.
channeloptinteger1 - 2Channel number to query or set; default is CH1.
enum - Returns the selected function, optionally for the specified channel.
:CALCulate2:FUNCtion <function>
:CALCulate2:FUNCtion <function>,<channel>
:CALCulate2:FUNCtion?
:CALCulate2:FUNCtion? <channel>

Performs the selected statistic operation and reads the results. When queried, it finishes the selected statistic operation and returns the calculation results; if statistics are disabled or no results exist, it returns the last results or -1.000000E+37 as documented.

NameTypeValuesDescription
channeloptenumCH1 | CH2Selects the channel number; the default value is CH1.
numeric - Returns the calculation results in the order MIN, MAX, MEAN, PKPK, SDEV. The example shows values with units, and the manual states that if the buffer is empty or the statistic has never been performed, the instrument returns -1.000000E+37.
:CALCulate2:IMMediate
:CALCulate2:IMMediate <channel>
:CALCulate2:IMMediate?
:CALCulate2:IMMediate? <channel>

Enables or disables the statistic calculations. The command can also be applied to a specified channel, and the corresponding query reports the current state.

NameTypeValuesDescription
stateenumON | 1 | OFF | 0Enable or disable statistic calculations.
channeloptenumCH1 | CH2Channel number to which the setting applies; default is CH1.
enum - Returns the current statistic calculation state.
:CALC2:STATE ON

Changes the calibration password. The password must be an 8-character string including letters and numbers, and calibration mode must be enabled first using :CAL:PROT:STAT ON,<password>.

NameTypeValuesDescription
stringstring-Calibration password: an 8-character string including letters and numbers.
:CAL:PROT:CODE "12345678"

Returns the number of times that the instrument has completed calibration. The calibration count increases after the calibration constants are saved.

integer - The number of times that the instrument has completed calibration.
:CAL:PROT:COUN?

Queries the saved calibration constants from nonvolatile memory.

definite_length_block - Returns the calibration constants in order.
:CAL:PROT:DATA?

Specifies the calibration date and stores it in nonvolatile memory. The query returns the latest calibration date in the format <year> <month> <day>.

NameTypeValuesDescription
yearinteger1970Year; must be more than 1970.
monthinteger1 - 12Month value from 1 to 12.
dayinteger1 - 31Day value from 1 to 31.
:CALibration:PROTected:DATE <year>,<month>,<day>
:CALibration:PROTected:DATE?

Starts a calibration procedure step for the protected DC channel. The <step> parameter selects one of the calibration steps in the instrument's calibration process.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
stepenumStep1 | Step2 | Step3 | Step4 | Step5 | Step6 | Step7 | Step8 | Step9 | Step10 | Step11 | Step12Calibration step to perform.

Enters the values used for calibration calculations for the specified calibration step and channel. Some steps require a voltage value, some require voltage and resistance, and steps 6 and 8 require no external data entry.

NameTypeValuesDescription
stepinteger1 - 12Calibration step number to set data for.
voltagerealVVoltage reading from the external DMM.
resistancereal-Resistance of the resistor load.

Saves the calibration to nonvolatile memory after the calibration procedure has been completed. If calibration mode is exited without saving, the previous constants are restored.

:CAL:PROT:SAVE Save calibration constants to memory.

Enables or disables calibration procedures for remote calibration operations. A calibration password is required when using the command; disabling calibration mode during calibration can cause calibration data to be lost if not saved.

NameTypeValuesDescription
stateenumON | 1 | OFF | 0Enables or disables the calibration mode.
passwordstring-The calibration password, up to 8 characters and not case sensitive.
:CAL:PROT:STAT ON, 'KI002281'

Sets the specified digital I/O line to be a digital line and configures it as input or output. The function can be AUTO on lines 1 to 3, or one of the listed pulse/input modes.

NameTypeValuesDescription
ninteger1 - 6The digital I/O line number.
functionenumAUTO | MOUTH | MOUTL | MINPutThe pin state or function to assign to the selected line.
enum - Returns the present function setting for the selected digital I/O line.
:DIG:LINE1:FUNC MINPut Set digital I/O line 1 as a digital input pin.

Reads the data from the manual input to the specified digital I/O pin. If the line is not assigned to Manual Input, the query returns no data and the instrument generates error 508.

NameTypeValuesDescription
ninteger1 - 6The digital I/O line number.
integer - Returns the manual input data from the selected digital I/O line.
:DIG:LINE1:MAN:INP:DATA?

Sets and queries the brightness of the front-panel display. The setting is stored in nonvolatile memory.

NameTypeValuesDescription
brightnessreal5 - 100The brightness of the display.
real (%) - Returns the display brightness. The query supports the default, minimum, and maximum qualifiers.
:DISP:BRIG 50
:DISPlay:CLEarset / query

Removes the user-defined text message from the OUTPUT view screen and returns the instrument to normal mode. The channel defaults to CH1.

NameTypeValuesDescription
channeloptenumCH1 | CH2The channel number.
:DISP:CLE Clear the user-defined text message.
:DISPlay:SCREenset / query

Specifies which screen is displayed on the front-panel. It allows changing the screen shown on the display.

NameTypeValuesDescription
screenNameenumHOME | GRAPh | DATasheetThe screen to display.
:DISP:SCRE DAT Display the Data Sheet screen.

Defines the text displayed on the front-panel OUTPUT view screen. The message remains displayed only while the instrument is in remote operation; leaving remote operation cancels it.

NameTypeValuesDescription
stringstring-String that contains the message, up to 24 characters.
channeloptenumCH1 | CH2Channel number; default is CH1.
:DISP:USER:TEXT "Test running"

Enables or disables continuous triggering. When continuous initiation is enabled, sending :INITiate causes error -213, "init ignored."

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
stateenumOFF | 0 | ON | 1Disables or enables continuous triggering.
INIT:CONT OFF

Starts the trigger model.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.

Recalls the specified setup from the external USB flash drive to the instrument.

NameTypeValuesDescription
fileNamestring-A string that contains the name for the imported setup, maximum 8 characters.

Exports the present setup to the external USB flash drive. The saved setup name is specified by a file name string up to 8 characters.

NameTypeValuesDescription
fileNamestring-A string that contains a name for the saved setup (maximum 8 characters).
:MMEMory:SAVE:SETup "mysetup"

Specifies a delay that the instrument waits before turning off the specified output. It sets the falling delay so output will not turn off until the delay has elapsed, affecting on-to-off transitions.

NameTypeValuesDescription
nreal0 - 10Delay rising time in seconds.
channeloptenumCH1 | CH2Channel number; default is CH1.
qualifieroptenumMINimum | MAXimum | DEFaultQuery qualifier that returns the minimum, maximum, or default falling delay.
real (s) - Returns the falling delay. With DEFault, MINimum, or MAXimum, returns the default, minimum, or maximum delay value, respectively.
:OUTP:DELay:FALLing 1

Specifies the delay time the instrument waits before turning on the specified output. It affects off-to-on transitions, including :OUTPut:STATe ON.

NameTypeValuesDescription
nreal0 - 10Delay rising time.
channeloptenumCH1 | CH2Channel number; default is CH1.
qualifieroptenumMINimum | MAXimum | DEFaultQuery qualifier that returns the minimum, maximum, or default delay time.
real (s) - Returns the rising delay time for the specified channel, or the minimum, maximum, or default value when queried with MINimum, MAXimum, or DEFault.
:OUTP:DEL:RIS 1 Set the rising delay time to 1 s.

Enables or disables the output delay time used before turning the specified output on and off.

NameTypeValuesDescription
stateenumOFF | 0 | ON | 1Disables or enables output delay.
enum - Returns the current output delay state.
:OUTP:DEL:STAT ON

Clears the overvoltage, overcurrent, overtemperature, or reverse fault status. It also clears the related Questionable Instrument Summary Condition Register bit when one of those faults occurred.

NameTypeValuesDescription
channeloptenumCH1 | CH2The channel number; default value is CH1.
:OUTP:PROT:CLE Clear the protection status.

Queries whether overvoltage, overcurrent, overtemperature, or reverse fault protection has been tripped.

NameTypeValuesDescription
channeloptenumCH1 | CH2The channel number; default value is CH1.
enum - Returns the protection trip status for the specified channel.
:OUTP:PROT:TRIP? CH1
:OUTPut[:STATe]set / query

Enables or disables the source output. The command accepts an output state and an optional channel number; the query form returns the present state.

NameTypeValuesDescription
stateenumOFF | 0 | ON | 1 | DISable | 2Turns the source output off, on, or disables the source.
channeloptenumCH1 | CH2Selects the channel number; the default is CH1.
enum - Returns the present output state.
:OUTP ON Switch the source output of the instrument to ON.

Selects which type of measurement is active: concurrent, current, or voltage. The setting is saved with the function and is affected by recall settings, instrument reset, save settings, and power cycle.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
namestring-String containing the measurement function to make active: CONCurrent[:DC], CURRent[:DC], or VOLTage[:DC].
string - Returns the measure function that is presently active.
:SENS:FUNC "VOLT"

Sets the number of measurements averaged when filtering is enabled for the specified function. The count is saved in recall settings and restored by instrument reset or power cycle.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
functionenumCONCurrent[:DC] | CURRent[:DC] | VOLTage[:DC]Measurement function to which this setting applies.
valueinteger2 - 100Number of readings required for each filtered measurement.
integer - Returns the average filter count. The command supports DEFault, MINimum, and MAXimum qualifiers for querying the current, minimum, or maximum count.

Enables or disables the averaging filter for measurements of the selected function. When enabled, the instrument returns an averaged value taken from multiple measurements.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
functionenumCONCurrent[:DC] | CURRent[:DC] | VOLTage[:DC]The measurement function to which the setting applies.
stateenumOFF | 0 | ON | 1Filter status to disable or enable the averaging filter.
enum - Returns the current averaging filter state.

Sets the type of averaging filter used for measurements for the selected function when measurement filtering is enabled. The only documented filter type is Moving (MOVing) average.

NameTypeValuesDescription
typeenumMOVingThe filter type to use when filtering is enabled.
enum - Returns the current averaging filter type.
:SENSe[n]:<function>:AVERage:TCONtrol <type>
:SENSe[n]:<function>:AVERage:TCONtrol?

Specifies the filter window used to control the filter threshold. The value is saved in settings and restored by recall, reset, and power cycle.

NameTypeValuesDescription
noptinteger-Channel number; for single-channel instruments, the value is 1.
functionenumCONCurrent[:DC] | CURRent[:DC] | VOLTage[:DC]Measurement function to which the setting applies.
valuereal0.01 - 100Filter window as a percentage; acceptable values are 0.01, 0.1, 1, 10, and 100.
real (%) - Returns the current filter window percentage, or the minimum, maximum, or default value when queried with DEFault, MAXimum, or MINimum.
SENS:CONC:AVER:WIND 0.1

Determines the number of digits displayed for measurements on the front panel. It does not affect the number of digits returned in a remote command reading, nor measurement accuracy or speed.

NameTypeValuesDescription
noptinteger-Channel number; for single-channel instruments, the value is 1.
functionenumCONCurrent[:DC] | CURRent[:DC] | VOLTage[:DC]Measurement function to which this setting applies.
valueinteger4 - 6Front panel display resolution in digits: 4.5-digit, 5.5-digit, or 6.5-digit resolution.
qualifieroptenumMINimum | MAXimum | DEFaultFor query forms, returns the minimum, maximum, or default digit setting.
integer - Returns the current number of digits displayed for measurements on the front panel, or the minimum, maximum, or default setting when queried with MINimum, MAXimum, or DEFault.
:SENS:CURR:DIG 5

Sets the number of power-line cycles used to measure the selected function. The setting applies to concurrent, current, or voltage measurements and is saved in recall/save settings, reset, and power-cycle behavior.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
functionenumCONCurrent[:DC] | CURRent[:DC] | VOLTage[:DC]Measurement function to which this setting applies.
valuereal0.002 - 12Number of power-line cycles for each measurement; 0.002 to 12 for 50 Hz and 0.002 to 15 for 60 Hz.
real - Returns the number of power-line cycles for each measurement. For the query form, DEFault, MINimum, and MAXimum are also accepted.
:SENS:CURR:NPLC 0.5

Sets or queries the measurement range for the selected function. When read, it returns the range the instrument is presently using; assigning a value disables autorange for that measurement function.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
functionenumCONCurrent | CURRent | VOLTageMeasurement function whose range is set or queried.
rangereal-Specific measurement range value or preset value.
real - Returns the currently set measurement range; for queries with a qualifier, returns the default, minimum, or maximum range as requested.
:SENSe[n]:CONCurrent[:DC]:RANGe <range>
:SENSe[n]:CONCurrent[:DC]:RANGe?
:SENSe[n]:CONCurrent[:DC]:RANGe? DEFault
:SENSe[n]:CONCurrent[:DC]:RANGe? MINimum
:SENSe[n]:CONCurrent[:DC]:RANGe? MAXimum
:SENSe[n]:CURRent[:DC]:RANGe <range>
:SENSe[n]:CURRent[:DC]:RANGe?
:SENSe[n]:CURRent[:DC]:RANGe? DEFault
:SENSe[n]:CURRent[:DC]:RANGe? MINimum
:SENSe[n]:CURRent[:DC]:RANGe? MAXimum
:SENSe[n]:VOLTage[:DC]:RANGe <range>
:SENSe[n]:VOLTage[:DC]:RANGe?

Determines whether the measurement range for the selected function is chosen manually or automatically. When set to OFF/0, the range must be set explicitly; when set to ON/1, the instrument selects the most sensitive range automatically.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
functionenumCONCurrent[:DC] | CURRent[:DC]Measurement function to which the setting applies.
stateenumOFF | 0 | ON | 1Selects manual range selection (OFF or 0) or automatic range selection (ON or 1).
enum - Returns the current autorange setting as OFF/0 or ON/1.

Specifies the relative offset value for the measurement. When relative offset is enabled, subsequent measured readings are offset by the value set for this command.

NameTypeValuesDescription
refreal-6.1 - 6.1Relative offset value for concurrent and current measurements.
real (A) - Returns the internally measured relative offset value.
:SENS:CONC:REF 1

Acquires a new measurement for the selected function and stores it as the relative offset value. The measurement is taken without applying filter operations.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
functionenumCONCurrent[:DC] | CURRent[:DC] | VOLTage[:DC]Measurement function to which the setting applies.
:SENS:VOLT:REF:ACQ Acquire a relative offset value for voltage measurements.

Enables or disables a relative offset value for the selected measurement function. When enabled, subsequent measured readings are offset by the relative offset value; for concurrent measurements, the offset applies only to current measurements.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
functionenumCONCurrent[:DC] | CURRent[:DC] | VOLTage[:DC]Measurement function to which this setting applies.
stateenumOFF | 0 | ON | 1Disables or enables the relative offset.
:SENS:FUNC "VOLT" Set the measurement function to voltage with a
:SENS:VOLT:REF:ACQ relative offset of 5 V and enable the relative offset
:SENS:VOLT:REF:STATe ON function.

Sets the measurement resolution for the selected measurement function. The resolution applies to the specified function and channel, and the available settings are 4.5, 5.5, or 6.5 digits.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
functionenumCONCurrent[:DC] | CURRent[:DC] | VOLTage[:DC]Measurement function to which the resolution setting applies.
valueinteger-Resolution selection: 4 for 4.5 digits, 5 for 5.5 digits, or 6 for 6.5 digits.
:SENS:CURR:RES 5 Set the 5½ digit measurement resolution

Reads and clears the Measurement Event Register of the status model. The instrument returns a decimal value corresponding to the binary-weighted sum of all bits set in the register.

integer - Decimal value corresponding to the binary-weighted sum of all bits set in the Measurement Event Register.
:STATus:MEASurement[:EVENt]?

Sets or reads the contents of the Measurement Event Enable Register of the status model. The command accepts a numeric value written in decimal, binary (#b), or hexadecimal (#h).

NameTypeValuesDescription
ninteger-The status of the Measurement Status Register.
integer - Returns the contents of the Measurement Event Enable Register as a decimal value.
:STATus:MEASurement:ENABle <n>
:STATus:MEASurement:ENABle?

Reads and clears the Measurement Instrument Event Register of the status model. The instrument returns a decimal value corresponding to the binary-weighted sum of all bits set in the register.

integer - Decimal value corresponding to the binary-weighted sum of all bits set in the Measurement Instrument Event Register.

Sets or reads the contents of the Measurement Instrument Event Enable Register of the status model. When a corresponding event bit is set, the ISUM bit in the Measurement Event Register is also set.

NameTypeValuesDescription
ninteger-Status enable register value.
:STAT:MEAS:ENAB #b0010000000000000

Reads the Measurement Instrument Summary Event Register of the status model and clears the register. The instrument returns a decimal value corresponding to the binary-weighted sum of all bits set in the register.

integer - Decimal value corresponding to the binary-weighted sum of all bits set in the Measurement Instrument Summary Event Register.
:STAT:MEAS:INST:ISUM?

Sets or reads the contents of the Measurement Instrument Summary Enable Register of the status model. It controls the enable register of the Measurement Instrument Summary Event Register (MISER).

NameTypeValuesDescription
ninteger0 - 65535Value written to the Measurement Instrument Summary Enable Register; may be sent as decimal, binary (#b), or hexadecimal (#h).
integer - The status of the Measurement Instrument Summary Enable Register.
:STAT:MEAS:INST:ISUM:ENAB #b0000100000000001

Reads the contents of the Measurement Instrument Summary Condition Register of the status model.

integer - Returns the contents of the Measurement Instrument Summary Condition Register of the status model.
:STAT:MEAS:INST:ISUM:COND?

Reads and clears the Operation Event Register of the status model. The instrument returns a decimal value corresponding to the binary-weighted sum of all bits set in the register.

integer - The decimal value of the Operation Event Register, representing the binary-weighted sum of all bits set in the register.
:STATus:OPERation[:EVENt]?

Sets or reads the contents of the Operation Event Enable Register of the status model. When bits are set in this register and the corresponding bits in the Operation Event Register are set, the OSB bit in the Status Byte Register is set.

NameTypeValuesDescription
ninteger0 - 8192The status of the operation status register.
:STAT:OPER:ENAB #b0010000000000000

Reads and clears the Operation Instrument Event Register of the status model. The instrument returns a decimal value corresponding to the binary-weighted sum of all bits set in the register.

integer - Decimal value corresponding to the binary-weighted sum of all bits set in the register.

Sets or reads the contents of the Operation Instrument Enable Register of the status model. Sending binary values requires a #b prefix and hexadecimal values a #h prefix; decimal values need no prefix.

NameTypeValuesDescription
ninteger-Value to write to the Operation Instrument Enable Register.
:STAT:OPER:INST:ENAB #b0000000000000010

Reads the Operation Instrument Summary Event Register of the status model and clears the register.

integer - Returns a decimal value corresponding to the binary-weighted sum of all bits set in the register.

Sets or reads the contents of the Operation Instrument Summary Enable Register of the status model. It accepts decimal, binary (#b), or hexadecimal (#h) values.

NameTypeValuesDescription
ninteger-Value to write to the Operation Instrument Summary Enable Register.
integer - The status of the Operation Instrument Summary Enable Register.
:STAT:OPER:INST:ISUM:ENAB #b0000000100010000 Sets the filter and measure bits of the
Operation Instrument Summary Enable
Register using a binary value.
You could also send the decimal value
272 or the hexadecimal value #h110

Reads the contents of the Operation Instrument Summary Condition Register of the status model.

integer - Returns the contents of the Operation Instrument Summary Condition Register.
:STAT:OPER:INST:ISUM:COND? Returns the contents of the Operation
:STATus:PRESetset / query

Resets all the device-dependent enable registers to 0, including the operation, measurement, and questionable event enable registers and their instrument/summary variants.

Reads the Questionable Event Register of the status model and then clears the register.

integer - Returns a decimal value corresponding to the binary-weighted sum of all bits set in the Questionable Event Register.
:STAT:QUES? Returns the contents of Questionable Event Register

Sets or reads the contents of the Questionable Event Enable Register of the status model. When set, bits in this register enable the corresponding bits in the Questionable Event Register and can set the QSM bit in the Status Byte Register.

NameTypeValuesDescription
ninteger-The value of the Questionable Status Enable Register.
:STAT:QUES:ENAB #b0010000000000000

Reads and clears the Questionable Instrument Event Register of the status model.

integer - Returns a decimal value corresponding to the binary-weighted sum of all bits set in the register.

Sets or reads the contents of the Questionable Instrument Event Enable Register of the status model. When one of these bits is set and the corresponding bit in the Questionable Instrument Event Register is set, the ISUM bit in the Questionable Event Register is set.

NameTypeValuesDescription
ninteger0 - 65535The status of the Questionable Instrument Event Enable Register.
:STAT:QUES:INST:ENAB #b0000000000000010

Reads the Questionable Instrument Summary Event Register of the status model and clears the register. The instrument returns a decimal value equal to the binary-weighted sum of all bits set in the register.

integer - Decimal value corresponding to the binary-weighted sum of all bits set in the Questionable Instrument Summary Event Register.
:STAT:QUES:INST:ISUM?

Sets or reads the contents of the Questionable Instrument Summary Event Enable Register of the status model. When bits are set and the corresponding bit in the QISER is set, bit 1 in the Questionable Instrument Event Register is set.

NameTypeValuesDescription
ninteger-The status of the Questionable Instrument Summary Event Enable Register.
integer - Returns the contents of the Questionable Instrument Summary Event Enable Register as a decimal value.
:STATus:QUEStionable:INSTrument:ISUMmary:ENABle <n>
:STATus:QUEStionable:INSTrument:ISUMmary:ENABle?

Reads the contents of the Questionable Instrument Summary Condition Register of the status model.

integer - Returns the contents of the Questionable Instrument Summary Condition Register.
:STAT:QUES:INST:ISUM:COND?

Enables or disables the autozero function. When autozero is disabled, reference and internal temperature measurements are not performed, increasing measurement speed.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
stateenumOFF | 0 | ON | 1Disables or enables autozero.
:SYST:AZER OFF

Turns the error beeper on or off. When enabled, a beep signals that an error has happened.

NameTypeValuesDescription
stateenumOFF | 0 | ON | 1Disables or enables the beeper for error messages.
:SYSTem:BEEPer:ERRor ON Enable the error beeper.

Causes remote control to transfer to the present interface. When sent by one interface, the present active interface is blocked and the sending interface becomes active.

SYSTem:COMMunication:ABORt

Specifies the LAN configuration for the instrument. Automatic configuration uses DHCP first and then DLLA; manual configuration lets you define the IP address, subnet mask, and default gateway.

NameTypeValuesDescription
modeenumAUTO | MANualSelects automatic or manual LAN configuration.
ipaddressoptstring-LAN IP address in dotted decimal notation; required when mode is MANual.
netmaskoptstring-LAN subnet mask in dotted decimal notation.
gatewayoptstring-LAN default gateway in dotted decimal notation.
enum - Returns the current LAN configuration mode.
:SYSTem:COMMunication:LAN:CONFigure AUTO
:SYSTem:COMMunication:LAN:CONFigure MANual,"<IPaddress>"
:SYSTem:COMMunication:LAN:CONFigure MANual,"<IPaddress>","<NETmask>"
:SYSTem:COMMunication:LAN:CONFigure MANual,"<IPaddress>","<NETmask>","<GATeway>"
:SYSTem:COMMunication:LAN:CONFigure?

Queries the LAN MAC address of the instrument. The MAC address is returned as a hexadecimal character string with colons separating the octets.

string - Returns the MAC address, for example 00:60:1A:00:00:57.
:SYSTem:COMMunication:LAN:MACaddress?
:SYSTem:DATEset / query

Sets or queries the instrument calendar date. The query returns the present date in the format <year>,<month>,<day>.

NameTypeValuesDescription
yearinteger1971Year to set; must be more than 1970.
monthinteger1 - 12Month to set.
dayinteger1 - 31Day to set.
string - The present date in the format <year>,<month>,<day>.
:SYST:DATE 2014, 5, 12 Set the system date to May 12, 2014.

Reads the oldest error message from the event log. The error queue is FIFO and holds up to 64 messages; reading this command clears the returned error from the queue.

string - Returns the next entry from the error queue; if the queue is empty, it returns 0,"No error".
:SYST:ERR?

Reads and clears the oldest error code. The command returns the numeric code of the last error in the event log, and the error is cleared from the queue after being read.

integer - Returns the numeric code of the last error in the event log. For example, if error -222 occurred, the output is -222.
:SYST:ERR:CODE? Returns the error number of the last error in the error queue.

Returns the number of errors in the error queue. It does not clear the errors from the queue.

integer - The number of errors currently in the error queue.
:SYST:ERR:COUN?

Saves all event log entries since the last clear command to a USB flash drive. The .csv extension is automatically added to the filename.

NameTypeValuesDescription
fileNamestring-The name of the file to be saved.
:SYST:EVEN:SAVE "error_log"

Sets the GPIB address of the instrument. The address can be set from 1 to 30 and is saved in nonvolatile memory.

NameTypeValuesDescription
noptinteger1 - 30The GPIB address of the instrument.
integer - Returns the current GPIB address.
:SYST:GPIB:ADDR 26
:SYST:GPIB:ADDR?
:SYSTem:KCLickset / query

Enables or disables the key click sound. When enabled, front-panel key presses produce a sound signaling that a key has been pressed.

NameTypeValuesDescription
stateenumOFF | 0 | ON | 1Disables or enables the key click sound.
:SYSTem:KCLick ON Enable the key clicks.
:SYSTem:LOCalset / query

Takes the instrument out of remote operation and restores the front-panel controls.

Returns the line frequency that was automatically detected when the instrument was turned on. The line frequency can be 50 Hz or 60 Hz.

real (Hz) - The detected power line frequency.
:SYST:LFR? Return the line frequency.

Sets a remote interface to lock mode. When password protection is enabled, sending this command disables the remote interface and prevents SCPI commands from that interface except :SYSTem:LOCal.

NameTypeValuesDescription
passwordstring-The password for remote connection.

Sets the protection mode for the remote connection. When set to ALL, a password is required before sending :SYSTem:PASSword:LOCK or :SYSTem:PASSword:UNLock.

NameTypeValuesDescription
valueenumALL | NONEEnable or disable password protection.
:SYST:PASS:MODE ALL Enable the password protection.

Sets a new password for the remote connection. The instrument keeps using the old password until the change command has finished executing.

NameTypeValuesDescription
string1string-The present password, up to 8 characters.
string2string-The new password, up to 8 characters.
:SYST:PASS:NEW "admin","123456" Change the password of the instrument to 123456

Enables a remote interface. When the remote interface is locked, sending the command with the correct password releases it; a wrong password causes error 509, "System password not correct."

NameTypeValuesDescription
passwordstring-The password for remote mode.
:SYST:PASS:UNL "admin"

Enables or disables default setup loading. When set to On, the power setup loads setup 1 immediately after power-on.

NameTypeValuesDescription
stateenumOFF | 0 | ON | 1Disable or enable default setup loading.
:SYST:POS:STAT ON
:SYST:POS:STAT?
:SYSTem:PRESetset / query

Returns the instrument to the factory default conditions and erases all user data stored in nonvolatile memory. It does not influence the status structure registers or error queue, and it resets the GPIB and IP addresses to default settings.

:SYST:PRES
:SYSTem:RWLockset / query

Locks out the front-panel controls so the instrument can only be controlled through the remote interface.

:SYST:RWLock
:SYSTem:TIMEset / query

Sets the absolute time of the instrument. The query returns the present timestamp in the format <hour>,<minute>,<second>.

NameTypeValuesDescription
hourinteger0 - 23Hour in 24-hour time format.
minuteinteger0 - 60Minute value.
secondinteger0 - 60Second value.
string - Returns the present timestamp in the format <hour>,<minute>,<second>.
:SYST:TIME 5, 51, 30

Queries the present SCPI standard version.

string - Returns the SCPI standard version.
:SYST:VERS?

:DATA[n]:CLEarset / query

Clears all readings in the buffer.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
:DATA:CLE Clear the data buffer.

Enables or disables the buffer autoclear feature. With autoclear enabled, the buffer is automatically cleared when the storage process starts; when disabled, new readings append until the buffer is full or storage stops.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
stateenumON | 1 | OFF | 0Enable or disable autoclear.
:DATA:CLE:AUTO ON

Returns all the readings from the buffer. If no buffer elements are specified, the default list is READing, SOURce, UNIT, and RELative.

NameTypeValuesDescription
bufferElementsoptstring-A list of elements in the buffer to print.
string - Returns the readings stored in the buffer, formatted according to the selected buffer elements.

Returns specified data elements in the buffer for the given channel and index range.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
startinteger1 - 2500Beginning index of the buffer to return.
endinteger1 - 2500Ending index of the buffer to return.
bufferElementsoptstring-A list of elements in the buffer to print; if nothing is specified, defaults to READing, SOURce, UNIT, and RELative.
string - Specified data elements from the buffer.
.
:DATA[n]:FEEDset / query

Selects the source of readings for the trace buffer. For single-channel instruments, the channel number n is 1.

NameTypeValuesDescription
noptinteger1 - 1Channel number.
nameenumSENSe | CALCulateSelects whether readings are stored before the math calculation or after the math calculation.
enum - Returns the current source of readings.
:DATA:FEED SENSe Set the source of readings to SENSe and query the
:DATA:FEED? source.

Sets or queries whether the reading buffer is filled once or continuously. The buffer control mode can be NEXT, ALWays, or NEVer.

NameTypeValuesDescription
nameenumNEXT | ALWays | NEVerBuffer control mode.
enum - Returns the current buffer fill mode.
:DATA:FEED:CONT ALWays Set the buffer mode to always and query the mode.
:DATA:FEED:CONT? Output is: ALW
:DATA[n]:POINtsset / query

Sets or queries the number of readings a buffer can store. For the query form, MINimum, MAXimum, and DEFault are supported qualifiers.

NameTypeValuesDescription
newSizeinteger2 - 2500The new size for the buffer.
qualifieroptenumDEFault | MINimum | MAXimumQuery qualifier returning the default, minimum, or maximum buffer size.
integer - Returns the number of readings a buffer can store. With DEFault, MINimum, or MAXimum, returns the default, minimum, or maximum buffer size, respectively.
:DATA:POIN? Query the capacity of the buffer.

Queries the number of readings presently stored in the buffer.

integer - The number of readings presently stored in the buffer.
:DATA:POIN:ACT?
:DATA[n]:SAVEset / query

Saves data from the specified reading buffer to a USB flash drive. The file name is required, and optional arguments select the time format and buffer range to save.

NameTypeValuesDescription
fileNamestring-Name of the file on the USB flash drive in which to save the reading buffer.
timeFormatoptenumTSTamp | RELative | RSTampSelects which time information is saved in the file.
startoptinteger-Starting point in the buffer from which to begin saving data.
endoptinteger-Ending point in the buffer at which to stop saving data.
:DATA:SAVE "myData"
:DATA:SAVE "myDataRel", REL
:DATA:SAVE "myDataRel100",REL,1,100

:TRACe[n]:CLEarset / query

Clears all readings in the buffer. For single-channel instruments, the channel number is 1.

NameTypeValuesDescription
noptinteger1 - 1Channel number.
:TRAC:CLE Clear the data buffer.

Enables or disables the buffer autoclear feature. When enabled, the buffer automatically clears when the storage process starts; when disabled, readings append until the buffer is full or storage stops.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
stateenumON | 1 | OFF | 0Enable or disable autoclear.
enum - Returns the current autoclear setting.
:TRAC:CLE:AUTO ON Enable autoclear for the buffer.

Returns all readings from the buffer. The optional <bufferElements> list selects which buffer fields are returned; if omitted, it defaults to READing, SOURce, UNIT, and RELative.

NameTypeValuesDescription
bufferElementsoptenumREADing | SOURce | UNIT | RELative | MODE | DATE | TIME | TSTampA list of elements in the buffer to print.
string - Returns the readings stored in the buffer up to the time the query is sent.

Returns specified data elements in the trace buffer. The buffer elements can be selected and the command returns readings between the requested start and end indices.

NameTypeValuesDescription
startinteger1 - 2500Beginning index of the buffer to return.
endinteger1 - 2500Ending index of the buffer to return.
bufferElementsoptenumREADing | SOURce | UNIT | MODE | DATE | TIME | TSTamp | RELative | RSTamp | RNUMberList of buffer elements to print; if omitted, defaults to READing, SOURce, UNIT, and RELative.
string - Returns the selected buffer data elements for the specified reading range.
:TRAC:DATA:SEL? 1, 99, "READ,SOUR,REL"
:TRACe[n]:FEEDset / query

Selects the source of readings for the trace buffer. For single-channel instruments, [n] is 1.

NameTypeValuesDescription
noptinteger1 - 1Channel number.
nameenumSENSe | CALCulateSelects whether readings are stored before or after the math calculation.
enum - Returns the current source of readings.
:TRACe:FEED SENS
:TRACe:FEED?

Determines whether a reading buffer is filled continuously or filled once and then stops. It can also be queried to read the current buffer fill mode.

NameTypeValuesDescription
nameenumNEXT | ALWays | NEVerBuffer control mode: fill once, fill continuous, or no measurements to fill the buffer.
enum - Returns the reading buffer fill mode.
:TRACe:FEED:CONT ALW Set the buffer mode to always and query the mode.
:TRACe:FEED:CONT? Output is: ALW
:TRACe[n]:POINtsset / query

Sets or queries the number of readings a buffer can store. The value is saved with settings and is affected by instrument reset and power cycle.

NameTypeValuesDescription
newSizeinteger2 - 2500The new size for the buffer.
integer - Returns the number of readings a buffer can store. With DEFault, MINimum, or MAXimum, returns the default, minimum, or maximum buffer size.
:TRAC:POIN? Query the capacity of the buffer.

Queries the number of readings presently stored in the buffer.

integer - The number of readings presently stored in the buffer.
:TRAC:POIN:ACT? Query the number of stored reading in the buffer. Output: 200
:TRACe[n]:SAVEset / query

Saves data from the specified reading buffer to a USB flash drive. Optional arguments select the time format and the start and end points in the buffer.

NameTypeValuesDescription
fileNamestring-Name of the file on the USB flash drive in which to save the reading buffer.
timeFormatoptenumTSTamp | RELative | RSTampSpecifies which time information is saved in the file.
startoptinteger-Starting point in the buffer to begin saving data.
endoptinteger-Ending point in the buffer to stop saving data.
:TRAC:SAVE "myData" Save all readings and default time information to a file
:TRAC:SAVE "myDataRel", REL named myData.csv on the USB flash drive.
:TRAC:SAVE "myDataRel100",REL,1,100 Save all readings and relative time stamps to a file
:TRAC:SAVE "myDataRel100",REL,1,100 named myDataRel.csv on the USB flash drive.
:TRAC:SAVE "myDataRel100",REL,1,100 Save the buffer readings from 1 through 100 to a file
:TRAC:SAVE "myDataRel100",REL,1,100 named myDataRel100.csv on the USB flash drive.

Configures the current threshold value for the level trigger. The allowed range depends on the trace feed and relative status.

NameTypeValuesDescription
currentThresholdreal-1.0E7 - 1.0E7The current threshold value for the level trigger.
real - Returns the current threshold value.
TRAC:TRIG:CURR 1
TRAC:TRIG:CURR?

Specifies whether the current level trigger activates when current rises above or falls below the specified threshold. The setting is saved across power cycles.

NameTypeValuesDescription
directionenumRISE | FALLDirection of the current level trigger.
enum - Returns the current trigger direction setting.
TRAC:TRIG:CURR:DIR RISE
TRAC:TRIG:CURR:DIR?

Determines whether the current level trigger function is enabled. It is a command and query with default value 0 (OFF).

NameTypeValuesDescription
stateenumON | 1 | OFF | 0Enables or disables the current level trigger function.
enum - Returns whether the current level trigger function is enabled; 1 indicates the trigger has occurred, OFF/0 indicates disabled or not enabled as set.
TRAC:TRIG:CURR:STAT 1
TRAC:TRIG:CURR:STAT?3

Queries whether a level trigger has occurred. If a level trigger has occurred, the value 1 is returned.

integer - Returns 1 if a level trigger has occurred.
TRAC:TRIG:OCC?

Defines the number of points at which the instrument begins to log data in the buffer.

NameTypeValuesDescription
valueinteger0 - 100Number of points before logging begins.
integer - Returns the current offset value.
TRAC:TRIG:OFFS 10
TRAC:TRIG:OFFS?

Specifies whether the voltage rises above or falls below a specified level when the level trigger is activated. The default value is RISE.

NameTypeValuesDescription
directionenumRISE | FALLSelects the trigger direction.
enum - Returns the current trigger voltage direction.
TRAC:TRIG:VOLT:DIR RISE
TRAC:TRIG:VOLT:DIR?

Configures the voltage threshold for the level trigger. The allowable threshold range depends on the trace feed and relative status.

NameTypeValuesDescription
voltageThresholdreal-1.0E8 - 1.0E8Voltage threshold value when TRACe:FEED is CALC.
voltageThresholdreal0 - 20Voltage threshold value when TRACe:FEED is SENSe and Relative is off.
TRAC:TRIG:VOLT 20
TRAC:TRIG:VOLT?

Determines whether the voltage level trigger function is enabled.

NameTypeValuesDescription
stateenumON | 1 | OFF | 0Enables or disables the voltage level trigger function.
enum - Returns whether the voltage level trigger function is enabled.
TRAC:TRIG:VOLT:STAT 1
TRAC:TRIG:VOLT:STAT?

Sets the number of times to repeat the trigger event. The command is available as both a setter and a query, with optional sequence index n; queries also support DEFault, MINimum, and MAXimum qualifiers.

NameTypeValuesDescription
countinteger1 - 2500The number of times to repeat the trigger.
integer - Returns the trigger count; with DEFault, MINimum, or MAXimum it returns the default, minimum, or maximum count value respectively.
:TRIG:COUN 4

Sets the number of measurements per trigger event. The command is also available as a query, including DEFault, MINimum, and MAXimum qualifiers.

NameTypeValuesDescription
countinteger1 - 2500The number of measurements per trigger event.
integer - Returns the current sample count. With DEFault, MINimum, or MAXimum, returns the default, minimum, or maximum allowed count, respectively.
:TRIG:SAMP:COUN 10

Selects the control source for the trigger layer. The source can be immediate, external, or manual triggering.

NameTypeValuesDescription
noptinteger1 - 1Channel number; for single-channel instruments, the value is 1.
sourceenumIMMediate | EXTernal | MANualTrigger source for the trigger layer.
enum - Returns the current trigger source for the trigger layer.
:TRIG:SOUR EXT Select external triggering as the trigger source.