/

Keithley

/

Keithley 2470

SCPI COMMAND REFERENCE

Keithley 2470

Keithley 2470

The Keithley 2470 is Keithley's source measure unit in the 2470 family. Its SCPI remote-control interface exposes 186 commands across 19 subsystems - 142 settable and 44 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.

186

Commands

142

Settable

44

Queries

19

Subsystems

SCPI

Verified

2026-07-16

All commands

:FETCh?query

Requests the latest reading from a reading buffer. If no buffer name is specified, defbuffer1 is used; if buffer elements are specified, they control which data fields are returned.

NameTypeValuesDescription
bufferNameoptstring-The name of the buffer where the reading is stored.
bufferElementsoptenumDATE | FORMatted | FRACtional | READing | RELative | SEConds | SOURce | SOURFORMatted | SOURSTATus | SOURUNIT | STATus | TIME | TSTamp | UNITBuffer elements to include in the returned reading.
string - Returns the last available reading from a reading buffer, formatted according to the selected data format and requested buffer elements.
FETCh? "defbuffer1", DATE, READ

Makes a measurement, stores the reading in a buffer, and returns the last reading. If no function is specified, the instrument uses the presently selected measure function.

string - Returns the last reading from the measurement.
MEAS:VOLT? "voltMeasBuffer", FORM, DATE, READ

:READ?query

Makes measurements, stores them in a reading buffer, and returns the last reading. If no buffer name is specified, defbuffer1 is used; if no buffer elements are specified, READing is used.

NameTypeValuesDescription
bufferNameoptstring-Name of the buffer where the reading is stored.
bufferElementsoptenumDATE | FORMatted | FRACtional | READing | RELative | SEConds | SOURce | SOURFORMatted | SOURSTATus | SOURUNIT | STATus | TIME | TSTamp | UNITBuffer elements to include in the stored reading.
string - Returns the last reading as a reading.
:READ? "voltMeasBuffer", FORM, DATE, READ

*RCLset / query

Returns the instrument to the setup stored in the specified memory location. Restores the state from user-saved settings saved with *SAV.

NameTypeValuesDescription
ninteger0 - 4Memory location of the saved setup to recall.
*RCL 3
*SAVset / query

Saves the present instrument settings as a user-saved setup in nonvolatile memory. Up to five setups can be saved, and any previously stored settings in the selected location are overwritten.

NameTypeValuesDescription
ninteger0 - 4Specifies the saved setup memory location.
*SAV 3
*CLSset / query

Clears the event registers and queues. It resets the Operation Event Register, Error Queue, and Questionable Event Register to 0 without affecting the Questionable Event Enable or Operation Event Enable registers.

*CLS
*ESEset / query

Sets or queries bits in the Status Enable register of the Standard Event Register. The register value is a decimal sum of the set bits.

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

Reads and clears the contents of the Standard Event Status Register.

integer - Returns a decimal value corresponding to the binary-weighted sum of all bits set in the Standard Event Status Register, then clears the register.
*ESR?
*IDN?query

Retrieves the instrument identification string. The string includes the manufacturer, model number, serial number, and firmware revision.

string - The identification string formatted as KEITHLEY INSTRUMENTS,MODEL nnnn,xxxxxxxx,yyyyyy.
*IDN?
Output:
KEITHLEY INSTRUMENTS,MODEL 2470,01234567,1.0.0i
*LANGset / query

Determines which command set is used by the instrument. The setting is saved in nonvolatile memory; changing it requires a reboot.

NameTypeValuesDescription
commandSetenumTSP | SCPIThe command set to be used.
enum - Returns the current command set in use.
*LANG TSP
*LANG?
*OPCset / query

Sets the operation complete (OPC) bit after all pending commands, including overlapped commands, have been executed.

*RSTset / query

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

*RST
*SREset / query

Sets or clears the bits of the Status Request Enable Register, and can also query the register value. The instrument returns a decimal value corresponding to the binary-weighted sum of all bits set in the register.

NameTypeValuesDescription
ninteger0 - 255Value used to clear or set the Status Request Enable Register.
integer - Decimal value corresponding to the binary-weighted sum of all bits set in the Status Request Enable Register.
*SRE 0
*STB?query

Gets the status byte of the instrument without clearing the request service bit. It returns the same result as a serial poll, but the master summary bit is not cleared if a serial poll has occurred.

integer - The instrument status byte.
*TRGset / query

Generates a trigger event from a remote command interface. In the SCPI command set it generates the COMMand event; in the TSP command set it generates the trigger.EVENT_COMMAND event.

*TST?query

Returns 0. A self-test is not actually performed.

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

Postpones execution of subsequent commands until all previous overlapped commands are finished. It is typically sent after the initiate trigger model command.

*WAI

Specifies which math operation is performed on measurements when math operations are enabled. If sent without the <function> parameter, it sets the math format for all measure functions.

NameTypeValuesDescription
functionenumCURRent[:DC] | RESistance | VOLTage[:DC]The measure function to which the math format applies.
operationenumMXB | PERCent | RECiprocalThe math operation to perform on the selected measurements.
:CALC:VOLT:MATH:FORM MXB Set the math function for voltage measurements to mx+b.
:CALC:VOLT:MATH:MMF 0.80 Set the scale factor for voltage measurements to 0.80.
:CALC:VOLT:MATH:MBF 50 Set the offset factor to 50.
:CALC:VOLT:MATH:STAT ON Enable the math function.

Specifies the offset factor b for the y = mx + b math operation. If <function> is omitted, the setting applies to all measure functions.

NameTypeValuesDescription
functionoptenumCURRent[:DC] | RESistance | VOLTage[:DC]Measure function to which the offset applies.
noptreal-1e12 - +1e12Offset value for the y = mx + b operation.
qualifieroptenumDEFault | MINimum | MAXimumSets or queries the default, minimum, or maximum value.
real - Returns the offset value b, or the default, minimum, or maximum value when queried with a qualifier.
:CALCulate[1]:<function>:MATH:MBFactor <n>
:CALCulate[1]:<function>:MATH:MBFactor <DEF|MIN|MAX>
:CALCulate[1]:<function>:MATH:MBFactor?
:CALCulate[1]:<function>:MATH:MBFactor? <DEF|MIN|MAX>

Specifies the scale factor, m, for the y = mx+b math operation on the selected measurement function. If <function> is omitted, the scale factor is set for all measure functions.

NameTypeValuesDescription
functionoptenumCURRent[:DC] | RESistance | VOLTage[:DC]The measure function to which the scale factor applies.
valueoptreal-1e12 - +1e12The scale factor.
qualifieroptenumDEF | MIN | MAXUse DEFault, MINimum, or MAXimum value instead of a numeric scale factor.
real - Returns the scale factor for the selected measurement function, or the DEFault, MINimum, or MAXimum value when queried with a qualifier.
:CALC:VOLT:MATH:MMF 0.80

Specifies the reference constant used when math operations are set to percent. If the <function> parameter is omitted, the constant is set for all measure functions.

NameTypeValuesDescription
valuereal-Reference constant used for percent math.
qualifieroptenumDEFault | MINimum | MAXimumSets the reference constant to the default, minimum, or maximum value.
functionoptenumCURRent[:DC] | RESistance | VOLTage[:DC]Measure function whose percent-math reference constant is being set.
real - Returns the reference constant used when math operations are set to percent.
CALC:VOLT:MATH:PERC 50

Enables or disables math operation for the specified measure function. If sent without the <function> parameter, it sets the math state for all measure functions.

NameTypeValuesDescription
functionoptenumCURRent[:DC] | RESistance | VOLTage[:DC]The measure function whose math state is controlled.
stateenumOFF | ON | 0 | 1Disables or enables math operations.
:CALC:VOLT:MATH:STAT ON

Determines whether the instrument beeper sounds when a limit test passes or fails. If <function> is omitted, the setting applies to all measure functions.

NameTypeValuesDescription
functionoptenumCURRent[:DC] | RESistance | VOLTage[:DC]The measure function to which the limit audible setting applies.
Yinteger1 - 2Limit number.
stateenumNONE | FAIL | PASSControls when the beeper sounds.

Sets or queries whether limit Y test results are cleared automatically after each measurement. If <function> is omitted, the setting applies to all measure functions.

NameTypeValuesDescription
functionoptenumCURRent[:DC] | RESistance | VOLTage[:DC]The measure function.
Yinteger1 - 2Limit number.
stateenumOFF | 0 | ON | 1The autoclear setting.
enum - Returns the autoclear setting.

Clears the results of the limit test defined by Y. If the <function> parameter is omitted, the limit is cleared for all measure functions.

NameTypeValuesDescription
functionoptenumCURRent[:DC] | RESistance | VOLTage[:DC]The measure function.
Yinteger1 - 2Limit number.
IMMediateoptboolean-
:CALC2:VOLT:LIM1:CLE:AUTO ON
:CALC2:VOLT:LIM1:AUD FAIL
:CALC2:VOLT:LIM1:LOW 0.25
:CALC2:VOLT:LIM1:UPP 2.5
:CALC2:VOLT:LIMIT1:STAT ON
:READ?
:CALC2:VOLT:LIMIT1:FAIL?

Queries the result of a limit test for the selected measurement function. The response indicates whether the test passed or failed on the high or low limit.

NameTypeValuesDescription
functionenumCURRent[:DC] | RESistance | VOLTage[:DC]The measurement function to check.
Yinteger1 - 2Limit number.
enum - Returns the limit-test result for limit Y.
:CALC2:VOLT:LIMIT1:FAIL? Make a reading; the limit is checked and results display on the
:CALCulate2:<function>:LIMit<Y>:FAIL?

Specifies the lower limit for a limit test. It sets the low limit for limit Y for the selected measure function, or for all measure functions if <function> is omitted.

NameTypeValuesDescription
functionoptenumCURRent[:DC] | RESistance | VOLTage[:DC]Measure function to which the limit applies.
Yinteger1 - 2Limit number.
nreal-9.99999E+11 - 9.99999E+11Low limit value for limit Y.
qualifieroptenumDEFault | MINimum | MAXimumSets the lower limit to the default, minimum, or maximum value.

