/

Keysight

/

Keysight N8951A

SCPI COMMAND REFERENCE

Keysight N8951A

Keysight N8951A

The Keysight N8951A is Keysight's power supply in the N8900 Series Autoranging System DC Power Supply family. Its SCPI remote-control interface exposes 173 commands across 27 subsystems - 102 settable and 71 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.

173

Commands

102

Settable

71

Queries

27

Subsystems

SCPI

Verified

2026-07-16

All commands

:CURRset / query

Sets the output current. The output current can be set whether the output is disabled or enabled; when enabled, the output current is limited at its programmed setting.

NameTypeValuesDescription
currentreal-Output current setting.
CURR 100
:CURR:PROT:DELset / query

Specifies the over-current protection delay. The delay helps prevent momentary output setting, load, and status changes from tripping OCP.

NameTypeValuesDescription
delayrealsOCP delay time.
CURR:PROT:DEL 0.01
:CURR:PROT:STATset / query

Enables over-current protection (OCP).

NameTypeValuesDescription
stateenumON | OFFTurns OCP protection on or off.
CURR:PROT:STAT ON
:CURR:MODEset / query

Sets the transient current mode. In Step mode, the triggered value becomes the immediate value when a trigger is received; in Fixed mode, trigger signals are ignored.

NameTypeValuesDescription
modeenumSTEP | FixedTransient current mode.
CURR:MODE STEP
:CURR:TRIGset / query

Sets the triggered current step level. The output current will go to this level when the trigger is received.

NameTypeValuesDescription
currentrealACurrent step level to be applied on trigger.
CURR:TRIG 110

:OUTPset / query

Enables or disables the output. The output can be turned on or off with the ON/OFF setting shown in the manual.

NameTypeValuesDescription
stateenumON | OFFTurns the output on or off.
OUTP ON|OFF

:VOLTset / query

Sets the output voltage. The output voltage may be changed whether the output is disabled or enabled; when enabled, the voltage rises to the programmed setting.

NameTypeValuesDescription
voltagerealVOutput voltage to program.
VOLT 90
:VOLT:PROTset / query

Sets the over-voltage protection level. The output turns off if the output voltage reaches the programmed over-voltage limit.

NameTypeValuesDescription
valuerealVOver-voltage protection level.
VOLT:PROT 55
:VOLT:TRIGset / query

Sets the triggered voltage step level. The output will go to this level when the trigger is received.

NameTypeValuesDescription
voltagerealVVoltage step level to apply when triggered.
VOLT:TRIG 55

:INIT:TRANset / query

Initiates the transient trigger system so it can receive a trigger. After the command, the instrument needs a few milliseconds before it is ready to accept a trigger signal.

:TRIG:TRANset / query

Generates a transient trigger when the trigger system is in the initiated state. If the trigger does not occur, the trigger system must be returned to the idle state manually.

TRIG:TRAN

Measures the average (DC) output current. The instrument automatically measures output voltage and current whenever it is on.

real (A) - Returns the average (DC) output current.
MEAS:CURR?

Measures the average (DC) output power. Power measurements are derived from the voltage and current measurements.

real - Returns the average (DC) output power.
MEAS:POW?

Measures the average (DC) output voltage. This command is part of the average measurement set alongside MEAS:CURR? and MEAS:POW?.

real (V) - Returns the average (DC) output voltage.
MEAS:VOLT?

Specifies the polarity for digital input/output pins 13 and 14. Use positive or negative polarity for the Inhibit and Fault signals.

NameTypeValuesDescription
polarityenumPOS | NEGSets the polarity for pins 13 and 14.
DIG:PIN<13|14>:POL <POS|NEG>

:SAS:MODEset / query

Specifies solar array simulator operation mode for the PV models. The command is accepted only when the output is off.

NameTypeValuesDescription
modeenumCURV | TABLSelects curve or table mode.
SAS:MODE CURV
SAS:MODE TABL
:SAS:CURV:IMPset / query

Specifies the maximum power point current for the solar array curve model.

NameTypeValuesDescription
valuereal-Maximum power point current to program.
:SAS:CURV:ISCset / query

Specifies the short-circuit current for the SAS curve model.

