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
SCPI COMMAND REFERENCE
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
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
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.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 0 - 255 | The value of the Standard Event Status Enable Register. |
*ESE 145
Reads the contents of the Standard Event Status Register (SESR). The instrument returns the decimal value of the register contents and clears the SESR.
*ESR?
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`.
*IDN?
Determines which command set is used by the instrument. The only available remote command set is SCPI.
*LANG? Verify the setting by sending the language 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.
*OPC *OPC?
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.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 5 | Saved setup number to restore. |
*RCL 3
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
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.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 5 | User-saved setup location number. |
*SAV 2
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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 0 - 32 | Bit value or constant used to set the Status Request Enable Register; 0 clears all bits. |
*SRE 0
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.
*STB? Query the contents of the Status Byte Register.
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.
This query performs a complete self-test and returns the results. Sending the command returns 0; a self-test is not performed.
*TST?
Postpones execution of subsequent commands until all previous overlapped commands are finished.
*WAI
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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 | Channel 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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| mode | enum | POWer | TEST | SIMulator | ENTRy | Instrument function to select. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
:FORM:ELEM "READ,UNIT" Specify the data elements contained in the readings. :FETCh? Return the latest reading.
Bypasses the control source of the Arm layer or Trigger layer when you do not wish to wait for the programmed event to occur.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
:FORCe:TRIGger[n]
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.
| Name | Type | Values | Description |
|---|---|---|---|
| itemlist | enum | READing | SOURce | UNIT | MODE | DATE | TIME | TSTamp | RELative | RSTamp | Data elements to include in the data string. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | - | Channel number; for single-channel instruments, the value is 1. |
| function | enum | CONCurrent[:DC] | CURRent[:DC] | VOLTage[:DC] | Measurement function to which this setting applies. |
| rangeopt | real | 0.01 - 20 | Measurement range value. |
| resolutionopt | integer | 4 - 6 | Display resolution in digits. |
:MEAS:CURR? 10,5
Makes measurements and returns the first reading. When sent, it executes :ABORt, :INITiate, and :FETCh? in that order.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
:READ[n]?
Sets the number of times to repeat the Arm event.
| Name | Type | Values | Description |
|---|---|---|---|
| count | integer | 1 - 2500 | The number of times to repeat the arm event. |
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
ARM:COUN 4
Selects the control source for the arm layer. The source can be immediate, external, manual, or bus triggering.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| source | enum | IMMediate | EXTernal | MANual | BUS | Trigger 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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel 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.
| Name | Type | Values | Description |
|---|---|---|---|
| bufferElementsopt | enum | VOLTage | CURRent | SOC | RESistance | AH | UNIT | MODE | DATE | TIME | TSTamp | RELative | RSTamp | RNUMber | List of buffer elements to return, up to 12 elements; elements may be specified in any order and repeated if fewer than 12. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| start | integer | 1 - 2500 | Beginning point of the data query. |
| end | integer | 1 - 2500 | Ending point of the data query. |
| bufferElementsopt | string | - | List of buffer elements to return; if omitted, VOLTage, CURRent, UNIT, and RELative are used. |
:BATT:DATA:DATA:SEL? 1, 10, "VOLT,UNIT,REL"
Saves the data in the buffer to a USB flash drive.
| Name | Type | Values | Description |
|---|---|---|---|
| fileName | string | - | Name of the file to save the data in. |
| timeFormatopt | enum | TSTamp | RELative | RSTamp | Controls how date and time information from the buffer is saved in the file. |
| startopt | integer | - | Starting point of the data to be saved in the buffer. |
| endopt | integer | - | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| line_index | integer | 1 - 6 | The digital I/O line number. |
| function | enum | AUTO | DIGIN | DIGOUT | MANual | Selects the line function. |
| actionopt | enum | OUTPUTON | OUTPUTOFF | SSTARt | SSTOP | FULL | EMPTy | CCCV | END | SSOurce | HV | LV | MOUTH | MOUTL | MINPut | Optional secondary action associated with the selected function. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| line_index | integer | 1 - 6 | The digital I/O line to configure. |
| edge | enum | RISE | FALL | Edge 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.
| Name | Type | Values | Description |
|---|---|---|---|
| line_index | integer | 1 - 6 | The digital I/O line. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| modelindex | integer | 1 - 9 | Index used as the model name in internal memory. |
| fileName | string | - | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| modelindex | integer | 1 - 9 | Battery model index. |
| element | enum | RESistance | Voc | Model element to set or query: resistance or open-circuit voltage. |
| string | string | - | Setting values separated by commas; maximum string length is 2048. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| modelindex | integer | 1 - 9 | Model index. |
| element | enum | RESistance | Voc | Model element to update. |
| string | string | - | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| modelindex | integer | 1 - 9 | Battery model index. |
| element | enum | RESistance | Voc | Battery model element to simplify: resistance or open-circuit voltage. |
| string | string | - | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| modelindex | integer | 1 - 9 | Selects the battery model index. |
| element | enum | RESistance | Voc | Selects the model element: resistance or open-circuit voltage. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| modelindex | integer | 1 - 9 | Battery model index. |
| rowindex | integer | 0 - 100 | Row number within the selected battery model. |
| string | string | - | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| modelindex | integer | 1 - 9 | Index of the battery model to recall. |
| build-in model | enum | LI-ION4_2 | NIMH1_2 | NICD1_2 | LEAD-ACID12 | NIMH12 | Built-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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| modelindex | integer | 1 - 9 | Battery 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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| modelindex | integer | 1 - 9 | Battery model index to save. |
| fileName | string | - | 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.
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| value | real | 0.001 - 99 | Maximum battery capacity. |
:BATT:SIM:CAP:LIM 5 Set the maximum capacity to 5 Ah.
Queries the real-time battery current of the battery simulator.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | - | Channel number; for single-channel instruments, the value is 1. |
| value | real | 0 - 6.1 | Current 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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| value | real | 0.1 - 6.1 | Current protection value. |
| qualifieropt | enum | MINimum | MAXimum | DEFault | Selects the minimum, maximum, or default current protection value. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| value | real | 0 - 21 | High voltage setting for the battery simulator. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| value | real | 0.0 - 21 | Low voltage setting. |
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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| mode | enum | DYNamic | STATic | Simulation mode. |
:BATT:SIM:METH STAT Set the simulation mode to static mode.
Queries the real-time internal resistance of the battery simulator.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| value | real | -100 - 100 | Resistance offset value. |
| qualifieropt | enum | MINimum | MAXimum | DEFault | Optional 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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| value | real | 8e-5 - 0.48 | Sample 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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| value | real | 0.0 - 100.0 | SOC 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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | - | Channel number; for single-channel instruments, the value is 1. |
:BATT:SIM:TVOL?
Sets the TVOLtage protection value in the battery simulator function. The value cannot be changed while the simulation is in progress.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | - | Channel number; for single-channel instruments, the value is 1. |
| value | real | 0.5 - 21.0 | TVOLtage 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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | - | Channel number; for single-channel instruments, the value is 1. |
| value | real | Minimum - Maximum | Voc value. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| value | real | Minimum - Maximum | Threshold 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.
| Name | Type | Values | Description |
|---|---|---|---|
| value | real | Minimum - Maximum | Voc 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.
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| interval | enum | S10 | S30 | S60 | S120 | M10 | ESR sample interval to use for A-H measurement. |
:BATT:TEST:SENS:AH:ESRI S60 :BATT:TEST:SENS:AH:ESRI?
Sets the status of the A-H measurement.
| Name | Type | Values | Description |
|---|---|---|---|
| action | enum | STARt | STOP | PAUSe | CONTinue | Status 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.
| Name | Type | Values | Description |
|---|---|---|---|
| low | real | - | Lower limit of the Voc range; must be within the actual measured maximum and minimum Voc value. |
| high | real | - | Upper limit of the Voc range; must be within the actual measured maximum and minimum Voc value. |
Saves the measurement results as a battery model in the internal memory. Up to 9 battery models can be saved.
| Name | Type | Values | Description |
|---|---|---|---|
| modelindex | integer | 1 - 9 | Index 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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| fileName | string | - | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| channelopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| value | real | 0 - 6.1 | Maximum 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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| value | real | 0 - 20 | Full voltage value. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| value | real | 0 - 0.1 | EVoc delay value. |
Sets and queries the sample interval in the battery test function. The interval is based on power line cycles.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| value | real | 8e-5 - 0.48 | Sample interval for 50 Hz line frequency; for 60 Hz the range is 6.66667e-5 to 0.5 s. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| value | real | 0 - 0.1 | End 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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| value | real | 0 - 6.1 | Maximum source current. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| value | real | 0.1 - 6.1 | Protection threshold value of the current to be sourced to the battery under test. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| value | real | 0 - 21 | High 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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | - | Channel number; for single-channel instruments, the value is 1. |
| value | real | 0 - 21 | Low 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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | - | Channel number; for single-channel instruments, the value is 1. |
| value | real | 0 - 20 | V-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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | - | Channel number; for single-channel instruments, the value is 1. |
| value | real | 0 - 20 | Maximum 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.
| Name | Type | Values | Description |
|---|---|---|---|
| channelopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| value | real | 0.5 - 21 | Protection threshold value of the open-circuit voltage to be sourced to the battery under test. |
| qualifieropt | enum | MINimum | MAXimum | DEFault | Query qualifier that returns the default, minimum, or maximum protection threshold 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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | - | Channel number; for single-channel instruments, the value is 1. |
| direction | enum | RISE | FALL | Direction of the current trigger transition. |
:BATT:TRAC:TRIG:CURR:DIR RISE
Configures the current threshold value for the level trigger in the battery simulator and battery test function.
| Name | Type | Values | Description |
|---|---|---|---|
| currentThreshold | real | 0 - 6 | Current 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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | - | Channel number; for single-channel instruments, the value is 1. |
| state | enum | ON | OFF | 1 | 0 | Enables or disables the current level trigger. |
:BATT:TRAC:TRIG:CURR:STAT 1 Enable the current level trigger.
Clears all the data in the buffer.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | - | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| bufferElementsopt | enum | VOLTage | CURRent | SOC | RESistance | AH | UNIT | MODE | DATE | TIME | TSTamp | RELative | RSTamp | RNUMber | List of trace-buffer elements to return; if omitted, the default values are VOLTage, CURRent, UNIT, and RELative. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| start | integer | 1 - 2500 | Beginning of the data query range. |
| end | integer | 1 - 2500 | Ending of the data query range. |
| bufferElementsopt | string | - | List of elements to return from the buffer. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| fileName | string | - | Name to use for the saved data file. |
| timeFormatopt | enum | TSTamp | RELative | RSTamp | Controls how date and time information from the buffer is saved in the file. |
| startopt | integer | - | Starting point of the data to be saved from the buffer. |
| endopt | integer | - | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| offset | integer | 0 - 2500 | Number 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.
| Name | Type | Values | Description |
|---|---|---|---|
| direction | enum | RISE | FALL | Selects whether the voltage rises above or falls below the trigger level. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| voltageThreshold | real | 0 - 20 | Voltage threshold for the level trigger. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | - | Channel number; for single-channel instruments, the value is 1. |
| state | enum | ON | 1 | OFF | 0 | Enables or disables 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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel 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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 | Channel number; for single-channel instruments, the value is 1. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 | Channel number; for single-channel instruments, the value is 1. |
| state | enum | OFF | 0 | ON | 1 | DISable | 2 | Turns 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.
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| name | enum | MXB | The name of the math operation. |
| channelopt | enum | CH1 | CH2 | The 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.
| Name | Type | Values | Description |
|---|---|---|---|
| function | enum | CONCurrent[:DC] | CURRent[:DC] | VOLTage[:DC] | The measurement function to which this setting applies. |
| n | real | -1e6 - +1e6 | The offset for the y = mx + b operation. |
| channel | enum | CH1 | CH2 | The 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.
| Name | Type | Values | Description |
|---|---|---|---|
| function | enum | CONCurrent[:DC] | CURRent[:DC] | VOLTage[:DC] | The measurement function to which this setting applies. |
| n | real | -1e6 - +1e6 | The scale factor. |
| channel | enum | CH1 | CH2 | The 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.
| Name | Type | Values | Description |
|---|---|---|---|
| string | string | - | 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. |
| channelopt | enum | CH1 | CH2 | The 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.
| Name | Type | Values | Description |
|---|---|---|---|
| function | enum | CONCurrent[:DC] | CURRent[:DC] | VOLTage[:DC] | The measurement function to which this setting applies. |
| state | enum | ON | 1 | OFF | 0 | Enable or disable the math operation. |
| channelopt | enum | CH1 | CH2 | The 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.
| Name | Type | Values | Description |
|---|---|---|---|
| channelopt | enum | CH1 | CH2 | Channel number to read; default is CH1. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| itemList | enum | MINimum | MAXimum | MEAN | SDEViation | PKPK | NONE | Math statistic format(s) to select for buffered readings. |
| channelopt | enum | CH1 | CH2 | Channel number to apply the format selection to. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| itemList | enum | READing | UNIT | RNUMber | TSTamp | Data elements to include in the data string. |
| channelopt | enum | CH1 | CH2 | Channel number; default is CH1. |
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.
| Name | Type | Values | Description |
|---|---|---|---|
| function | enum | CURRent | VOLTage | Selects current data only or voltage data only for statistic operations. |
| channelopt | integer | 1 - 2 | Channel number to query or set; default is CH1. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| channelopt | enum | CH1 | CH2 | Selects the channel number; the default value is CH1. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | ON | 1 | OFF | 0 | Enable or disable statistic calculations. |
| channelopt | enum | CH1 | CH2 | Channel number to which the setting applies; default is CH1. |
:CALC2:STATE ON
Cancels the calibration procedures and drops the new calibration constants.
:CAL:PROT:CANC
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>.
| Name | Type | Values | Description |
|---|---|---|---|
| string | string | - | 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.
:CAL:PROT:COUN?
Queries the saved calibration constants from nonvolatile memory.
: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>.
| Name | Type | Values | Description |
|---|---|---|---|
| year | integer | 1970 | Year; must be more than 1970. |
| month | integer | 1 - 12 | Month value from 1 to 12. |
| day | integer | 1 - 31 | Day 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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| step | enum | Step1 | Step2 | Step3 | Step4 | Step5 | Step6 | Step7 | Step8 | Step9 | Step10 | Step11 | Step12 | Calibration 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.
| Name | Type | Values | Description |
|---|---|---|---|
| step | integer | 1 - 12 | Calibration step number to set data for. |
| voltage | real | V | Voltage reading from the external DMM. |
| resistance | real | - | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | ON | 1 | OFF | 0 | Enables or disables the calibration mode. |
| password | string | - | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 6 | The digital I/O line number. |
| function | enum | AUTO | MOUTH | MOUTL | MINPut | The pin state or function to assign to the selected 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.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 1 - 6 | The digital I/O line number. |
:DIG:LINE1:MAN:INP:DATA?
Sets and queries the brightness of the front-panel display. The setting is stored in nonvolatile memory.
| Name | Type | Values | Description |
|---|---|---|---|
| brightness | real | 5 - 100 | The brightness of the display. |
:DISP:BRIG 50
Removes the user-defined text message from the OUTPUT view screen and returns the instrument to normal mode. The channel defaults to CH1.
| Name | Type | Values | Description |
|---|---|---|---|
| channelopt | enum | CH1 | CH2 | The channel number. |
:DISP:CLE Clear the user-defined text message.
Specifies which screen is displayed on the front-panel. It allows changing the screen shown on the display.
| Name | Type | Values | Description |
|---|---|---|---|
| screenName | enum | HOME | GRAPh | DATasheet | The 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.
| Name | Type | Values | Description |
|---|---|---|---|
| string | string | - | String that contains the message, up to 24 characters. |
| channelopt | enum | CH1 | CH2 | Channel 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."
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| state | enum | OFF | 0 | ON | 1 | Disables or enables continuous triggering. |
INIT:CONT OFF
Starts the trigger model.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
Recalls the specified setup from the external USB flash drive to the instrument.
| Name | Type | Values | Description |
|---|---|---|---|
| fileName | string | - | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| fileName | string | - | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| n | real | 0 - 10 | Delay rising time in seconds. |
| channelopt | enum | CH1 | CH2 | Channel number; default is CH1. |
| qualifieropt | enum | MINimum | MAXimum | DEFault | Query qualifier that returns the minimum, maximum, or default falling delay. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| n | real | 0 - 10 | Delay rising time. |
| channelopt | enum | CH1 | CH2 | Channel number; default is CH1. |
| qualifieropt | enum | MINimum | MAXimum | DEFault | Query qualifier that returns the minimum, maximum, or default delay time. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | OFF | 0 | ON | 1 | Disables or enables output delay. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| channelopt | enum | CH1 | CH2 | The 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.
| Name | Type | Values | Description |
|---|---|---|---|
| channelopt | enum | CH1 | CH2 | The channel number; default value is CH1. |
:OUTP:PROT:TRIP? CH1
Enables or disables the source output. The command accepts an output state and an optional channel number; the query form returns the present state.
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | OFF | 0 | ON | 1 | DISable | 2 | Turns the source output off, on, or disables the source. |
| channelopt | enum | CH1 | CH2 | Selects the channel number; the default is CH1. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| name | string | - | String containing the measurement function to make active: CONCurrent[:DC], CURRent[:DC], or VOLTage[:DC]. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| function | enum | CONCurrent[:DC] | CURRent[:DC] | VOLTage[:DC] | Measurement function to which this setting applies. |
| value | integer | 2 - 100 | Number of readings required for each filtered measurement. |
Enables or disables the averaging filter for measurements of the selected function. When enabled, the instrument returns an averaged value taken from multiple measurements.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| function | enum | CONCurrent[:DC] | CURRent[:DC] | VOLTage[:DC] | The measurement function to which the setting applies. |
| state | enum | OFF | 0 | ON | 1 | Filter status to disable or enable the averaging filter. |
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.
| Name | Type | Values | Description |
|---|---|---|---|
| type | enum | MOVing | The filter type to use when filtering is enabled. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | - | Channel number; for single-channel instruments, the value is 1. |
| function | enum | CONCurrent[:DC] | CURRent[:DC] | VOLTage[:DC] | Measurement function to which the setting applies. |
| value | real | 0.01 - 100 | Filter window as a percentage; acceptable values are 0.01, 0.1, 1, 10, and 100. |
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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | - | Channel number; for single-channel instruments, the value is 1. |
| function | enum | CONCurrent[:DC] | CURRent[:DC] | VOLTage[:DC] | Measurement function to which this setting applies. |
| value | integer | 4 - 6 | Front panel display resolution in digits: 4.5-digit, 5.5-digit, or 6.5-digit resolution. |
| qualifieropt | enum | MINimum | MAXimum | DEFault | For query forms, returns the minimum, maximum, or default digit setting. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| function | enum | CONCurrent[:DC] | CURRent[:DC] | VOLTage[:DC] | Measurement function to which this setting applies. |
| value | real | 0.002 - 12 | Number of power-line cycles for each measurement; 0.002 to 12 for 50 Hz and 0.002 to 15 for 60 Hz. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| function | enum | CONCurrent | CURRent | VOLTage | Measurement function whose range is set or queried. |
| range | real | - | Specific measurement range value or preset value. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| function | enum | CONCurrent[:DC] | CURRent[:DC] | Measurement function to which the setting applies. |
| state | enum | OFF | 0 | ON | 1 | Selects manual range selection (OFF or 0) or automatic range selection (ON or 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.
| Name | Type | Values | Description |
|---|---|---|---|
| ref | real | -6.1 - 6.1 | Relative offset value for concurrent and current measurements. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| function | enum | CONCurrent[: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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| function | enum | CONCurrent[:DC] | CURRent[:DC] | VOLTage[:DC] | Measurement function to which this setting applies. |
| state | enum | OFF | 0 | ON | 1 | Disables 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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| function | enum | CONCurrent[:DC] | CURRent[:DC] | VOLTage[:DC] | Measurement function to which the resolution setting applies. |
| value | integer | - | 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.
: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).
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | - | The status of the Measurement Status Register. |
: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.
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.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | - | 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.
: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).
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 0 - 65535 | Value written to the Measurement Instrument Summary Enable Register; may be sent as decimal, binary (#b), or hexadecimal (#h). |
:STAT:MEAS:INST:ISUM:ENAB #b0000100000000001
Reads 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.
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 0 - 8192 | The 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.
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.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | - | 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.
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.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | - | Value to write to 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.
:STAT:OPER:INST:ISUM:COND? Returns the contents of the Operation
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.
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | - | The value of the Questionable Status Enable Register. |
:STAT:QUES:ENAB #b0010000000000000
Reads and clears the Questionable Instrument Event Register of the status model.
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.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | 0 - 65535 | The 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.
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| n | integer | - | The status of the Questionable Instrument Summary Event Enable Register. |
: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.
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| state | enum | OFF | 0 | ON | 1 | Disables or enables autozero. |
:SYST:AZER OFF
Turns the error beeper on or off. When enabled, a beep signals that an error has happened.
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | OFF | 0 | ON | 1 | Disables 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.
| Name | Type | Values | Description |
|---|---|---|---|
| mode | enum | AUTO | MANual | Selects automatic or manual LAN configuration. |
| ipaddressopt | string | - | LAN IP address in dotted decimal notation; required when mode is MANual. |
| netmaskopt | string | - | LAN subnet mask in dotted decimal notation. |
| gatewayopt | string | - | LAN default gateway in dotted decimal notation. |
: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.
:SYSTem:COMMunication:LAN:MACaddress?
Sets or queries the instrument calendar date. The query returns the present date in the format <year>,<month>,<day>.
| Name | Type | Values | Description |
|---|---|---|---|
| year | integer | 1971 | Year to set; must be more than 1970. |
| month | integer | 1 - 12 | Month to set. |
| day | integer | 1 - 31 | Day to set. |
: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.
:SYST:ERR?
Clears the error queue and removes all messages from it.
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.
: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.
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| fileName | string | - | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 30 | The GPIB address of the instrument. |
:SYST:GPIB:ADDR 26 :SYST:GPIB:ADDR?
Enables or disables the key click sound. When enabled, front-panel key presses produce a sound signaling that a key has been pressed.
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | OFF | 0 | ON | 1 | Disables or enables the key click sound. |
:SYSTem:KCLick ON Enable the key clicks.
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.
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| password | string | - | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| value | enum | ALL | NONE | Enable 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.
| Name | Type | Values | Description |
|---|---|---|---|
| string1 | string | - | The present password, up to 8 characters. |
| string2 | string | - | 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."
| Name | Type | Values | Description |
|---|---|---|---|
| password | string | - | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | OFF | 0 | ON | 1 | Disable or enable default setup loading. |
:SYST:POS:STAT ON :SYST:POS:STAT?
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
Locks out the front-panel controls so the instrument can only be controlled through the remote interface.
:SYST:RWLock
Sets the absolute time of the instrument. The query returns the present timestamp in the format <hour>,<minute>,<second>.
| Name | Type | Values | Description |
|---|---|---|---|
| hour | integer | 0 - 23 | Hour in 24-hour time format. |
| minute | integer | 0 - 60 | Minute value. |
| second | integer | 0 - 60 | Second value. |
:SYST:TIME 5, 51, 30
Queries the present SCPI standard version.
:SYST:VERS?
Clears all readings in the buffer.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel 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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| state | enum | ON | 1 | OFF | 0 | Enable 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.
| Name | Type | Values | Description |
|---|---|---|---|
| bufferElementsopt | string | - | A list of elements in the buffer to print. |
Returns specified data elements in the buffer for the given channel and index range.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| start | integer | 1 - 2500 | Beginning index of the buffer to return. |
| end | integer | 1 - 2500 | Ending index of the buffer to return. |
| bufferElementsopt | string | - | A list of elements in the buffer to print; if nothing is specified, defaults to READing, SOURce, UNIT, and RELative. |
.
Selects the source of readings for the trace buffer. For single-channel instruments, the channel number n is 1.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number. |
| name | enum | SENSe | CALCulate | Selects whether readings are stored before the math calculation or after the math calculation. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| name | enum | NEXT | ALWays | NEVer | Buffer control mode. |
:DATA:FEED:CONT ALWays Set the buffer mode to always and query the mode. :DATA:FEED:CONT? Output is: ALW
Sets or queries the number of readings a buffer can store. For the query form, MINimum, MAXimum, and DEFault are supported qualifiers.
| Name | Type | Values | Description |
|---|---|---|---|
| newSize | integer | 2 - 2500 | The new size for the buffer. |
| qualifieropt | enum | DEFault | MINimum | MAXimum | Query qualifier returning the default, minimum, or maximum buffer size. |
:DATA:POIN? Query the capacity of the buffer.
Queries the number of readings presently stored in the buffer.
:DATA:POIN:ACT?
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.
| Name | Type | Values | Description |
|---|---|---|---|
| fileName | string | - | Name of the file on the USB flash drive in which to save the reading buffer. |
| timeFormatopt | enum | TSTamp | RELative | RSTamp | Selects which time information is saved in the file. |
| startopt | integer | - | Starting point in the buffer from which to begin saving data. |
| endopt | integer | - | Ending point in the buffer at which to stop saving data. |
:DATA:SAVE "myData" :DATA:SAVE "myDataRel", REL :DATA:SAVE "myDataRel100",REL,1,100
Clears all readings in the buffer. For single-channel instruments, the channel number is 1.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel 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.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| state | enum | ON | 1 | OFF | 0 | Enable or disable autoclear. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| bufferElementsopt | enum | READing | SOURce | UNIT | RELative | MODE | DATE | TIME | TSTamp | A list of elements in the buffer to print. |
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.
| Name | Type | Values | Description |
|---|---|---|---|
| start | integer | 1 - 2500 | Beginning index of the buffer to return. |
| end | integer | 1 - 2500 | Ending index of the buffer to return. |
| bufferElementsopt | enum | READing | SOURce | UNIT | MODE | DATE | TIME | TSTamp | RELative | RSTamp | RNUMber | List of buffer elements to print; if omitted, defaults to READing, SOURce, UNIT, and RELative. |
:TRAC:DATA:SEL? 1, 99, "READ,SOUR,REL"
Selects the source of readings for the trace buffer. For single-channel instruments, [n] is 1.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number. |
| name | enum | SENSe | CALCulate | Selects whether readings are stored before or after the math calculation. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| name | enum | NEXT | ALWays | NEVer | Buffer control mode: fill once, fill continuous, or no measurements to fill the buffer. |
:TRACe:FEED:CONT ALW Set the buffer mode to always and query the mode. :TRACe:FEED:CONT? Output is: ALW
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.
| Name | Type | Values | Description |
|---|---|---|---|
| newSize | integer | 2 - 2500 | The new size for the buffer. |
:TRAC:POIN? Query the capacity of the buffer.
Queries the number of readings presently stored in the buffer.
:TRAC:POIN:ACT? Query the number of stored reading in the buffer. Output: 200
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.
| Name | Type | Values | Description |
|---|---|---|---|
| fileName | string | - | Name of the file on the USB flash drive in which to save the reading buffer. |
| timeFormatopt | enum | TSTamp | RELative | RSTamp | Specifies which time information is saved in the file. |
| startopt | integer | - | Starting point in the buffer to begin saving data. |
| endopt | integer | - | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| currentThreshold | real | -1.0E7 - 1.0E7 | The current threshold value for the level trigger. |
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.
| Name | Type | Values | Description |
|---|---|---|---|
| direction | enum | RISE | FALL | Direction of the current level trigger. |
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).
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | ON | 1 | OFF | 0 | Enables or disables the current level trigger function. |
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.
TRAC:TRIG:OCC?
Defines the number of points at which the instrument begins to log data in the buffer.
| Name | Type | Values | Description |
|---|---|---|---|
| value | integer | 0 - 100 | Number of points before logging begins. |
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.
| Name | Type | Values | Description |
|---|---|---|---|
| direction | enum | RISE | FALL | Selects the trigger 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.
| Name | Type | Values | Description |
|---|---|---|---|
| voltageThreshold | real | -1.0E8 - 1.0E8 | Voltage threshold value when TRACe:FEED is CALC. |
| voltageThreshold | real | 0 - 20 | Voltage 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.
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | ON | 1 | OFF | 0 | Enables or disables the voltage level trigger function. |
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.
| Name | Type | Values | Description |
|---|---|---|---|
| count | integer | 1 - 2500 | The number of times to repeat the trigger. |
: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.
| Name | Type | Values | Description |
|---|---|---|---|
| count | integer | 1 - 2500 | The number of measurements per trigger event. |
:TRIG:SAMP:COUN 10
Selects the control source for the trigger layer. The source can be immediate, external, or manual triggering.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 1 | Channel number; for single-channel instruments, the value is 1. |
| source | enum | IMMediate | EXTernal | MANual | Trigger source for the trigger layer. |
:TRIG:SOUR EXT Select external triggering as the trigger source.