Enables or disables the limit test for the selected measurement function and limit number. If <function> is omitted, it sets the state of math operations for all math functions.

NameTypeValuesDescription
functionoptenumCURRent[:DC] | RESistance | VOLTage[:DC]The measure function to which the limit test applies.
Yinteger1 - 2Limit number.
stateenumOFF | 0 | ON | 1Disables or enables the limit test.

Specifies the upper limit for a limit test for the selected measurement function. If sent without the <function> parameter, it sets the limit for all measure functions.

NameTypeValuesDescription
valuereal-9.99999e+11 - +9.99999e+11The value of the upper limit.
qualifieroptenumDEFault | MINimum | MAXimumSets the upper limit to the default, minimum, or maximum allowed value.
:CALCulate2:<function>:LIMit<Y>:UPPer[:DATA] <value>
:CALCulate2:<function>:LIMit<Y>:UPPer[:DATA] <DEF|MIN|MAX>
:CALCulate2:<function>:LIMit<Y>:UPPer[:DATA]?
:CALCulate2:<function>:LIMit<Y>:UPPer[:DATA]? <DEF|MIN|MAX>

Sets the mode of a digital I/O line by choosing its line type and line direction. The line can be configured as digital, trigger, or synchronous, with input, output, open-drain, master, or acceptor direction depending on the type.

NameTypeValuesDescription
ninteger1 - 6Digital I/O line number.
lineTypeenumDIGital | TRIGger | SYNChronousSets the digital line control type.
lineDirectionenumIN | OUT | OPENdrain | MASTer | ACCeptorSets the line direction.
:DIG:LINE1:MODE DIG, OUT Set digital I/O line 1 as a digital output line.

Sets a digital I/O line high or low when the line is configured for digital control, and queries the state of the digital I/O lines. The query returns the integer equivalent values of the binary states on all six digital I/O lines.

NameTypeValuesDescription
ninteger1 - 6The digital I/O line number.
stateinteger0 - 1Bit state to write: 0 clears the bit low, 1 sets the bit high.
integer - Returns the integer equivalent values of the binary states on all six digital I/O lines.
:DIG:LINE1:MODE DIG, OUT Set digital I/O line 1 as a digital output line.
:DIG:LINE1:STAT 1 Sets line 1 (bit B1) of the digital I/O port high.
:DIG:LINE1:MODE DIG, IN Set digital I/O line 1 as a digital input line.
:DIG:LINE1:STAT? Query the state of line 1 on the digital I/O port.

Reads the digital I/O port and returns the binary-equivalent value of the input lines. Bit B1 corresponds to digital I/O line 1 and bit B6 corresponds to line 6.

integer - The binary-equivalent value of the digital I/O port input lines. For example, 42 corresponds to lines 2, 4, and 6 high.
:DIG:READ? Assume lines 2, 4, and 6 are set high when the I/O port is read.

Determines which buffer is used for measurements displayed on the front panel. The selected buffer is also used to store measurement data and is shown in the reading buffer indicator on the home screen.

NameTypeValuesDescription
bufferNamestring-The name of the buffer to make active.
:DISP:BUFF:ACT "buffer2"
:DISPlay:CLEarset / query

Clears the text from the front-panel USER swipe screen.

DISP:CLE Clear the USER swipe screen.

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

NameTypeValuesDescription
functionoptenumCURRent[:DC] | RESistance | VOLTage[:DC]Measure function whose display digits are set.
valueinteger-Display digits setting: 6.5=6, 5.5=5, 4.5=4, or 3.5=3.
qualifieroptenumDEFault | MINimum | MAXimumSets or queries the default, minimum, or maximum value.

Sets the light output level of the front-panel display. The change is temporary and normal backlight settings are restored after a power cycle.

NameTypeValuesDescription
brightnessenumON100 | ON75 | ON50 | ON25 | OFF | BLACkoutBrightness setting for the display.
enum - Returns the present brightness setting of the front-panel display.
DISP:LIGH:STAT ON50

Determines the format used to display measurement readings on the front-panel display. The setting persists through *RST and power cycles.

NameTypeValuesDescription
formatenumEXPonent | PREFixDisplay readings in exponent format or with SI prefixes on the units symbol.
enum - Returns the current display-reading format.
DISP:READ:FORM EXP
:DISPlay:SCReenset / query

Changes which front-panel screen is displayed.

NameTypeValuesDescription
screenNameenumHOME | HOME_LARGe_reading | READing_table | GRAPh | HISTogram | SWIPE_GRapH | SWIPE_SETTings | SOURce | SWIPE_STATistics | SWIPE_USER | PROCessingThe screen to display.

Defines the text displayed on the front-panel USER swipe screen. The command sets the message for a specified line of the USER screen and truncates messages that exceed the allowed length.

NameTypeValuesDescription
ninteger1 - 2The line of the USER swipe screen on which to display text: top line 1 or bottom line 2.
textMessagestring20 characters for USER1; 32 characters for USER2String that contains the message to display.
DISP:USER1:TEXT "Batch A122"
DISP:USER2:TEXT "Test running"

Sets the precision, in digits, for numbers returned in ASCII format. The precision is the number of significant digits; there is always one digit to the left of the decimal point.

NameTypeValuesDescription
valueinteger1 - 16The precision value; 0 selects automatic precision and 1 to 16 selects a specific number of digits.
qualifieroptenumDEFault | MINimum | MAXimumUses the default, minimum, or maximum precision value.
:FORM:ASC:PREC 10 Set a precision of 10 digits. An example of the output is:
:FORMat:BORDerset / query

Sets the byte order for IEEE Std 754 binary formats. The ASCII data format always uses normal byte order; if ASCII is selected, SWAPped is ignored.

NameTypeValuesDescription
nameenumNORMal | SWAPpedThe binary byte order to use.
FORM:BORD NORM
:FORMat[:DATA]set / query

Selects the data format used when transferring readings over the remote interface. This setting affects the output of READ?, FETCh?, MEASure:<function>?, and TRACe:DATA? queries.

NameTypeValuesDescription
typeenumASCii | REAL | SREalThe data format to use for remote-interface transfers.
enum - Returns the current data format setting.
FORM REAL

Sets or queries the output-off state for the selected source function. If <function> is omitted, the setting applies to all functions.

NameTypeValuesDescription
functionoptenumCURRent[:DC] | VOLTage[:DC]The source function to which this setting applies.
stateenumNORMal | HIMPedance | ZERO | GUARdThe output-off setting.
enum - Returns the current output-off state for the selected function.
:OUTPut[1]:<function>:SMODe <state>
:OUTPut[1]:<function>:SMODe?

Determines whether the output can be turned on when the safety interlock is not engaged. The setting is stored in nonvolatile memory and defaults to OFF.

NameTypeValuesDescription
stateenumOFF | 0 | ON | 1Allows or prevents turning on the output when the interlock is not engaged.
enum - Returns the current interlock state setting.

Returns the status of the interlock. If 1 is returned, the interlock signal is asserted and all voltage ranges are available; if 0 is returned, the interlock is not asserted and the 200 V and 1000 V ranges are limited.

integer - 1 indicates the interlock signal is asserted and all voltage ranges are available. 0 indicates the interlock is not asserted and the 200 V and 1000 V ranges are limited.

Enables or disables the source output. When switched on, the instrument sources either voltage or current as set by :SOURce[1]:FUNCtion[:MODE].

NameTypeValuesDescription
stateenum0 | OFF | 1 | ONTurn source off or on.
enum - Returns the source output state.
:OUTP ON

:ROUTe:TERMinalsset / query

Selects which set of input and output terminals the instrument uses. If the output is on when switching between terminal sets, the output is turned off.

NameTypeValuesDescription
locationenumFRONt | REARSelects the front-panel or rear-panel input and output terminals.
enum - Returns the currently selected terminal set.
:ROUT:TERM REAR
:ROUT:TERM?

:SCRipt:RUNset / query

Runs a script stored in the instrument. The script must be available in the instrument to be used by this command.

NameTypeValuesDescription
scriptNamestring-The name of the script.
SCR:RUN "bufferCreate"

Returns the name of one source configuration list stored on the instrument. It returns one name each time it is sent, and returns an empty string when there are no more names to return.

string - Returns one source configuration list name each time it is queried; returns an empty string when no more names remain, or immediately if no source configuration lists have been created.
:SOUR:CONF:LIST:CAT? Send this command to return the name of one source configuration list stored on the instrument. To get all stored configuration lists, resend this command until it returns an empty string.

Creates an empty source configuration list.

NameTypeValuesDescription
namestring-String that represents the name of a source configuration list.
:SOURce[1]:CONFiguration:LIST:CREate "<name>"

Deletes a source configuration list. If an index is specified, only that configuration index is deleted; otherwise the entire list is deleted.

NameTypeValuesDescription
namestring-Name of the source configuration list to delete.
indexoptinteger-Specific configuration index in the list to delete.
:SOURce[1]:CONFiguration:LIST:DELete "<name>"
:SOURce[1]:CONFiguration:LIST:DELete "<name>", <index>

Returns a list of TSP commands and parameter settings stored in the specified configuration index. Only one configuration index can be returned per query.

NameTypeValuesDescription
namestring-Name of a source configuration list.
pointinteger-Specific configuration index in the configuration list.
fieldSeparatoroptenumCOMMa | SEMicolon | NEWLineSeparator for the returned data: comma (default), semicolon, or new line.
string - Returns the TSP commands and parameter settings representing the settings stored in the specified configuration index.
:SOUR:CONF:LIST:QUER? "MySourceList", 2

Recalls a specific configuration index from a source configuration list, with an optional measure configuration list and index. If no measure index is given, it defaults to the source index.

NameTypeValuesDescription
namestring-Name of the source configuration list.
indexnumber-Configuration index in the source configuration list.
measureListNameoptstring-Name of the measure configuration list.
measureIndexoptnumber-Configuration index in the measure configuration list.
:SOURce[1]:CONFiguration:LIST:RECall "<name>", <index>