NameTypeValuesDescription
valuereal-Short-circuit current value to program.
:SAS:CURV:VMPset / query

Specifies the maximum power point voltage for the SAS curve model. The curve parameters can be programmed individually or together with the other I-V curve parameters.

NameTypeValuesDescription
valuerealVMaximum power point voltage to program.
:SAS:CURV:VOCset / query

Specifies the open-circuit voltage for a curve in SAS Curve mode. The exponential model is defined by four parameters: Imp, Isc, Vmp, and Voc.

NameTypeValuesDescription
valuereal-Open-circuit voltage value for the curve.

Activates the selected current and voltage tables, running the curve using the table points. An error is generated if the points do not represent a valid data set.

:SAS:SCAL:CURRset / query

Programs the current SAS curve scale factor. The value is entered as a percent and takes effect immediately without turning off the output.

NameTypeValuesDescription
percentreal%Scale factor for the current SAS curve.
:SAS:SCAL:VOLTset / query

Programs the voltage scale factor for the current and voltage SAS curves. The setting takes effect immediately and is active in both Curve and Table modes.

NameTypeValuesDescription
percentreal%Voltage scale factor in percent.

Updates the specified SAS table in processor memory from I/O memory. You can update both tables in processor memory, but not a table that is presently selected; the command updates the table only and does not select it.

NameTypeValuesDescription
tableoptenum1 | 2Selects table 1 or 2 to update.

Programs a current table list in IO memory. The command accepts one or more current values separated by commas.

NameTypeValuesDescription
currentreal-Current table value.

Queries the number of data points in the selected current table. The same syntax is also shown for voltage table points, but this entry is for the current-table query only.

integer - Returns the number of data points in the current table.

Programs a voltage table list into IO memory. The list is used later when activating the table to run the curve using the table points.

NameTypeValuesDescription
voltagereal-Voltage table data point.
MEM:TABL[1|2]:VOLT <voltage>{,<voltage>}

Queries the number of data points in the voltage table.

integer - The number of data points in the voltage table.
:MEM:TABL:SELset / query

Selects a table in processor memory and can be used to switch between two loaded tables without turning off the output.

NameTypeValuesDescription
tableinteger1 - 2Table number to select in processor memory.
MEM:TABL:SEL 1

:CALibrate:DATEset / query

Sets the calibration date using an ASCII string parameter. The manual shows the date entered as a quoted string.

NameTypeValuesDescription
datestring-Calibration date string.
CALibrate:DATE "12/12/12"

Returns the number of times the unit has been calibrated. The count is incremented whenever a calibration is saved, the administration password is changed or reset, or the firmware is updated.

integer - The calibration count.
Return the calibration count: CAL:COUN?

Calibrates the current programming and measurement. The optional value selects the range to calibrate; it is provided for compatibility with the N6700 series modular power system.

NameTypeValuesDescription
valueoptreal100 AThe maximum value of the range to calibrate.
CAL:CURR 100
:CALibrate:DATAset / query

Enters the calibration value read by the external meter. The value is stored in base units, either volts or amperes depending on which function is being calibrated.

NameTypeValuesDescription
valuereal-Numeric calibration value entered from the external meter.
CAL:DATA 2.37E-2

Enters the calibration date in nonvolatile memory. The query returns the date.

string - The calibration date.
:CALibrate:LEVelset / query

Advances to the next calibration level. P1 is the first level, P2 the second, P3 the third, and P4 the fourth.

NameTypeValuesDescription
levelenumP1 | P2 | P3 | P4Calibration level to select.
CAL:LEV P1

Sets a numeric password to prevent unauthorized calibration. The setting is non-volatile; if the password is set to 0, password protection is removed.

NameTypeValuesDescription
passwordinteger0 - 15 digitsNumeric password value.
CAL:PASS 1234
:CALibrate:SAVEset / query

Saves the calibration constants in non-volatile memory. Use this at the end of calibration to avoid losing changes.

CAL:SAVE
:CALibrate:STATeset / query

Enables or disables calibration mode. Calibration mode must be enabled before the instrument accepts calibration commands; an optional password may be provided to secure the instrument.

NameTypeValuesDescription
stateenum0 | OFF | 1 | ONSpecifies the calibration mode state.
passwordoptnumeric-Optional numeric password, up to 15 digits, used to secure calibration mode.
enum - Returns the present calibration mode state as 0 or 1.
CAL:STAT OFF,0
CAL:STAT ON

Returns the present calibration mode state. Calibration mode must be enabled for the instrument to accept calibration commands.

enum - Returns the calibration mode state as 0 or 1.
CALibrate:STATe?

Calibrates the remote voltage programming and measurement. The optional value parameter selects the range to calibrate; this is for compatibility with the N6700 series modular power system.

NameTypeValuesDescription
valueoptreal-Optional maximum value of the range.
CAL:VOLT:REM 80

Calibrates the local voltage programming and measurement. The optional value parameter selects the range to calibrate; this is for compatibility with the N6700 series modular power system.

NameTypeValuesDescription
valueoptreal-The maximum value of the range.
CAL:VOLT 80

:VOLTage:MODEset / query

Sets the voltage mode to one of the discrete values fixed or step.

NameTypeValuesDescription
modeenumFIXed | STEPSelects the voltage mode.
[SOURce:]VOLTageset / query

Sets the voltage parameter for the source voltage command. The manual shows that the voltage value may be specified numerically, or with the special keywords MINimum and MAXimum.

NameTypeValuesDescription
voltagerealVVoltage value to set.
qualifieroptenumMINimum | MAXimumOptional keyword used instead of a numeric voltage value.
[SOURce:]VOLTage 50V|MIN|MAX

Sets the voltage transient mode, which determines what happens to the output voltage when the transient system is initiated and triggered. FIXed keeps the output voltage at its immediate value, while STEP transfers the output to the triggered level on a trigger.

enum - Returns the present voltage mode.
SOURce:VOLTage:MODE STEP

Sets or queries the over-voltage protection level. If the output voltage exceeds the OVP level, the output is disabled and the Questionable Condition status register OV bit is set.

NameTypeValuesDescription
qualifieroptenumMIN | MAXSelects the minimum or maximum protection level.
real (V) - Returns the over-voltage level.
VOLT:PROT 60

Returns the triggered voltage level stored for output transfer when a step is triggered. Units are volts; the value depends on the unit's voltage rating.

real (V) - The triggered voltage level.
SOURce:VOLTage:LEVel:TRIGgered:AMPLitude?
VOLT:TRIG?

Sets or queries the immediate voltage level used in constant voltage mode. The query can also accept MIN or MAX to return the minimum or maximum allowed level.

NameTypeValuesDescription
valuereal0 - 102% of ratingImmediate voltage level to set.
qualifieroptenumMIN | MAXReturns the minimum or maximum allowed voltage level.
real (V) - Immediate voltage level in volts. With MIN or MAX, returns the minimum or maximum allowed value.
SOUR VOLT 20

Sets the transient mode for the output voltage.

NameTypeValuesDescription
modeenumFIXed | STEPSelects the transient mode.

Sets and gets the source voltage range. This is a code-compatible command for N6700 MPS instruments.

NameTypeValuesDescription
rangereal-Source voltage range to set.
real - Returns the source voltage range.

Sets or queries the current transient mode, which determines whether the output current stays at its immediate value or steps to the triggered level when a trigger occurs.

NameTypeValuesDescription
modeenumFIXed | STEPTransient mode selection.
enum - Returns the current transient mode.
CURR:MODE STEP

Sets the transient mode for output current when the transient system is initiated and triggered. FIXed keeps the output current at its immediate value, while STEP steps the output to the triggered level when a trigger occurs.

enum - Returns the current mode.
Sets the current mode to Step: CURR:MODE STEP

Sets the over-current protection delay. The over-current protection function is inhibited during the delay time and becomes active after the delay expires.

NameTypeValuesDescription
valuereal0 - 65.535Over-current protection delay time.
qualifieroptenumMIN | MAXSelects the minimum or maximum supported delay value.

Sets the over-current protection delay. The over-current protection function will not be triggered during the delay time and becomes active after the delay expires.