Returns the number of configuration indexes in a source configuration list.

NameTypeValuesDescription
namestring-The name of a source configuration list.
integer - Returns the number of configuration indexes in the specified source configuration list.
:SOUR:CONF:LIST:SIZE? "MySourceList"

Stores the active source settings into the named configuration list. If the specified index exists, the settings overwrite that entry; otherwise the index is appended to the end of the list.

NameTypeValuesDescription
namestring-Name of the source configuration list.
indexinteger-Specific configuration index in the configuration list.
:SOUR:CONF:LIST:CRE "biasLevel" Create a configuration list named biasLevel.
:SOUR:FUNC VOLT Set the source function to voltage and the source
:SOUR:VOLT:LEV 5 voltage level to 5 V.
:SOUR:CONF:LIST:STORE "biasLevel" Store the configuration list and append it to the
end of the biasLevel configuration list.

Sets or queries the source delay for the selected source function. If <function> is omitted, the delay is applied to all functions.

NameTypeValuesDescription
functionoptenumCURRent | VOLTageThe source function to which the setting applies.
valuereal0 - 10 ksThe delay in seconds.
qualifieroptenumDEFault | MINimum | MAXimumAlternative keywords for the delay value.
SOUR:VOLT:DEL DEF

Enables or disables the automatic source delay that occurs when the source is turned on. When autodelay is on, the actual delay depends on the range; setting a specific source delay turns autodelay off.

NameTypeValuesDescription
functionoptenumCURRent | VOLTageThe source function to which this setting applies.
stateenumOFF | 0 | ON | 1Disables or enables source autodelay.
enum - Returns the current autodelay state.
SOUR:CURR:DEL:AUTO OFF

Sets a user-defined delay that can be used in the trigger model. The delay is specific to the selected source function and is stored in source configuration settings.

NameTypeValuesDescription
functionenumCURRent | VOLTageThe source function to which this setting applies.
ninteger1 - 5Identifies which user delay is being set.
delayTimereal0 - 10,000The time of the delay.
qualifieroptenumDEFault | MINimum | MAXimumSelects the default, minimum, or maximum delay value.
:SOUR:VOLT:DEL:USER1 5 Set user delay for source 1 to 5 s.

Enables or disables high-capacitance mode for the specified source function. This setting is saved in the source configuration list and restored by recall settings, instrument reset, and power cycle.

NameTypeValuesDescription
functionoptenumCURRent | VOLTageThe source function to which this setting applies.
stateenumOFF | 0 | ON | 1Turns high capacitance off or on.
enum - Returns the current high-capacitance state.
SOUR:CURR:HIGH:CAP ON

Sets the output level of the selected source function immediately. If the output is on, the new level is sourced immediately.

NameTypeValuesDescription
functionenumCURRent | VOLTageThe source function to which this setting applies.
valuereal-1.05 - 1.05The amplitude for the current source.
valuereal-1100 - 1100The amplitude for the voltage source.
qualifieroptenumDEFault | MINimum | MAXimumSelects the default, minimum, or maximum amplitude value.
SOUR:FUNC VOLT
SOUR:VOLT 1

Selects the source limit for measurements of the selected function. The limit value is constrained by the overvoltage protection limit, and may be adjusted by the instrument to remain within the active measurement/source range.

NameTypeValuesDescription
functionenumCURRent | VOLTageThe source function to which this setting applies.
xenumI | VThe function to which the limit applies.
valuereal-1.05 - 1.05The limit for current source function.
valuereal-1100 - 1100The limit for voltage source function.
qualifieroptenumDEFault | MINimum | MAXimumSets the limit to the default, minimum, or maximum value.
real - Returns the present source limit for the selected function.
:SOURce[1]:CURRent:VLIMit[:LEVel] <value>
:SOURce[1]:CURRent:VLIMit[:LEVel] <DEF|MIN|MAX>
:SOURce[1]:CURRent:VLIMit[:LEVel]?
:SOURce[1]:CURRent:VLIMit[:LEVel]? <DEF|MIN|MAX>
:SOURce[1]:VOLTage:ILIMit[:LEVel] <value>
:SOURce[1]:VOLTage:ILIMit[:LEVel] <DEF|MIN|MAX>
:SOURce[1]:VOLTage:ILIMit[:LEVel]?
:SOURce[1]:VOLTage:ILIMit[:LEVel]? <DEF|MIN|MAX>

Indicates whether the source exceeded the limits set for the selected measurements. Returns 0 if the source did not exceed the set limits, and 1 if it did.

integer - 0 if the source did not exceed the set limits; 1 if it did exceed the set limits.
:SOURce[1]:CURRent:VLIMit[:LEVel]:TRIPped?
:SOURce[1]:VOLTage:ILIMit[:LEVel]:TRIPped?

Sets or queries the source function, which can be voltage or current. When set, it configures the instrument as either a voltage source or a current source.

NameTypeValuesDescription
functionenumVOLTage | CURRentSource function to use.
enum - Returns the present source function.
SOUR:FUNC CURR
SOUR:FUNC?

Sets the overvoltage protection setting of the source output.

NameTypeValuesDescription
nenumPROT20 | PROT40 | PROT100 | PROT200 | PROT300 | PROT400 | PROT500 | NONEThe overvoltage protection level.

Indicates whether the overvoltage source protection feature is active. Returns 0 if the source does not exceed the set limits, and 1 if it does.

integer - Returns 0 if the voltage source does not exceed the set limits, and 1 if it exceeds the set limits.
SOUR:VOLT:PROT:TRIP?

Selects the source range for the specified source function. When queried, it returns the positive full-scale value currently in use.

NameTypeValuesDescription
functionenumCURRent | VOLTageThe source function to which the range setting applies.
valuereal-1.05 A - 1.05 AApproximate source value used to select the range; the instrument chooses the lowest range that can accommodate it.
qualifieroptenumDEFault | MINimum | MAXimumSets the range to the default, minimum, or maximum value.
real - Returns the positive full-scale value that the instrument is presently using.

Determines whether the range for the selected source function is set manually or automatically. When automatic source range is enabled, the instrument selects the most appropriate range for the sourced value; selecting a specific range disables automatic range selection.

NameTypeValuesDescription
stateenum0 | OFF | 1 | ONDisables or enables automatic source range selection.
SOUR:CURR:RANG:AUTO ON

Determines whether the instrument records the measured source value or the configured source value when making a measurement. It applies to the source function specified by the <function> node and is available for both voltage and current source modes.

NameTypeValuesDescription
stateenum0 | OFF | 1 | ONDisables or enables source readback.
:SOURce[1]:VOLTage:READ:BACK <state>
:SOURce[1]:VOLTage:READ:BACK?
:SOURce[1]:CURRent:READ:BACK <state>
:SOURce[1]:CURRent:READ:BACK?

Defines a list of up to 100 source values for a sweep. The list is used by the source list sweep command, and any existing list is replaced.

NameTypeValuesDescription
listreal-1.05 A - 1.05 ACurrent source values in the list.
listreal-1100 V - 1100 VVoltage source values in the list.
SOUR:LIST:VOLT 1, 5, 1, 5, 1, 5

Adds values to the source list for the selected source function. Up to 100 values can be appended per call, and the list is created if it does not already exist.

NameTypeValuesDescription
listreal−1.05 - 1.05Values to append for the current source function when :SOURce[1]:LIST:CURRent:APPend is used.
SOUR:LIST:VOLT:APP 1, 5, 1, 5, 1, 5

Queries the length of the source list for the selected source function. The response message indicates the number of source values in the list.

integer - Number of source values in the specified source list.
:SOURce[1]:LIST:CURRent:POINts?
:SOURce[1]:LIST:VOLTage:POINts?
SOUR:LIST:VOLT:POIN?

Sets up a linear sweep for a fixed number of measurement points. The sweep sources voltage or current from the start level to the stop level using the specified points, delay, count, range type, fail-abort behavior, dual-sweep setting, and optional reading buffer.

NameTypeValuesDescription
startreal-1.05 A - 1.05 AThe voltage or current source level at which the sweep starts.
stopreal-1.05 A - 1.05 AThe voltage or current at which the sweep stops.
pointsinteger2 - 1e6The number of source-measure points between the start and stop values of the sweep.
delayoptreal0 - 10,000 sThe delay between measurement points; default is -1 for autodelay, 0 for no delay, or a specific delay value.
countoptinteger0 - 268435455The number of times to run the sweep; 0 specifies an infinite loop.
rangeTypeoptenumAUTO | BEST | FIXedThe source range used for the sweep.
failAbortoptenumON | OFFDetermines whether the sweep stops immediately if a limit is exceeded.
dualoptenumOFF | ONDetermines whether the sweep runs from start to stop and then from stop to start.
bufferNameoptstring-The reading buffer name; if omitted, defbuffer1 is used.
SOUR:SWE:VOLT:LIN 0, 10, 20, 1e-3, 1, FIXED

Sets up a linear source sweep configuration list and trigger model with a fixed number of steps.