real (s) - Returns the over-current protection delay. With the optional qualifier, returns the minimum or maximum delay value.

Sets the triggered current level when the output is operating in constant current mode. The triggered level is a stored value transferred to the output when an output step is triggered. Units are in amperes.

NameTypeValuesDescription
valuereal0 - 102% of ratingTriggered current level to program.
SOURce:]CURRent:LEVel:TRIGgered:AMPLitude 2
CURR:TRIG 2

Sets the triggered current level when the output is operating in constant current mode. The triggered level is a stored value transferred to the output when a Step output is triggered; units are amperes.

NameTypeValuesDescription
valuereal0 - 102% of ratingTriggered current level to program.
qualifieroptenumMIN | MAXSets the value to the minimum or maximum allowed current level.
real (A) - Returns the current level.
CURR:TRIG 2

Returns the immediate current level. The returned value is in amperes and depends on the current rating of the unit.

NameTypeValuesDescription
qualifieroptenumMIN | MAXSelects the minimum or maximum immediate current level.
real (A) - The immediate current level in amperes.
CURR 3

Sets the immediate current level for the output in constant current mode. The current level is stored in amperes and may be set to a numeric value or MIN/MAX.

NameTypeValuesDescription
valuereal0 - 102% of ratingImmediate current level to program.
qualifieroptenumMIN | MAXSets the current level to the minimum or maximum allowed value.
CURR 3

Enables or disables the over-current protection. If enabled and the output goes into constant current operation, the output is disabled and the Questionable Condition status register OCP bit is set.

NameTypeValuesDescription
stateenum0 | OFF | 1 | ONEnables or disables current protection.
CURR:PROT:STAT ON

Returns whether current protection is enabled or disabled. If enabled and the output enters constant-current operation, the output is disabled and the Questionable Condition status register OCP bit is set.

enum - Returns the current protection state as 0 or 1.
CURR:PROT:STAT ON

Sets the polarity of external control signal pin 13 or 14 on the Analog connector. POSitive means a logical true signal is voltage high at the pin, and NEGative means it is voltage low.

NameTypeValuesDescription
pinenum13 | 14Selects external control signal pin 13 or 14.
polarityenumPOSitive | NEGativeSets the pin polarity.
enum - Returns the present pin polarity as POS or NEG.
DIG:PIN13:POL POS

Returns the polarity of external control signal pin 13 or 14 on the Analog connector. The SOURce keyword is optional.

enum - Returns the present pin polarity as POS or NEG.
DIG:PIN13:POL POS

Sets and gets the digital pin functions. On N8900 models, it applies to external control signal pins 13 and 14, which are aliased to N6700 MPS pins 1 and 3 respectively.

NameTypeValuesDescription
pin--Pin number for the digital function setting.
returns - Returns the functions of the specified external control signal pin.

Turns the front panel display on or off.

NameTypeValuesDescription
stateenum0 | OFF | 1 | ONSelects whether the front panel display is on or off.
enum - Returns the display state as 0 or 1.
DISP OFF

Turns the front panel LXI identify indicator on or off. When turned on, the "LAN" status indicator on the front panel blinks on and off to identify the instrument being addressed.

NameTypeValuesDescription
stateenum0 | OFF | 1 | ONSets the front panel LXI identify indicator state.
LXI:IDENT ON

Turns the front panel LXI identify indicator on or off. When turned on, the LAN status indicator blinks on and off to identify the addressed instrument.

integer - Returns the current LXI identify indicator state as 0 or 1.
LXI:IDENT ON

Sets the operating mode of the remote inhibit digital pin. The inhibit function shuts down the output in response to an external signal on the Inhibit input pin, and the mode is stored in non-volatile memory.

enum - Returns the current inhibit mode.

Enables or disables the output. A disabled output is a condition of zero output voltage and zero output current.

NameTypeValuesDescription
stateenum0 | OFF | 1 | ONTurns the output on or off.
enum - Returns the present output state as 0 or 1.
OUTP OFF

Returns the power-on state setting. The command determines whether power-on state is set to the *RST state (RST) or to the state stored in non-volatile memory location 0 (RCL0).

enum - Returns the current power-on state setting as RST or RCL0.
OUTP:PON:STAT RST

Sets the remote inhibit mode.

NameTypeValuesDescription
modeenumLATChing | LIVE | OFFRemote inhibit mode.

Sets the output power-on state.

NameTypeValuesDescription
stateenumRST | RCL0Selects the output state restored at power-on.
:OUTPut[:STATe]set / query

Enables or disables the output.

NameTypeValuesDescription
stateoptenum0 | OFF | 1 | ONTurns the output on or off.

Sets the current array for a solar array simulator table. The command accepts a comma-separated list of current points; if no table number is specified, TABLe1 is used by default.

NameTypeValuesDescription
currentreal0 - 102% of the unit’s current ratingComma-separated list of current points for the table.
MEM:TABL1:CURR 20,15,0

Sets the voltage array used to define the solar array simulator characteristic when table mode is selected. The command accepts a comma-separated list of voltage points; if no table number is specified, TABLe1 is used by default.

NameTypeValuesDescription
voltagereal0 - 102% of the unit’s voltage ratingComma-separated list of voltage points for the table.
MEM:TABL1:VOLT 0,100,120

Returns the number of data points assigned to the current array that define the SAS characteristic when table mode is selected.

integer - Returns the number of data points assigned to the current table. The typical return shown is 1024.
Return the points in a current table: MEM:TABL1:CURR:POIN?

Returns the number of data points assigned to the voltage array that defines the SAS characteristic when table mode is selected. If no table number is specified, TABLe1 is used by default for backwards compatibility.

integer - The number of data points assigned to the voltage array in the selected SAS table.
MEM:TABL1:VOLT:POIN?

Programs a list of current points in table mode for the selected memory table and SASimulator current list. The amplitude keyword is optional in the syntax line.

NameTypeValuesDescription
valuereal-Current point value to store in the table.
amplitudeoptreal-Optional amplitude qualifier for the current points.

Programs a list of voltage points in table mode. The optional SASimulator node applies within the memory table hierarchy.

NameTypeValuesDescription
valuereal-Voltage point value to store in the table.

Sets the current at the maximum power point of the SAS curve when operating in curve mode. The value is programmed in amperes.

NameTypeValuesDescription
currentreal0 - 102% of ratingCurrent at the maximum power point of the SAS curve.
qualifieroptenumMIN | MAXKeyword qualifier for the current value.
SAS:CURV:IMP 10
SAS:CURV:IMP 10; ISC 12; VMP 100; VOC 120

Sets the current at the maximum power point of the SAS curve when operating in curve mode. The value is programmed in amperes.

NameTypeValuesDescription
currentreal0 - 102% of ratingCurrent at the maximum power point.
qualifieroptenumMIN | MAXSelects the minimum or maximum allowed current.
real (A) - Returns the programmed current at the maximum power point. MIN and MAX return the minimum or maximum allowable value.
SAS:CURV:IMP 10
SAS:CURV:IMP 10; ISC 12; VMP 100; VOC 120

Sets the short-circuit current when operating in curve mode. The value is programmed in amperes.

NameTypeValuesDescription
currentreal0 - 102% of ratingShort-circuit current setting.
qualifieroptenumMIN | MAXSets the current to the minimum or maximum allowed value.
SAS:CURV:ISC 12
SAS:CURV:IMP 10; ISC 12; VMP 100; VOC 120

Sets the short-circuit current when operating in curve mode. The value is programmed in amperes.

NameTypeValuesDescription
currentreal0 - 102% of ratingShort-circuit current setting.
qualifieroptenumMIN | MAXSelects the minimum or maximum current setting keyword.
real (A) - Returns the short-circuit current setting.
SAS:CURV:ISC 12
SAS:CURV:IMP 10; ISC 12; VMP 100; VOC 120

Sets the voltage at the maximum power point of the SAS curve when operating in curve mode. The value is programmed in volts.

NameTypeValuesDescription
voltagereal0 - 102% of ratingMaximum power point voltage setting.
qualifieroptenumMIN | MAXOptional keyword to set the value to the minimum or maximum allowed voltage.
[SOURce:]SASimulator:CURVe:VMP 100
This sets all four parameters at once: SAS:CURV:IMP 10; ISC 12; VMP 100; VOC 120