NameTypeValuesDescription
startreal-1.05 - 1.05The voltage or current source level at which the sweep starts.
stopreal-1.05 - 1.05The voltage or current at which the sweep stops.
stepsinteger0The step size at which the source level will change; step size must be greater than 0.
delayoptreal-1 - 10000Delay between measurement points; -1 enables autodelay, or set a delay from 50 μs to 10,000 s; 0 selects no delay.
countoptinteger0 - 268435455Number of times to run the sweep; 0 selects infinite loop, 1 to 268435455 selects finite loop.
rangeTypeoptenumAUTO | BEST | FIXedSource range used for the sweep.
failAbortoptenumON | OFFDetermines whether the sweep stops immediately if a limit is exceeded.
dualoptenumOFF | ONDetermines whether the sweep runs from start to stop only or also from stop back to start.
bufferNameoptstring-Name of the reading buffer to use for the sweep.
:SOURce[1]:SWEep:<function>:LINear:STEP <start>, <stop>, <steps>
:SOURce[1]:SWEep:<function>:LINear:STEP <start>, <stop>, <steps>, <delay>
:SOURce[1]:SWEep:<function>:LINear:STEP <start>, <stop>, <steps>, <delay>, <count>
:SOURce[1]:SWEep:<function>:LINear:STEP <start>, <stop>, <steps>, <delay>, <count>,
<rangeType>
:SOURce[1]:SWEep:<function>:LINear:STEP <start>, <stop>, <steps>, <delay>, <count>,
<rangeType>, <failAbort>
:SOURce[1]:SWEep:<function>:LINear:STEP <start>, <stop>, <steps>, <delay>, <count>,
<rangeType>, <failAbort>, <dual>
:SOURce[1]:SWEep:<function>:LINear:STEP <start>, <stop>, <steps>, <delay>, <count>,
<rangeType>, <failAbort>, <dual>, "<bufferName>"

Sets up a sweep based on a configuration list, allowing you to customize the sweep. A configuration list must be created before you send this command.

NameTypeValuesDescription
startIndexinteger1The index in the configuration list where the sweep starts.
delayoptreal50 s - 10,000 sThe delay between measurement points.
countoptinteger0 - 268435455The number of times to run the sweep; 0 means infinite loop and 1 to 268435455 means finite loop.
failAbortoptenumON | OFFDetermines whether the sweep is stopped immediately if a limit is exceeded.
bufferNameoptstring-The reading buffer to use.
configListNameoptstring-The name of the source configuration list that the sweep uses.
:SOURce[1]:SWEep:<function>:LIST <startIndex>
:SOURce[1]:SWEep:<function>:LIST <startIndex>, <delay>
:SOURce[1]:SWEep:<function>:LIST <startIndex>, <delay>, <count>
:SOURce[1]:SWEep:<function>:LIST <startIndex>, <delay>, <count>, <failAbort>
:SOURce[1]:SWEep:<function>:LIST <startIndex>, <delay>, <count>, <failAbort>, "<bufferName>"
:SOURce[1]:SWEep:<function>:LIST <startIndex>, <delay>, <count>, <failAbort>, "<bufferName>", "<configListName>"

Sets up a logarithmic sweep for a set number of measurement points. The source function can be current or voltage.

NameTypeValuesDescription
startreal1 pA - 1.05 AThe source level at which the sweep starts for the selected function.
stopreal1 pA - 1.05 AThe source level at which the sweep stops for the selected function.
pointsinteger2 - 1e6The number of source-measure points between the start and stop values.
delayoptreal50 μs - 10,000 sThe delay between measurement points; -1 enables autodelay, and 0 specifies no delay.
countoptinteger0 - 268435455The number of times to run the sweep; 0 selects infinite loop.
rangeTypeoptenumAUTO | BEST | FIXedThe source range used for the sweep.
failAbortoptenumON | OFFWhether the sweep aborts if the source limit is exceeded.
dualoptenumOFF | ONWhether the sweep runs from start to stop only or also returns from stop to start.
bufferNameoptstring-Name of the reading buffer to use for the sweep.
asymptoteoptreal-Adjusts the inflection of the sweep curve and allows it to sweep through zero.
SOUR:FUNC VOLT
SOUR:VOLT:RANG 20
SENS:FUNC "CURR"
SENS:CURR:RANG 100e-6
SOUR:SWE:VOLT:LOG .1, 10, 20, 1e-3, 1, FIXED
INIT

:STATus:CLEarset / query

Clears the event registers of the Questionable Event and Operation Event Register set. It does not affect the Questionable Event Enable or Operation Event Enable registers.

:STATus:CLEar Clear the bits in the registers.

Reads the contents of the Operation Condition Register, which is one of the Operation Event Registers.

integer - Returns the contents of the Operation Condition Register.
:STAT:OPER:COND?

Sets or reads the contents of the Operation Event Enable Register of the status model. When bits are set, the corresponding bit in the Operation Event Register or Operation Condition Register causes the OSB bit in the Status Byte Register to be set.

NameTypeValuesDescription
ninteger0 - 65535The status of the Operation Status Register.
:STAT:OPER:ENAB #b0101000000000000
:STAT:OPER:ENAB 20480
:STAT:OPER:ENAB #h5000

Reads 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 - A decimal value corresponding to the binary-weighted sum of all bits set in the Operation Event Register.

Maps event numbers to bits in the Operation Event Registers. The command can set and optionally clear a specified bit for a given event, and the query returns the mapped set and clear event status for a bit.

NameTypeValuesDescription
bitNumberinteger0 - 14The bit number that is mapped to an event.
setEventinteger0The event number that sets the bits in the condition and event registers; 0 if no mapping.
clearEventoptinteger0The event number that clears the bit in the condition register; 0 if no mapping.
integer - For a queried bit, returns the mapped set event and mapped clear event status. Zero (0) indicates the bits have not been set.
":"STATus:OPERation:MAP 0, 4917, 4918
:STATus:PRESetset / query