Sets or queries the voltage at the maximum power point of the SAS curve when operating in curve mode. The value is programmed in volts.

NameTypeValuesDescription
voltagereal0 - 102% of ratingMaximum power point voltage to program.
real (V) - Returns the Vmp setting. The query may also be qualified with MIN or MAX to return the minimum or maximum allowed value.
[SOURce:]SASimulator:CURVe:VMP 100

Sets the open-circuit voltage when operating in curve mode. The value is programmed in volts.

NameTypeValuesDescription
voltagereal0 - 102% of ratingOpen-circuit voltage setting.
[SOURce:]SASimulator:CURVe:VOC 120

Sets the open-circuit voltage when operating in curve mode. The value is programmed in volts.

real (V) - Returns the open-circuit voltage setting.
[SOURce:]SASimulator:CURVe:VOC 120
[SOURce:]SASimulator:CURVe:VOC?

Sets the unit to operate as either a standard power supply or a solar array simulator. FIXed operates as a standard CV/CC power supply, CURVe uses the solar array simulator curve parameters, and TABLe uses user-defined table points.

NameTypeValuesDescription
modeenumFIXed | CURVe | TABLeOperating mode for the unit.
enum - Returns the current mode as FIX, CURV, or TABL.
SAS:CURV:VMP 100
SAS:CURV:IMP 10; ISC 12; VMP 100; VOC 120
VOLT:MODE STEP

Returns the current scale factor for the SAS current curve or table as a percentage. The query supports optional MIN or MAX qualifiers.

NameTypeValuesDescription
qualifieroptenumMIN | MAXOptional qualifier selecting the minimum or maximum allowed value.
real (%) - Returns the current scale factor as a percentage value.
SAS:SCAL:CURR 90

Sets a scale factor for the curve in curve and table modes. The output voltage is multiplied by this percentage, and both voltage and current can be scaled independently at the same time.

NameTypeValuesDescription
percentreal0 - 100Scale factor for the voltage.

Selects the active table to run from the two tables stored in processor memory. It lets you switch between two active tables without turning off the output.

NameTypeValuesDescription
tableinteger1 - 2Selects which active table to use.
integer - Returns the selected active table number.
Selects Table 2: SAS:TABL:SEL 2

Sets the current at the maximum power point of the curve.

NameTypeValuesDescription
valuereal-Current at the maximum power point of the curve.

Sets the voltage at the maximum power point of the curve.

NameTypeValuesDescription
valuereal-Voltage at the maximum power point of the curve.

Sets the open-circuit voltage of the curve.

NameTypeValuesDescription
valuereal-Open-circuit voltage of the curve.

Sets the operating mode of the instrument.

NameTypeValuesDescription
modeenumFIXed | SAS | TABLeOperating mode to select.

Sets and queries bits in the enable register for the Operation Status group. The enable register masks which bits from the Operation Event register can set the OPER bit of the Status Byte register.

NameTypeValuesDescription
valueinteger-A decimal value corresponding to the binary-weighted sum of the bits in the register.
integer - The binary-weighted sum of all bits set in the enable register.
STAT:OPER:ENAB 24

Sets and queries the value of the NTR (Negative-Transition) register. This register serves as a polarity filter between the Operation Condition and Operation Event registers.

NameTypeValuesDescription
valueinteger-A decimal value that corresponds to the binary-weighted sum of the bits in the register.
integer - The binary-weighted sum of all bits set in the register.
STAT:OPER:NTR 24

Sets and queries the NTR (Negative-Transition) register. This register acts as a polarity filter between the Operation Condition and Operation Event registers.

integer - The binary-weighted sum of all bits set in the NTR register.

Sets and queries the value of the PTR (Positive-Transition) register. This register acts as a polarity filter between the Operation Condition and Operation Event registers; when a bit is set to 1, a 0-to-1 transition of the corresponding condition bit sets the corresponding event bit.

NameTypeValuesDescription
valueinteger-Decimal value corresponding to the binary-weighted sum of the bits in the PTR register.
integer - Binary-weighted sum of all bits set in the PTR register.
STAT:OPER:PTR 24

Queries the value of the PTR (Positive-Transition) register in the Operation Status group. The PTR register acts as a polarity filter between the Operation Condition and Operation Event registers.

integer - Binary-weighted sum of all bits set in the PTR register.
STAT:OPER:PTR 24

Sets and queries bits in the enable register for the Questionable Status group. The register enables specific bits to set the QUES summary bit of the Status Byte register; STATus:PRESet clears all bits in the enable register.

integer - Binary-weighted sum of all bits set in the enable register.
STAT:QUES:ENAB 24

Sets and queries the value of the NTR (Negative-Transition) register. This register acts as a polarity filter between the Questionable Condition and Questionable Event registers.

NameTypeValuesDescription
valueinteger-Decimal value corresponding to the binary-weighted sum of the bits in the register.
integer - Returns the binary-weighted sum of all bits set in the register.
STAT:QUES:NTR 24

Sets and queries the value of the NTR (Negative-Transition) register. This register serves as a polarity filter between the Questionable Condition and Questionable Event registers.

NameTypeValuesDescription
valueinteger-A decimal value corresponding to the binary-weighted sum of the bits in the register.
integer - The binary-weighted sum of all bits set in the register.
STAT:QUES:NTR 24
STATus:QUEStionable:NTRansition 24

Sets and queries the value of the PTR (Positive-Transition) register. This register serves as a polarity filter between the Questionable Condition and Questionable Event registers; when a bit in PTR is set to 1, a 0-to-1 transition of the corresponding condition bit sets the corresponding event bit.

NameTypeValuesDescription
valueinteger-A decimal value corresponding to the binary-weighted sum of the bits in the register.
integer - The binary-weighted sum of all bits set in the register.
STAT:QUES:PTR 24

Sets and queries the value of the PTR (Positive-Transition) register. The register acts as a polarity filter between the Questionable Condition and Questionable Event registers.

NameTypeValuesDescription
valueinteger-A decimal value corresponding to the binary-weighted sum of the bits in the register.
integer - Returns the binary-weighted sum of all bits set in the register.
STAT:QUES:PTR 24
STAT:QUES:PTR?

Sets the operation enable register.

NameTypeValuesDescription
valueinteger-Value to load into the operation enable register.

Sets the questionable enable register.

NameTypeValuesDescription
valueinteger-Enable register value.

*ESE?query

Enables bits in the Standard Event Status enable register, or queries the current enable register mask. The query returns a decimal value corresponding to the binary-weighted sum of all bits set in the register.

integer - Returns the enable register as a decimal value corresponding to the binary-weighted sum of all bits set in the register.
*ESE 24
*ESE?
*SRE?query

Reads the Service Request Enable register and returns its decimal value. The register determines which Status Byte bits are enabled to contribute to the MSS and RQS summary bits.

integer - A decimal value corresponding to the binary-weighted sum of the bits set in the Service Request Enable register.
*SRE 24
*TRGset / query

Generates a trigger when the trigger system has BUS selected as its source. It has the same effect as the Group Execute Trigger (<GET>) command.

*TRG
*CLSset / query

Clears the status system.

*ESEset / query

Standard event status enable.

NameTypeValuesDescription
valueinteger-Standard event status enable register value.
*ESR?query

Returns the event status register.

integer - Event status register value.
*IDN?query

Returns the instrument identification.

string - Returns the instrument identification.
*LRN?query

Returns a sequence of SCPI commands.

string - Returns a sequence of SCPI commands.
*OPCset / query

Enables the operation complete bit in the ESR.

*OPT?query

Returns the option number.

string - Returns the instrument option number.
*RCLset / query

Recalls a saved instrument state.

NameTypeValuesDescription
valueinteger-Saved instrument state number to recall.
*RSTset / query

Resets the instrument.

*SAVset / query

Saves an instrument state.

NameTypeValuesDescription
valueinteger-State number to save.
*SREset / query

Sets the service request enable register.

NameTypeValuesDescription
valueinteger-Service request enable register value.
*STB?query

Return the status byte.

integer - Returns the status byte.
*WAIset / query