Resets all bits in the status model. It clears the event registers and the enable registers for operation and questionable, but does not affect the event queue, the Standard Event Status Register, or *SRE/*ESE.

STAT:PRES

Reads the contents of the Questionable Condition Register of the status model. This register is one of the Questionable Event Registers.

integer - Contents of the Questionable Condition Register.
:STAT:QUES:COND? Reads the Questionable Condition Register.

Sets or reads the contents of the questionable event enable register of the status model. When bits are set, the corresponding bits in the Questionable Event Register or Questionable Condition Register cause the MSB and QSM bits in the Status Byte Register to be set.

NameTypeValuesDescription
ninteger0 - 65535The value of the register.
integer - The value of the questionable event enable register.
:STAT:QUES:ENAB 8
:STAT:QUES:ENAB?

Reads the contents of the questionable status event register. After the command is sent and the instrument is addressed to talk, it returns a value indicating which bits in the appropriate register are set.

integer - Returns the contents of the questionable status event register as a numeric value indicating which bits are set.
:STAT:QUES? Query the Questionable Register.

:SYSTem:ACCessset / query

Sets or queries the instrument access level used through different interfaces. The access level can be Full, Exclusive, Protected, or Locked out, and is stored in nonvolatile memory.

NameTypeValuesDescription
permissionsenumFULL | EXCLusive | PROTected | LOCKoutThe level of access that is allowed.
enum - Returns the current instrument access level.
:SYST:ACC LOCK Set the instrument access to locked out.

Generates an audible tone on the instrument. The beep frequency and duration are specified as numeric values in the usage line.

NameTypeValuesDescription
frequencyreal20 - 8000The frequency of the beep.
durationreal0.001 - 100The amount of time to play the tone.
:SYSTem:BEEPer 500, 1 Beep at 500 Hz for 1 s.

Enables, disables, or automatically manages breakdown protection to prevent current from exceeding the programmed or limit current during breakdown conditions.

NameTypeValuesDescription
settingenumAUTO | OFF | ONSelects the breakdown protection setting.
enum - Returns the current breakdown protection setting.
:SYSTem:CLEarset / query

Clears the event log, including entries in the front-panel event log.

SYSTem:CLEar

Specifies the LAN configuration for the instrument. It can set automatic or manual LAN addressing, and the query form returns the present settings in order.

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.
string - Returns the present LAN settings in the order AUTO or MANual, IP address, subnet mask, and gateway.
: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?

Allows you to prevent LAN connections from being closed inadvertently. When set to on, closing an open LAN connection requires opening the DST port, entering system login credentials, and closing the DST port.

NameTypeValuesDescription
stateenumOFF | 0 | ON | 1Allow or prevent inadvertent closure of LAN connections.
enum - Returns the current DST protection setting.
SYST:COMM:LAN:PROT ON
SYST:COMM:LAN:CONF?

Queries the LAN media access control (MAC) address of the instrument. The returned MAC address is a hexadecimal character string with colons separating the octets.

string - The instrument MAC address, for example 08:00:11:00:00:57.
:SYSTem:COMMunication:LAN:MACaddress? Returns the MAC address. For example, you might see: 08:00:11:00:00:57

Returns the oldest unread error message from the event log and removes it from the log. If there are no entries in the event log, it returns `0,"No error;0;0 0"`.

string - The next unread error message from the event log; only error messages are returned.
:SYSTem:ERRor[:NEXT]?

Reads the oldest error code from the event log. The error is cleared from the queue after being read, and only error messages are returned.

integer - Returns the numeric code of the next error in the event log.
SYST:ERR:CODE?

Returns the number of errors in the event log. It does not return information messages or clear the errors from the event log.

integer - The number of errors currently in the event log.
SYST:ERR:COUN? If there are five errors in the event log, the output is:
5

Returns the number of unread events in the event log. You can optionally limit the count to specific event types or count all events.

NameTypeValuesDescription
eventTypeoptenumERRor | WARNing | INFormational | ALLLimits the list of event log entries to specific event types.
integer - The number of unread events in the event log, optionally limited to the specified event type(s).
:SYSTem:EVENtlog:COUNt?
:SYSTem:EVENtlog:COUNt? <eventType>
:SYSTem:EVENtlog:COUNt? <eventType>, <eventType>
:SYSTem:EVENtlog:COUNt? <eventType>, <eventType>, <eventType>

Returns the oldest unread event message from the event log. An optional event-type filter can limit the returned entries to errors, warnings, informational messages, or any event.

NameTypeValuesDescription
eventTypeenumERRor | WARNing | INFormational | ALLLimits the event log entries that are returned to specific types.
string - Returns the oldest unread event message from the event log. If there are no entries, the instrument returns `0,"No error;0;0 0"`.
:SYSTem:EVENtlog:NEXT?
:SYSTem:EVENtlog:NEXT? <eventType>
:SYSTem:EVENtlog:NEXT? <eventType>, <eventType>
:SYSTem:EVENtlog:NEXT? <eventType>, <eventType>, <eventType>

Posts a custom text message to the event log, optionally assigning an event severity. It can create error, warning, or informational event log entries for debugging and status reporting.

NameTypeValuesDescription
messagestring-String message to associate with the event.
eventTypeoptenumERRor | WARNing | INFormationalSeverity level to assign to the event.
:SYSTem:EVENtlog:POST "<message>"
:SYSTem:EVENtlog:POST "<message>", <eventType>

Saves the event log to a file on a USB flash drive. If no event type is specified, all event log entries are saved and the .csv extension is added automatically.

NameTypeValuesDescription
filenamestring-Name of the file to be saved.
eventTypeoptenumERRor | WARNing | INFormational | ALLLimits which event log entries are saved.
:SYSTem:EVENtlog:SAVE "<filename>"
:SYSTem:EVENtlog:SAVE "<filename>", <eventType>

Sets or queries the instrument's GPIB address. The address is stored in nonvolatile memory and can be any unique value from 1 to 30.

NameTypeValuesDescription
ninteger1 - 30The GPIB address of the instrument.
integer - Returns the current GPIB address.
:SYSTem:GPIB:ADDRess 26
:SYSTem:GPIB:ADDRess?

This query returns the power line frequency setting used for NPLC calculations. The instrument detects 50 Hz or 60 Hz automatically when powered on.

real (Hz) - The power line frequency setting used for NPLC calculations.
:SYST:LFR?

Stores the instrument password in nonvolatile memory. The password is used to gain access when the instrument access is set to protected or lockout.

NameTypeValuesDescription
passwordstring-String that contains the instrument password, up to 30 characters.
SYST:PASS:NEW "N3wpa55w0rd" Change the password of the instrument to N3wpa55w0rd.
:SYSTem:POSetupset / query

Selects the default state restored when the instrument powers on. The selected state is saved in nonvolatile memory and can be either factory defaults or one of the stored setups.

NameTypeValuesDescription
nameenumRST | SAV0 | SAV1 | SAV2 | SAV3 | SAV4Which setup to restore when the instrument powers on.
enum - Returns the currently selected power-on setup.
SYST:POS SAV1

Controls how switched operation behaves by setting the SMU range compensation mode. In AUTO, the instrument automatically changes an internal compensation circuit for optimal performance over a wide variety of ranges; ON and OFF force the circuit state.

NameTypeValuesDescription
stateenumAUTO | OFF | ONThe range compensation setting.
enum - Returns the present range compensation setting.
:SYSTem:TIMEset / query

Sets the absolute time of the instrument. When queried without a parameter, it returns the present timestamp in seconds since January 1, 1970; with query argument 1, it returns a formatted date/time string.

NameTypeValuesDescription
yearinteger1971Year of the absolute time; must be more than 1970.
monthinteger1 - 12Month.
dayinteger1 - 31Day.
hourinteger0 - 23Hour in 24-hour time format.
minuteinteger0 - 59Minute.
secondinteger0 - 59Second.
string - Returns the present timestamp value in seconds since January 1, 1970, to the nearest second when queried without a parameter; with query argument 1, returns the present timestamp formatted as <weekday> <month> <day> <hour>:<minute>:<second> <year>.
syst:time 2018, 2, 15, 11, 30, 30
syst:time? 1

Returns the present SCPI version.

string - The SCPI version. An example return is 1996.0.
SYSTem:VERSion?

Returns the number of readings stored in the specified reading buffer. If no buffer is specified, defbuffer1 is used.

NameTypeValuesDescription
bufferNameoptstring-Name of the reading buffer; may be a default buffer (defbuffer1 or defbuffer2) or a user-defined buffer.
integer - The number of readings stored in the buffer.

Indicates the last index in a reading buffer.

NameTypeValuesDescription
bufferNameoptstring-A string that indicates the reading buffer; if omitted, defbuffer1 is used.
integer - The ending index in the specified reading buffer.
:TRACe:ACTual:END?
:TRACe:ACTual:END? "<bufferName>"

Indicates the starting index in a reading buffer. If no buffer name is specified, defbuffer1 is used.

NameTypeValuesDescription
bufferNameoptstring-The reading buffer name; may be a default buffer or a user-defined buffer.
integer - The starting index in the specified reading buffer.
:TRACe:CLEarset / query

Clears all readings and statistics from the specified reading buffer. If no buffer is specified, defbuffer1 is used.

NameTypeValuesDescription
bufferNameoptstring-Name of the reading buffer to clear; may be a default buffer or a user-defined buffer.
:TRAC:MAKE "test1", 100
:COUN 6
:MEAS:CURR? "test1"
:TRAC:ACT:STAR? "test1" ; END? "test1"
TRAC:MAKE "testData", 200
MEAS:RES? "testData"
TRAC:ACT? "testData"
TRAC:CLE "testData"
TRAC:ACT? "testData"
TRAC:CLE
TRAC:CLE "defbuffer1"
TRAC:CLE "defbuffer2"

Returns specified data elements from a specified reading buffer. The output is affected by the selected data format and by the buffer elements requested.

NameTypeValuesDescription
startIndexinteger1Beginning index of the buffer to return; must be 1 or greater.
endIndexinteger-Ending index of the buffer to return.
bufferNameoptstring-String that indicates the reading buffer; defaults to defbuffer1 if not specified.
bufferElementsoptenumDATE | FORMatted | FRACtional | READing | RELative | SEConds | SOURce | SOURFORMatted | SOURSTATus | SOURUNIT | STATus | TIME | TSTamp | UNITList of buffer elements to print; if omitted, READing is used.
string - Returns the requested buffer data elements as formatted output.
TRAC:DATA? 1, 5, "buf100", READ, SOUR, REL
TRAC:DATA? 1, 5, "buf100", READ, REL
TRAC:DATA? 1, 5, "buf100", REL
TRAC:DATA? 1, 3, "buf100"
:TRACe:DELeteset / query

Deletes a user-defined reading buffer. The default reading buffers, defbuffer1 and defbuffer2, cannot be deleted.

NameTypeValuesDescription
bufferNamestring-The name of the user-defined reading buffer to delete.
TRAC:DEL "testData"
:TRACe:FILL:MODEset / query

Determines whether a reading buffer is filled continuously or filled once and then stops. The command can be applied to a specified buffer name, or to defbuffer1 if no buffer is specified.

NameTypeValuesDescription
fillTypeenumCONTinuous | ONCEFill mode for the reading buffer.
bufferNameoptstring-Name of the reading buffer to use; if omitted, defbuffer1 is used.
enum - Returns the current fill mode for the specified buffer, or for defbuffer1 if no buffer is specified.
:TRACe:LOG:STATeset / query

Indicates whether information events are logged when the specified reading buffer is at 0% or 100% filled.

NameTypeValuesDescription
logStateenumOFF | ON | 0 | 1Enables or disables logging of information events.
bufferNameoptstring-Specifies the reading buffer; if omitted, defbuffer1 is used.
enum - Returns whether information events are logged for the specified reading buffer.
:TRACe:LOG:STATe <logState>
:TRACe:LOG:STATe <logState>, "<bufferName>"
:TRACe:LOG:STATe?
:TRACe:LOG:STATe? "<bufferName>"
:TRACe:MAKEset / query

Creates a user-defined reading buffer. You can specify the buffer name and size, and optionally the buffer style.

NameTypeValuesDescription
bufferNamestring-A user-supplied string that indicates the name of the buffer.
bufferSizeinteger10Maximum number of readings that can be stored in the buffer; set to 0 to maximize the buffer size.
bufferStyleoptenumCOMPact | STANdard | FULL | WRITable | FULLWRITableType of reading buffer to create.
TRAC:MAKE "capTrace", 200, WRIT
TRAC:MAKE "bufferVolts", 100
TRAC:DEL "bufferVolts"
TRAC:MAKE "bufferVolts", 1000
TRAC:POIN?
:TRACe:MATHset / query

Sets up mathematical expression processing for a reading buffer. The expression is applied when the measurement is stored in the buffer, and the result is saved in the buffer's Extra column.

NameTypeValuesDescription
bufferNamestring-Name of the reading buffer; must be set to style FULL.
unitsenumAMP | AMPAC | CELSius | CUSTOM1 | CUSTOM2 | CUSTOM3 | DAC | DBM | DECibel | DIO | FAHRenheit | FARad | HERTz | KELVin | NONE | OHM | PERCent | RATio | RECiprocal | SECond | TOT | VOLT | VOLTAC | WATTUnits to be applied to the value generated by the expression.
expressionenumADD | AVERage | DIVide | EXPonent | LOG10 | MULTiply | NONE | POLY | POWer | RATE | RECiprocal | SQRoot | SUBtractMathematical expression to apply to the reading.
constant0real-Constant to be used for c0 in the expression.
constant1optreal-Constant to be used for c1 in the expression.
constant2optreal-Constant to be used for c2 in the expression.
constant3optreal-Constant to be used for c3 in the expression.
constant4optreal-Constant to be used for c4 in the expression.
constant5optreal-Constant to be used for c5 in the expression.
TRAC:MATH "expressions", VOLT, ADD
:TRACe:POINtsset / query

Sets or queries the number of readings a buffer can store. A value of 0 selects the largest buffer size possible based on available memory when the buffer is created.

NameTypeValuesDescription
newSizeinteger0The new size for the buffer.
bufferNameoptstring-Name of the reading buffer to apply the setting to; if omitted, defbuffer1 is used.
integer - Returns the current capacity of the specified reading buffer.
:TRACe:POINts <newSize>
:TRACe:POINts <newSize>, "<bufferName>"
:TRACe:POINts?
:TRACe:POINts? "<bufferName>"
:TRACe:SAVEset / query

Saves data from the specified reading buffer to a USB flash drive. The file name must include the full /usb1/ path; if no extension is given, .csv is added.

NameTypeValuesDescription
fileNamestring-Name of the file on the USB flash drive in which to save the reading buffer.
bufferNamestring-Reading buffer to save; defbuffer1 or defbuffer2, or a user-defined buffer name.
whatenumALL | FORMat | RELative | RAW | STAMp | STANdard | BRIEF | EXTRaDefines which information is saved in the file on the USB flash drive.
startinteger-Starting point in the buffer to start saving data.
endinteger-Ending point in the buffer to stop saving data.
:TRACe:SAVE "<fileName>"

Appends data from the reading buffer to a file on the USB flash drive. The file is created if it does not exist, and the .csv extension is appended if necessary.

NameTypeValuesDescription
fileNamestring-Name of the file on the USB flash drive in which to save the reading buffer.
bufferNameoptstring-Reading buffer to save; a default buffer or user-defined buffer name. If omitted, defbuffer1 is used.
timeFormatoptenumALL | FORMat | RELative | RAW | STAMp | STANdard | BRIEF | EXTRaSelects how date and time information from the buffer is saved in the file.
startoptinteger-Starting point in the buffer to start saving data.
endoptinteger-Ending point in the buffer to stop saving data.
:TRACe:SAVE:APPend "<fileName>"
:TRACe:SAVE:APPend "<fileName>", "<bufferName>"
:TRACe:SAVE:APPend "<fileName>", "<bufferName>", <timeFormat>
:TRACe:SAVE:APPend "<fileName>", "<bufferName>", <timeFormat>, <start>, <end>
TRAC:SAVE:APP "/usb1/myData5.csv", "defbuffer1"
TRAC:SAVE:APP "/usb1/myData5.csv", "testData", RAW, 6, 10

Returns the average of all readings in the specified reading buffer. If no buffer is specified, the default buffer defbuffer1 is used.

NameTypeValuesDescription
bufferNameoptstring-A string that indicates the reading buffer; the default buffers (defbuffer1 or defbuffer2) or the name of a user-defined buffer.
real - The average reading calculated from all the readings in the specified reading buffer.
:TRACe:STATistics:AVERage?
:TRACe:STATistics:AVERage? "<bufferName>"

Clears the statistical information associated with a specified reading buffer. It clears the statistics without clearing the readings.

NameTypeValuesDescription
bufferNameoptstring-The name of the reading buffer to clear; may be defbuffer1, defbuffer2, or a user-defined buffer.
TRAC:STAT:CLE
TRAC:STAT:CLE "testData"

Returns the maximum reading value in the reading buffer. If no buffer name is specified, defbuffer1 is used.

NameTypeValuesDescription
bufferNameoptstring-String that indicates the reading buffer; may be a default buffer (defbuffer1 or defbuffer2) or a user-defined buffer.
real - Maximum reading value in the specified reading buffer.
TRAC:STAT:MAX?
TRAC:STAT:MAX? "testData"

Returns the minimum reading value in the reading buffer. If no buffer name is specified, the default buffer defbuffer1 is used.

NameTypeValuesDescription
bufferNameoptstring-A string that indicates the reading buffer; the default buffers (defbuffer1 or defbuffer2) or the name of a user-defined buffer.
real - Returns the minimum reading value in the specified reading buffer.
:TRACe:STATistics:MINimum?
:TRACe:STATistics:MINimum? "<bufferName>"

Returns the peak-to-peak value of all readings in the reading buffer.

NameTypeValuesDescription
bufferNameoptstring-A string that indicates the reading buffer; if no buffer is specified, defbuffer1 is used.
real - Returns the peak-to-peak reading value from the specified buffer.
TRAC:STAT:PK2P?
TRAC:STAT:PK2P? "testData"

Returns the standard deviation of all readings in the buffer. If no buffer is specified, defbuffer1 is used.

NameTypeValuesDescription
bufferNameoptstring-A string that indicates the reading buffer; may be the default buffers defbuffer1 or defbuffer2, or a user-defined buffer name.
real - The standard deviation of the readings in the specified buffer.
TRAC:STAT:STDD?
TRAC:STAT:STDD? "testData"
:TRACe:TRIGgerset / query

This command makes readings using the active measure function and stores them in a reading buffer. A reading count set by the count command is used, and if no buffer is specified, defbuffer1 is used.

NameTypeValuesDescription
bufferNameoptstring-A string that indicates the reading buffer; the default buffers (defbuffer1 or defbuffer2) or the name of a user-defined buffer.
:TRACe:TRIGger
:TRACe:TRIGger "<bufferName>"
:TRACe:UNITset / query

Creates up to three custom units of measure for use in buffers. The custom unit definition is not saved and is reset when power is cycled.

NameTypeValuesDescription
ninteger1 - 3The number of the custom unit to define.
unitOfMeasurestring-A string that defines the custom unit, up to three characters.
:TRACe:UNIT CUSTOM<n>, "<unitOfMeasure>"

Sets the units and number of digits reported for readings written into the reading buffer. It applies to writable and full-writable buffer styles, and full-writable buffers may include an extra value.

NameTypeValuesDescription
bufferNamestring-Name of the buffer.
unitsenumAMP | AMP_AC | AMPAC | CELSius | CUSTOM1 | CUSTOM2 | CUSTOM3 | DAC | DBM | DECibel | DIO | FAHRenheit | FARad | HERTz | KELVin | NONE | OHM | PERCent | RATio | RECiprocal | SECond | TOT | VOLT | VOLT_AC | VOLTAC | WATT | XUnits for the first measurement in the buffer index.
displayDigitsinteger3 - 8Number of digits to use for the first value in the buffer index.
extraUnitsoptenumAMP | AMP_AC | AMPAC | CELSius | CUSTOM1 | CUSTOM2 | CUSTOM3 | DAC | DBM | DECibel | DIO | FAHRenheit | FARad | HERTz | KELVin | NONE | OHM | PERCent | RATio | RECiprocal | SECond | TOT | VOLT | VOLT_AC | VOLTAC | WATT | XUnits for the second measurement in the buffer index; if omitted, the value for units is used.
extraDigitsoptinteger3 - 8Number of digits to use for the second value; if omitted, the value for displayDigits is used.
:TRACe:WRIT:FORM "write2me", WATT, 4
:TRACe:WRIT:FORM "write2me", WATT, 4, WATT, 4

Writes one reading into a reading buffer. The buffer must be set to writable or full writable style, and the reading can optionally include time and status information.

NameTypeValuesDescription
bufferNamestring-Name of the buffer to write to.
readingValuereal-First value recorded in the buffer index.
extraValueoptreal-Second value recorded in the buffer index; valid only for full writable buffer style.
secondsoptinteger-Seconds portion of the reading time.
fractionalSecondsoptreal-Fractional portion of the reading time.
statusoptinteger-Additional information about the reading.
:TRAC:MAKE "write2me", 1000, WRITable
:TRAC:WRIT:FORM "write2me", WATT, 4
:TRAC:WRIT:READ "write2me", 1
:TRAC:WRIT:READ "write2me", 2
:TRAC:WRIT:READ "write2me", 3
:TRAC:WRIT:READ "write2me", 4
:TRAC:WRIT:READ "write2me", 5
:TRAC:WRIT:READ "write2me", 6
:TRAC:MAKE "write2me", 1000, FULLWRIT
:TRAC:WRIT:FORM "write2me", WATT, 4, WATT, 4
:TRAC:WRIT:READ "write2me", 1, 7
:TRAC:WRIT:READ "write2me", 2, 8
:TRAC:WRIT:READ "write2me", 3, 9
:TRAC:WRIT:READ "write2me", 4, 10
:TRAC:WRIT:READ "write2me", 5, 11
:TRAC:WRIT:READ "write2me", 6, 12

:ABORtset / query

Stops all trigger model commands on the instrument. When received, the instrument stops the trigger model.

:ABORt

Clears the blender event detector and resets the overrun indicator of blender <n>. The detector is set to the undetected state.

NameTypeValuesDescription
ninteger1 - 2The blender number.
:TRIG:BLEN2:CLE Clears the event detector for blender 2.

Selects whether the blender performs OR operations or AND operations. The setting is saved with settings recall and is affected by instrument reset, power cycle, and trigger blender clear.

NameTypeValuesDescription
ninteger1 - 2The blender number: up to two.
operationenumOR | ANDThe type of operation.
enum - Returns the current blender operation setting.
:TRIG:BLEN2:CLE

Indicates whether an event was ignored because the event detector was already in the detected state when the event occurred. It reports only the state of the event detector built into the event blender, not overruns elsewhere in the trigger model.

integer - If an event was ignored, the output is 1. If an event was not ignored, the output is 0.
:TRIG:BLEN1:OVER? If an event was ignored, the output is 1.

Specifies the event used to trigger blender input <m> of blender <n>. The event can be set to none to disable the blender input.

NameTypeValuesDescription
eventenumBLENder<n> | COMMand | DIGio<n> | DISPlay | LAN<n> | NONE | NOTify<n> | SLIMit | TIMer<n> | TSPLink<n>Trigger event constant to assign to the blender stimulus input.

Defines a trigger model block that always branches to a specific block. When the trigger model reaches this block, it goes to the block specified by the branch target.

NameTypeValuesDescription
blockNumberinteger-The sequence number of the block in the trigger model.
branchToBlockinteger-The trigger-model block number to execute when the trigger model reaches this block.
TRIG:BLOC:BRAN:ALW 9, 20

Defines a trigger model block that branches to a specified block a specified number of times.

NameTypeValuesDescription
blockNumberinteger-The sequence of the block in the trigger model.
targetCountinteger-The number of times to repeat.
branchToBlockinteger-The block number of the trigger model block to execute when the counter is less than or equal to the target count value.
:TRIGger:BLOCk:BRANch:COUNter <blockNumber>, <targetCount>, <branchToBlock>
TRIG:BLOC:BRAN:COUN 3, 5, 2
TRIG:BLOC:BRAN:COUN 5, 3, 2

Returns the count value of the trigger model counter block. If the counter is active, it returns the present count; if the trigger model has started or is running but has not yet reached the counter block, the value is 0.

NameTypeValuesDescription
blockNumberinteger-The sequence of the block in the trigger model.
integer - The counter value.
TRIG:BLOCK:BRAN:COUN:COUN? 4

Creates a block in the trigger model that resets a branch counter to 0. When the trigger model reaches this block, it resets the count of the specified Branch on Counter block to zero.

NameTypeValuesDescription
blockNumberinteger-The sequence of the block in the trigger model.
counterinteger-The block number of the counter that is to be reset.
:TRIG:BLOC:BRAN:COUN:RES 6, 3

Defines a trigger model block that branches to a specified block when the difference between two measurements meets the preset criteria. The block subtracts the most recent measurement from the previous measurement and compares the result to the target difference.

NameTypeValuesDescription
blockNumberinteger-The sequence number of the block in the trigger model.
targetDifferencereal-The value against which the block compares the difference between the measurements.
branchToBlockinteger-The block number to execute when the difference between the measurements is less than or equal to the target difference.
measureDigitizeBlockoptinteger-The measure/digitize block whose measurements are compared; if 0 or undefined, the trigger model uses the previous measure/digitize block.
TRIG:BLOC:BRAN:DELT 5, 0.5, 7, 4

Branches to a specified block when a specified trigger event occurs. If the event has not yet occurred when the trigger model reaches the branch-on-event block, execution continues in normal sequence until the next time the block is reached after the event occurs.

NameTypeValuesDescription
blockNumberinteger-The sequence number of the block in the trigger model.
eventenumBLENder<n> | COMMand | DIGio<n> | DISPlay | LAN<n> | NONE | NOTify<n> | SLIMitThe trigger event that must occur before the trigger model branches the specified block.
branchToBlockinteger-The block number of the trigger model block to execute when the specified event occurs.

Defines a trigger model block that branches to a specified block if a measurement meets preset constant-limit criteria.

NameTypeValuesDescription
blockNumberinteger-The sequence number of the block in the trigger model.
limitTypeenumABOVe | BELow | INside | OUTsideThe type of limit comparison to use.
limitAreal-The lower or only limit used in the comparison, depending on limitType.
limitBreal-The upper limit used in the comparison, depending on limitType.
branchToBlockinteger-The trigger model block number to execute when the criteria are met.
measureDigitizeBlockoptinteger-The measure/digitize block whose last measurement is compared; if 0 or undefined, the previous measure/digitize block is used.
:TRIGger:BLOCk:BRANch:LIMit:CONStant 5, OUTside, 0.15, 0.65, 8

Defines a trigger model block that branches to a specified block if a measurement meets user-defined dynamic limit criteria.

NameTypeValuesDescription
blockNumberinteger-The sequence number of the block in the trigger model.
limitTypeenumABOVe | BELow | INside | OUTsideThe type of limit to test against the measurement.
limitNumberinteger1 - 2The limit number to use.
branchToBlockinteger-The block number to execute when the limits are met.
measureDigitizeBlockoptinteger-The measure/digitize block whose last measurement is compared to the limits; if 0 or undefined, the previous measure/digitize block is used.

Causes the trigger model to branch to a specified building block the first time it encounters this block. If the block is encountered again, the trigger model ignores it and continues in the normal sequence until the trigger model returns to idle.

NameTypeValuesDescription
blockNumberinteger-The sequence number of the block in the trigger model.
branchToBlockinteger-The block number of the trigger model block to execute when the trigger model first encounters this block.
:TRIG:BLOC:BRAN:ONCE 2, 4

Causes the trigger model to go to a specified building block every time it encounters that block, except for the first time. The branch-once-excluded block is ignored on first encounter and reset when the trigger model starts or is placed in idle.

NameTypeValuesDescription
blockNumberinteger-The sequence number of the block in the trigger model.
branchToBlockinteger-The block number to execute when the trigger model encounters this block after the first encounter.
:TRIG:BLOC:BRAN:ONCE:EXCL 2, 4

Defines a trigger model block that clears the reading buffer.

NameTypeValuesDescription
blockNumberinteger-The sequence number of the block in the trigger model.
bufferNameoptstring-The name of an existing buffer to clear; if omitted, defbuffer1 is used.
:TRIGger:BLOCk:BUFFer:CLEar <blockNumber>
:TRIGger:BLOCk:BUFFer:CLEar <blockNumber>, "<bufferName>"

Recalls the settings at the next index of a source or measure configuration list when the trigger model reaches this block. If two configuration lists are supplied, both are recalled from their next index and the second list must be the opposite type of the first.

NameTypeValuesDescription
blockNumberinteger-The sequence number of the block in the trigger model.
configurationListstring-A string that defines the source or measure configuration list to recall.
configurationList2optstring-The second source or measure configuration list from which to recall settings; it must be the opposite type of the first list.
TRIG:BLOC:CONF:NEXT 12, "SETTINGS_LIST"
:TRIG:BLOC:CONF:NEXT 7, "measTrigList", "sourTrigList"

Defines a trigger model block that recalls the settings stored at the previous index in a source or measure configuration list. If both source and measure configuration lists are specified, each is recalled from its previous index when the block is reached.

NameTypeValuesDescription
blockNumberinteger-The sequence number of the block in the trigger model.
configurationListstring-A string that defines the source or measure configuration list to recall.
configurationList2string-The second source or measure configuration list from which to recall settings; the type must be opposite of configurationList.

Recalls system settings stored in a source or measure configuration list when the trigger model reaches the block. You can optionally specify an index to recall a specific set of configuration settings.

NameTypeValuesDescription
blockNumberinteger-The sequence of the block in the trigger model.
configurationListstring-A string that defines the source or measure configuration list to recall.
indexoptinteger-The index in the configuration list to recall; default is 1.

Adds a constant delay to the execution of a trigger model. When execution reaches a delay block, it waits for the specified time before proceeding to the next block.

NameTypeValuesDescription
blockNumberinteger-The sequence of the block in the trigger model.
timereal167 ns - 10 ksThe amount of time to delay; 0 specifies no delay.

Adds a user delay to the execution of the trigger model. When execution reaches a dynamic delay block, it pauses normal measurement and trigger model operation for the time set by the delay while background measurements continue.

NameTypeValuesDescription
blockNumberinteger-The sequence number of the block in the trigger model.
userDelayenumSOURce<n> | MEASure<n>Selects which user delay to use, either a source delay or a measure delay.

Defines a trigger model block that sets the digital I/O port lines high or low. The block is specified by a sequence number plus a bit pattern, with an optional bit mask to select which lines are driven.

NameTypeValuesDescription
blockNumberinteger0 - 63The sequence number of the block in the trigger model.
bitPatterninteger0 - 63Specifies the output line bit pattern.
bitMaskoptinteger0 - 63Specifies the bit mask; if omitted, all lines are driven.
:TRIGger:BLOCk:DIGital:IO <blockNumber>, <bitPattern>
:TRIGger:BLOCk:DIGital:IO <blockNumber>, <bitPattern>, <bitMask>

Returns the settings for all trigger model blocks.

string - Returns the settings for the trigger model.
:TRIG:BLOC:LIST?

Logs an event in the event log when trigger model execution reaches the specified block. The command can log information, warning, error, or abort events, and the abort option immediately aborts the trigger model.

NameTypeValuesDescription
blockNumberinteger-The sequence number of the block in the trigger model.
eventNumberenumINFO<n> | WARNing<n> | ERRor<n> | ABORtThe event to log: information, warning, error, or abort.
messagestring-A string message up to 31 characters.
TRIGger:BLOCk:LOG:EVENt 9, INFO2, "Trigger model complete"

Defines a trigger block that makes or digitizes a measurement. The block stores readings in a specified buffer and can use a specified count, including INF, 0, or AUTO.

NameTypeValuesDescription
blockNumberinteger-The sequence of the block in the trigger model.
bufferNameoptstring-Name of the reading buffer; if omitted, defbuffer1 is used.
countoptinteger-Number of readings to make before moving to the next block.
TRIG:LOAD "EMPTY" Reset trigger model settings.
TRIG:BLOC:BUFF:CLE 1, "defbuffer2" Clear defbuffer2 at the beginning of the trigger model.
TRIG:BLOC:MDIG 2, "defbuffer2" Set the measurements to be stored in defbuffer2.
TRIG:BLOC:BRAN:COUN 3, 5, 2 Loop and make five readings.
TRIG:BLOC:DEL:CONS 4, 1 Delay 1 s.
TRIG:BLOC:BRAN:COUN 5, 3, 2 Loop three more times back to block 2.
TRIG:BLOC:CONF:NEXT 1, "countactive"
TRIG:BLOC:MDIG 2, "defbuffer1", AUTO
TRIG:BLOC:DEL:CONS 3, 1
TRIG:BLOC:BRAN:COUN 4, 3, 1

Creates a placeholder block that performs no action in the trigger model. It is available only using remote commands.

NameTypeValuesDescription
blockNumberinteger-The sequence number of the block in the trigger model.
TRIG:BLOC:NOP 5 Set block number 5 to be a no operation block.

Defines a trigger model block that generates a trigger event and immediately continues to the next block.

NameTypeValuesDescription
blockNumberinteger1The sequence number of the block in the trigger model.
notifyIDinteger1 - 8The identification number of the notification.
TRIG:BLOC:NOTify 5, 2

Defines a trigger block that turns the output source on or off. The block determines whether the source output is enabled when the trigger model reaches it.

NameTypeValuesDescription
blockNumberinteger-The sequence number of the block in the trigger model.
stateenumOFF | ONDisable or enable the source output.
:TRIGger:BLOCk:SOURce:STATe <blockNumber>, <state>
TRIG:BLOC:SOUR:STAT 1, 1
TRIG:BLOC:SOUR:STAT 5, 0

Defines a trigger model block that waits for an event before allowing the trigger model to continue.

NameTypeValuesDescription
blockNumberinteger-The sequence of the block in the trigger model.
eventenumBLENder<n> | COMMand | DIGio<n> | DISPlay | LAN<n> | NONE | NOTify<n> | SLIMit | TIMer<n> | TSPLink<n>The event that must occur before the trigger block allows trigger execution to continue.
clearoptenumENTer | NEVerControls whether previously detected trigger events are cleared when entering the wait block.
logicoptenumAND | ORDetermines whether all events or at least one event must occur before the trigger model continues.
eventoptenumBLENder<n> | COMMand | DIGio<n> | DISPlay | LAN<n> | NONE | NOTify<n> | SLIMit | TIMer<n> | TSPLink<n>Additional event used in the deprecated multi-event forms.
eventoptenumBLENder<n> | COMMand | DIGio<n> | DISPlay | LAN<n> | NONE | NOTify<n> | SLIMit | TIMer<n> | TSPLink<n>Additional event used in the deprecated multi-event forms.
:TRIGger:BLOCk:WAIT 9, DISP

Determines the trigger mode setting after bootup. The setting can be OFF, AUTO, or RESTart; RESTart places the instrument into local control and starts continuous measurements after bootup.

NameTypeValuesDescription
settingenumOFF | AUTO | RESTartBootup trigger mode setting.
enum - Returns the current trigger mode setting after bootup.
TRIG:CONT OFF

Clears the trigger event on a digital input line. It clears the event detector, discards the history, and clears the overrun status for the specified trigger line.

NameTypeValuesDescription
ninteger1 - 6Digital I/O trigger line.
:TRIG:DIG2:IN:CLE

Sets the edge used by the trigger event detector on the specified digital trigger line. The query returns the currently selected edge.

NameTypeValuesDescription
ninteger1 - 6Digital I/O trigger line.
detectedEdgeenumFALLing | RISing | EITHerTrigger edge to detect on the input line.
enum - Returns the currently selected trigger edge.
:TRIG:DIG2:IN:EDGE FALL
:TRIG:DIG2:IN:EDGE?

Returns the event detector overrun status for the specified digital trigger line. The status is reported as 0 (false) or 1 (true).

NameTypeValuesDescription
ninteger1 - 6Digital I/O trigger line number.
integer - The event detector overrun status, where 0 means false and 1 means true.

Sets the output logic of the trigger event generator for the specified digital I/O trigger line to positive or negative. The query form returns the current output logic.

NameTypeValuesDescription
ninteger1 - 6Digital I/O trigger line.
logicTypeenumPOSitive | NEGativeOutput logic of the trigger generator.
enum - Returns the output logic of the trigger generator for the specified line.
:TRIG:DIG4:OUT:LOG NEG

Describes the length of time that the trigger line is asserted for output triggers. Setting the pulse width to zero asserts the trigger indefinitely.

NameTypeValuesDescription
ninteger1 - 6Digital I/O trigger line number.
widthreal0 - 100 ksPulse length.
real (s) - Returns the pulse width.
TRIG:DIG1:OUT:PULS 2

Selects the event that causes a trigger to be asserted on the specified digital output line. This command can be set and queried.

NameTypeValuesDescription
ninteger1 - 6Digital I/O trigger line.
eventenumBLENder<n> | COMMand | DIGio<n> | DISPlay | LAN<n> | NONE | NOTify<n> | SLIMit | TIMer<n> | TSPLink<n>Event to use as a stimulus.
enum - Returns the stimulus event currently selected for the specified digital output line.
:TRIG:DIG2:OUT:STIMulus TIM3

Clears the event detector for a LAN trigger. It discards the trigger packet history and clears all overruns associated with the specified LAN trigger.

NameTypeValuesDescription
ninteger1 - 8The LAN event number.
:TRIG:LAN5:IN:CLE

Sets the trigger operation and detection mode of the specified LAN event. The command controls how the trigger event detector and output trigger generator operate on that trigger.

NameTypeValuesDescription
ninteger1 - 8The LAN event number.
mode--The trigger mode.
returns

Indicates whether the specified LAN event was ignored because the event detector was already in the detected state when the event occurred. The trigger overrun state for the LAN packet is returned as 1 (true) or 0 (false).

NameTypeValuesDescription
ninteger1 - 8The LAN event number.
integer - Returns the overrun status for the specified LAN packet as 1 (true) or 0 (false).
TRIG:LAN5:IN:OVER?

Prepares the event generator for outgoing trigger events. Setting it to ON prepares the generator to send event messages; for TCP connections it opens the TCP connection, and OFF closes it.

NameTypeValuesDescription
ninteger1 - 8The LAN event number.
stateenumOFF | 0 | ON | 1Controls whether event messages are sent.
enum - Returns the current state of the trigger LAN output connect setting.
:TRIGger:LAN1:OUT:PROTocol MULT Set the protocol to multicast and prepare the event
:TRIGger:LAN1:OUT:CONNect:STATe ON generator to send event messages.

Specifies the address, in dotted-decimal format, of UDP or TCP listeners.

NameTypeValuesDescription
addressstring-A string that represents the LAN address in dotted decimal notation.
string - Returns the configured LAN address in dotted decimal notation.

Sets the logic used by the trigger event detector and the output trigger generator on the specified LAN trigger line. The setting is saved in recall/save settings and survives instrument reset and power cycle.

NameTypeValuesDescription
ninteger1 - 8The LAN event number.
logicTypeenumPOSitive | NEGativeThe type of logic.
TRIG:LAN1:OUT:LOG POS Set the logic to positive.

Sets the LAN protocol used for sending outgoing trigger messages, and the setting is saved with recall/save settings. The LAN event number n is 1 to 8, and the protocol can be TCP, UDP, or MULTicast.

NameTypeValuesDescription
ninteger1 - 8The LAN event number.
protocolenumTCP | UDP | MULTicastThe protocol to use for messages from the trigger.

Specifies which LAN event causes trigger output stimulus to assert for trigger packet <n>. Setting the event to NONE disables automatic trigger generation.

NameTypeValuesDescription
ninteger1 - 8Specifies the trigger packet over the LAN for which to set or query the trigger source.
LANeventenumBLENder<n> | COMMand | DIGio<n> | DISPlay | LAN<n> | NONE | NOTify<n> | SLIMit | TIMer<n> | TSPLink<n>The LAN event that causes this trigger to assert.
enum - Returns the LAN event that causes this trigger to assert.
TRIG:LAN1:OUT:STIM TIM1
:TRIGger:PAUSeset / query

Pauses a running trigger model. Send :TRIGger:RESume to continue the trigger model.

INIT
TRIG:PAUS
TRIG:RES
*WAI
:TRIGger:RESumeset / query

Continues a paused trigger model. If the trigger model was paused, this command resumes running the trigger model operation.

TRIG:RES

Returns the present state of the trigger model. The instrument returns the trigger state and the block that the trigger model last executed.

enum - Returns the trigger state and the block that the trigger model last executed; example output is "IDLE;IDLE;9" when the trigger model is inactive and ended at block 9.
:TRIG:STAT? An example output if the trigger model is inactive and ended at
block 9 is:
IDLE;IDLE;9

Clears the timer event detector and overrun indicator for the specified trigger timer number.

NameTypeValuesDescription
ninteger1 - 4Trigger timer number.
:TRIG:TIM1:CLE Clears trigger timer 1.

Sets the number of events to generate each time the timer generates a trigger event or is enabled as a timer or alarm. The query returns the present count value.

NameTypeValuesDescription
countinteger0 - 1,048,575The number of times to repeat the trigger.
integer - Returns the present count value.
:TRIG:TIM2:COUN 4
:TRIG:TIM4:COUN 20

Sets and reads the timer delay. The returned value is the delay interval that will be used the next time the timer is triggered.

NameTypeValuesDescription
ninteger1 - 4Trigger timer number.
intervalreal8 µs - 100 ksDelay interval.
real - The delay interval that will be used the next time the timer is triggered.
TRIG:TIM2:DEL 50E-6

Configures the alarm of the timer, or a time in the future when the timer will start. If the timer is enabled, it starts immediately when configured for a start time in the past or future.

NameTypeValuesDescription
ninteger1 - 4Trigger timer number.
timereal0 - <1 sTime in fractional seconds.
real (s) - Returns the start time in fractional seconds.

Specifies when trigger timer events are generated. When set ON or 1, a trigger event is generated immediately when the timer is triggered and again when the delay elapses; when set OFF or 0, the event is generated only when the timer elapses.

NameTypeValuesDescription
ninteger1 - 4Trigger timer number.
stateenumOFF | 0 | ON | 1Selects whether a timer event is generated at timer start and delay elapse, or only when the delay elapses.
enum - Returns the current generate state for the specified timer.
TRIG:TIM3:STAR:GEN ON Set trigger timer 3 to generate an event when the timer starts and when the timer delay elapses.

Indicates whether a start event was ignored because of the event detector state.

NameTypeValuesDescription
ninteger1 - 4Trigger timer number.
boolean - Returns whether a start event was ignored because of the event detector state.

Configures the alarm or future start time for the selected trigger timer. When the timer is enabled, it starts immediately if the configured start time has already passed.

NameTypeValuesDescription
ninteger1 - 4Trigger timer number.
timereal0 - 2,147,483,647The time at which the timer will start.
TRIG:TIM1:STAR:SEC 60
TRIG:TIM1:STAR:FRAC 0.5
TRIG:TIM1:STAT ON

Sets or queries the event that starts trigger timer <n>. The stimulus can be any trigger event, or NONE to disable event processing and use the timer as a timer or alarm based on the start time.

NameTypeValuesDescription
eventenumBLENder<n> | COMMand | DIGio<n> | DISPlay | LAN<n> | NONE | NOTify<n> | SLIMit | TIMer<n> | TSPLink<n>The event that starts the trigger timer.
enum - Returns the currently selected start stimulus event.
:TRIGger:TIMer<n>:STARt:STIMulus <event>
:TRIGger:TIMer<n>:STARt:STIMulus?

Enables or disables the trigger timer. When enabled, the timer performs the delay operation; when disabled, there is no timer on the delay operation.

NameTypeValuesDescription
ninteger1 - 4Trigger timer number.
stateenumOFF | 0 | ON | 1Disables or enables the trigger timer.
enum - Returns the present timer state.
:TRIGger:TIMer<n>:STATe <state>
:TRIGger:TIMer<n>:STATe?