Pauses additional command processing until all device commands are done.

*PONset / query

Sets the power-on output state. Check this setting before attaching anything to the output terminals because the output may be enabled at turn-on.

NameTypeValuesDescription
stateenumON | OFFDetermines whether the output is enabled when the instrument is turned on.
*OPC?query

Synchronizes with instrument command completion during calibration. The response must be read each time *OPC? is given.

boolean - Returns 1 when all pending operations are complete.
*TST?query

Performs the instrument self-test. The result is 0 if the self-test passed and 1 if it failed; the self-test does not enable the output or place any voltages on the output and leaves the instrument in the reset state.

enum - Returns 0 if self-test passed and 1 if self-test failed.
*TST?

Returns the initial socket control connection port number. The control socket port is used to send and receive commands and queries; if sockets are not supported, the query returns 0.

integer - The initial socket control connection port number, or 0 if sockets are not supported.
SYST:COMM:LAN:CONT?
SYST:COMM:TCP:CONT?

Reads the current remote/local state of the instrument. The state can be local, remote, or remote lockout, and is unaffected by *RST.

enum - Returns the current remote/local state.
SYST:COMM:RLST REM

Returns the initial socket control connection port number used to send and receive commands and queries. The control socket port number varies and must be obtained using this query.

integer - The initial socket control connection port number; returns 0 if sockets are not supported.

Disables the front-panel keys so the instrument can only be controlled remotely. This command is non-volatile and is available only on firmware revision B.02.04 and up.

NameTypeValuesDescription
stateenum0 | OFF | 1 | ONEnables or disables the front-panel keys.
enum - Returns the current front-panel key lock state.
SYS:KLOC ON

Configures the remote/local state of the instrument.

NameTypeValuesDescription
stateenumLOCal | REMote | RWLockSelects the remote/local state.

Reads and clears one error from the error queue.

string - The next error from the error queue.
:SYSTem:KLOCkset / query

Enables or disables the front panel keys.

NameTypeValuesDescription
stateenum0 | OFF | 1 | ONFront panel key lock state.

Returns the SCPI version that the instrument complies with.

string - The SCPI version that the instrument complies with.

Returns the power supply model. Same as *IDN?.

string - Returns the channel model number.

Returns the power supply options. This compatibility query is equivalent to *OPT?.

string - Returns the power supply options.

Returns the power supply serial number. This compatibility query is the same as *IDN?.

string - Returns the channel serial number.

Returns the number of output channels. On N8900 models it always returns "1".

integer - Always returns 1.

Returns the number of grouped channels.

integer - Returns a list of discovered slave addresses.

:ABORt:TRANsientset / query

Cancels any triggered actions, returning the trigger system to the Idle state and resetting the WTG-tran bit in the Operation Condition Status register.

Continuously initiates the transient trigger system, allowing multiple triggers to generate multiple output transients.

enum - Returns the current continuous transient trigger setting as 0 or 1.
INITiate:CONTinuous:TRANsient?

Continuously initiates the transient trigger system.

NameTypeValuesDescription
stateenum0 | OFF | 1 | ONTurns continuous initiation of the transient trigger system on or off.

Selects the transient trigger source. BUS is the only trigger source that can be selected, and this chooses a remote trigger interface command as the trigger source.

NameTypeValuesDescription
sourceenumBUSTrigger source to select.
enum - Returns the current transient trigger source.
TRIG:TRAN:SOUR BUS

Sets and gets the sense current range. Returns the measurement current range.

Sets and gets the sense voltage range. On N8900 models this compatibility command has little effect.

NameTypeValuesDescription
rangereal-Sense voltage range.

:CAL:VOLT:REMset / query

Specifies remote sense voltage calibration. The manual shows it as the SCPI command used to select the remote voltage programming and measurement calibration step.

CAL:VOLT:REM
:CAL:VOLTset / query

Specifies local sense voltage calibration. The slice shows it as the SCPI command used to select the local voltage programming and measurement calibration.

:CAL:CURRset / query

Selects current calibration mode for the calibration procedure. It is the command used to specify current calibration before entering measured data for the calibration points.

CAL:CURR