/

Keysight

/

Keysight N8762A

SCPI COMMAND REFERENCE

Keysight N8762A

Keysight N8762A

The Keysight N8762A is Keysight's power supply in the N8700 Series System DC Power Supply family. Its SCPI remote-control interface exposes 94 commands across 22 subsystems - 57 settable and 37 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.

94

Commands

57

Settable

37

Queries

22

Subsystems

SCPI

Verified

2026-07-16

All commands

*TSTset / query

Performs a self-test and then returns the result.

*ESE?query

Reads the Standard Event Status Enable register. The bit configuration matches the Standard Event Status Event register; a bit value of 1 enables the corresponding event.

integer - Returns the Standard Event Status Enable register value.
*SRE?query

Reads the current state of the Service Request Enable Register. The register determines which Status Byte Register bits may set the Master Status Summary (MSS) and Request for Service (RQS) bits.

integer - The current state of *SRE.
*TRGset / query

Generates a trigger when the trigger source is set to BUS. It has the same effect as the Group Execute Trigger (<GET>) command.

*OPC?query

Synchronizes command execution and indicates when all pending operations are complete. The response from the instrument must be read each time *OPC? is given.

integer - Returns 1 when all pending operations are complete.
*IDN?query

Queries the identification (model number) of the power supply.

string - Returns the model number of the power supply.
*RSTset / query

Returns the power supply to the power-on state. Same as *RST.

*RCLset / query

Recalls the saved settings from the specified register. Up to 16 store/recall states are supported, and the settings must have been previously stored using STO.

NameTypeValuesDescription
reginteger0 - 15Register number to recall.
*SAVset / query

Stores the present power supply settings in the specified register. There are up to 16 store/recall states.

NameTypeValuesDescription
reginteger0 - 15Register number to store the current settings into.
*SRQset / query

Generates error 203. The service request capability of the power supply is only supported using the SCPI commands.

NameTypeValuesDescription
settinginteger-Setting value for the service request capability.
*SRQ?query

Always returns 0.

integer - Always returns 0.
*TST?query

Always returns 0.

integer - Always returns 0.
*CLSset / query

Clears the event registers and error queue.

*ESEset / query

Sets the event status enable register bits. The command controls which standard event status conditions are enabled to generate a summary bit in the status byte.

NameTypeValuesDescription
valueinteger0 - 255Bit mask for the event status enable register.
*ESR?query

Returns the value of the Standard Event Status Register. The register reports the occurrence of common event conditions such as command errors and execution errors.

integer - Value of the Standard Event Status Register.
*OPCset / query

Sets the Operation Complete bit in the Standard Event Status Register when all pending operations are finished. Use it for command synchronization.

*OPT?query

Returns the option information string for the instrument.

string - Returns the option information string.
*SREset / query

Sets the service request enable register. This register determines which events in the standard event status register can generate a service request.

NameTypeValuesDescription
valueinteger0 - 255Bit mask for enabling standard event status register bits.
*STB?query

Returns the status byte. The status byte reports the state of the instrument's status register.

integer - The status byte value.
*WAIset / query

Delays execution of the next command until all previous commands have been executed.

:CALibrate:DATAset / query

Enters a calibration value obtained by reading an external meter. You must first select a calibration level with CALibrate:LEVel, and the value is entered in volts or amperes depending on the function being calibrated.

NameTypeValuesDescription
valuerealV or ACalibration value to enter.
:CALibrate:DATEset / query

Stores the date the unit was last calibrated. The date must be entered in numeric format yyyy/mm/dd.

NameTypeValuesDescription
datestring-Calibration date in yyyy/mm/dd format.

Returns the date the unit was last calibrated. The date is stored in numeric format yyyy/mm/dd.

string - The date the unit was last calibrated, in yyyy/mm/dd format.
:CALibrate:LEVelset / query

Selects the next point in the calibration sequence. P1 is the first calibration point and P2 is the second calibration point.

NameTypeValuesDescription
levelenumP1 | P2Next point in the calibration sequence.

Lets you change the calibration password. A new password is automatically stored in nonvolatile memory; if the password is set to 0, password protection is removed and access to calibration mode is unrestricted.

NameTypeValuesDescription
passwordinteger0New calibration password.
:CALibrate:STATeset / query

Enables or disables calibration mode. Calibration mode must be enabled before the power supply accepts other calibration commands.

NameTypeValuesDescription
stateenumON | OFFEnabled or disabled state.
passwordoptinteger-Password required when enabling calibration mode if the existing password is not 0.
enum - Returns the current calibration mode state only, not the password.

Returns the calibration state only, not the password. Calibration mode enables the power supply to accept other calibration commands.

enum - Returns the present calibration state.

Performs a measurement and returns the DC output current in amperes. The command acquires new data before returning the reading.

real (A) - The DC output current measurement in amperes.

Performs a measurement and returns the DC output voltage in volts. MEASure commands acquire new data before returning the reading.

real (V) - Returns the DC output voltage measurement.

Determines whether the power-on state is set to the reset state or to the settings the unit had when it was turned off. RST programs the unit to the reset state; AUTO programs it to the previous settings.

NameTypeValuesDescription
stateenumRST | AUTOSelects the power-on state mode.
enum - Returns the current power-on state setting.

Determines whether the power-on state is restored to the reset state or to the settings the unit had when it was turned off. RST programs the unit to the reset state; AUTO restores the prior settings.

NameTypeValuesDescription
stateenumRST | AUTOSelects the power-on state behavior.
enum - Returns the current power-on state setting.

Clears the latched protection signals that have disabled the output. The output is restored to the state it was in before the fault condition occurred, after the fault source is removed.

:OUTPut[:STATe]set / query

Enables or disables the specified output(s). The enabled state is On (1); the disabled state is Off (0).

NameTypeValuesDescription
stateenumON | OFFSets the output state.

Enables or disables the specified output(s). The enabled state is On (1) and the disabled state is Off (0).

enum - Returns 0 if the output is off, and 1 if the output is on.

Enables or disables the over-current protection (OCP) function. The enabled state is On (1) and the disabled state is Off (0); an over-current condition can be cleared with the Output Protection Clear command after the cause is removed.

NameTypeValuesDescription
stateenumON | OFFEnables or disables over-current protection.
enum - Returns the present OCP state as On (1) or Off (0).

Sets or queries the triggered output current level. Values are programmed in amperes, and the *RST value is Min.

NameTypeValuesDescription
valuereal0 - 420Triggered current level to program.
qualifieroptenumMIN | MAXRequests the minimum or maximum allowed current level.
real (A) - Returns the triggered current level in amperes. MIN returns the minimum allowed value; MAX returns the maximum allowed value.

Returns or sets the triggered output current amplitude in amperes. The *RST value is Min.

NameTypeValuesDescription
qualifieroptenumMIN | MAXSelects the minimum or maximum current value.
real (A) - Returns the triggered output current amplitude in amperes. MIN or MAX returns the minimum or maximum allowed current value.

Sets the immediate output current level. The triggered current level is documented separately under the corresponding TRIGgered command.

NameTypeValuesDescription
valuereal0 - 420Current level to program, in amperes. The allowed range depends on the model.
qualifieroptenumMIN | MAXSets the value to the minimum or maximum allowed current.

Sets or queries the immediate output current level. Values are programmed in amperes, with the range determined by the model; the *RST value is Min.

NameTypeValuesDescription
valuereal0 - 420Immediate output current level to program.
qualifieroptenumMINimum | MAXimumRequests the minimum or maximum current level instead of a numeric value.
real (A) - Returns the immediate output current level, or the minimum/maximum current level when queried with MIN or MAX.

Sets the current trigger value used by the source subsystem. This command is listed under source commands and is the trigger-level counterpart to the current setting command.

NameTypeValuesDescription
currentreal-Trigger current value.

Sets the source current level immediately. The index lists it under source commands as a command path alias for the current level command.

[SOUR] CURR [IMM]

Sets the triggered output voltage level. Values are programmed in volts, and the triggered level is a stored value that transfers to the output when a trigger occurs. The *RST value is Min.

NameTypeValuesDescription
valuerealtable minimum - table maximumTriggered output voltage level.

Sets the immediate output voltage level. A query returns the present immediate voltage setting; both setter and query accept the optional MIN or MAX qualifier.

NameTypeValuesDescription
valuerealMIN - MAXImmediate output voltage level to program.
qualifieroptenumMIN | MAXRequests the minimum or maximum allowed value.
real (V) - Returns the present immediate output voltage setting.

Sets or queries the immediate output voltage level. The value is programmed in volts, with the allowed range coupled to the voltage protection and voltage limit low settings; *RST values are Min.

NameTypeValuesDescription
valuerealVOutput voltage level to program.
qualifieroptenumMIN | MAXReturns or programs the minimum or maximum allowed voltage level.
real (V) - Returns the present immediate output voltage level, or the minimum/maximum allowed level when queried with MIN or MAX.

Queries the low voltage limit of the output. An optional qualifier may request the minimum or maximum allowable low limit.

NameTypeValuesDescription
qualifieroptenumMIN | MAXSelects the minimum or maximum low voltage limit value.
real (V) - Returns the low voltage limit in volts, or the minimum/maximum allowable low limit when queried with MIN or MAX.

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

NameTypeValuesDescription
valuereal0.5 - 660OVP level in volts.
qualifieroptenumMIN | MAXSelects the minimum or maximum allowable protection level.
real (V) - Returns the present over-voltage protection level in volts, or the minimum or maximum value when queried with MIN or MAX.

Sets the trigger voltage level for the source output. This command is listed under source commands and cross-referenced in the index alongside [SOUR] VOLT [IMM] and [SOUR] VOLT PROT LEV.

Sets the source voltage level for the immediate output path. The index lists it under source commands as [SOUR] VOLT [IMM].

NameTypeValuesDescription
voltagereal0 - MAXimumSource voltage level to be set.

Returns the value of the Operation Condition register. This read-only register holds the live, unlatched operational status of the power supply.

integer - The value of the Operation Condition register.

Sets and reads the value of the Operation Enable register. This register masks bits from the Operation Event register to determine the operation summary bit (OPER) in the Status Byte register.

NameTypeValuesDescription
valueinteger0 - 65535Mask value for the Operational Enable register.

Sets and reads the value of the Operational Enable register. The register masks which Operation Event bits can set the operation summary bit (OPER) in the Status Byte register; the preset value is 0.

integer - Returns the value of the Operational Enable register.

Returns the value of the Operation Event register. The register is read-only, latches events passed by the Operation NTR and/or PTR filter, and is cleared when read.

integer - The value of the Operation Event register.
:STATus:PRESetset / query

Sets all defined bits in the Operation and Questionable PTR registers. It also clears all defined bits in the Operation and Questionable NTR and Enable registers.

Sets or reads the value of the Operation NTR (Negative-Transition) register. This register is a polarity filter between the Operation Condition and Operation Event registers.

NameTypeValuesDescription
valueinteger0 - 32767Value to store in the Operation NTR register.

Returns the value of the Operation NTR (Negative-Transition) register. This register is a polarity filter between the Operation Condition and Operation Event registers.

integer - The current value of the Operation NTR register.

Sets or reads the value of the Operation PTR (Positive-Transition) register. This register acts as a polarity filter between the Operation Condition and Operation Event registers, setting event bits on 0-to-1 transitions when enabled.

NameTypeValuesDescription
valueinteger-Value written to the Operation PTR register.

Returns the value of the Operation PTR (Positive-Transition) register. This read-only register is used as a polarity filter between the Operation Condition and Operation Event registers.

integer - The current value of the Operation PTR register.

Returns the value of the Questionable Condition register. This read-only register holds the real-time, unlatched questionable status of the power supply.

integer - The value of the Questionable Condition register.

Returns the value of the Questionable Event register. Reading the read-only register clears it.

integer - The value of the Questionable Event register.

Configures the remote/local state of the instrument. The setting can be Local, Remote, or RWLock; at power-on the communications setting returns to Local.

NameTypeValuesDescription
stateenumLOCal | REMote | RWLockRemote/local state setting.

Returns the current remote/local state setting of the instrument. The state can be LOCal, REMote, or RWLock, and at power-on the setting returns to LOCal.

enum - Returns the current remote/local state.

Returns the control connection port number used to open a control socket connection to the instrument.

integer - The control connection port number.

Returns the next error number and its corresponding message string from the error queue. Each read removes the error from the FIFO queue; when the queue is empty, the query returns 0, NO ERROR.

string - Returns the next error number and its corresponding message string from the error queue.

This query returns the SCPI version number to which the instrument complies. The returned value is formatted as YYYY.V, where YYYY is the year and V is the revision number for that year.

string - The SCPI version number complied with by the instrument, in YYYY.V format.

:ABORtset / query

Cancels any trigger actions in progress and returns the trigger system to the IDLE state, unless INIT:CONT is enabled. It also resets the WTG bit in the Status Operation Condition register.

This command continuously initiates output triggers. When disabled, the trigger system must be initiated for each trigger with the INITiate command.

NameTypeValuesDescription
stateenumON | OFFEnables or disables continuous initiation of output triggers.
transientopt--
INITiate:CONTinuous[:TRANsient] ON|OFF
INITiate:CONTinuous[:TRANsient]?

Continuously initiates output triggers. When disabled, the trigger system must be initiated for each trigger with the INITiate command.

NameTypeValuesDescription
stateenumON | OFFEnables or disables continuous initiation of output triggers.
enum - Returns the enabled state of continuous initiation of output triggers.

Controls the enabling of output triggers. When a trigger is enabled, a trigger causes the specified triggering action to occur; if the trigger system is not enabled, all triggers are ignored.

:TRIGger:SOURceset / query

Selects the trigger source for the output trigger system. Only BUS can be selected as the trigger source.

enum - Returns the current trigger source.

Selects the trigger source for the output trigger system. Only BUS can be selected as the trigger source.

enum - Returns the current trigger source for the output trigger system.

Generates an immediate output trigger if the trigger system has been initiated. The output trigger initiates the output change specified by the CURR:TRIG or VOLT:TRIG settings and clears the WTG bits after the trigger action completes.

:CAL:VOLTset / query

Selects voltage calibration. Used during the voltage programming and measurement calibration procedure.

CAL:VOLT
:CAL:CURRset / query

Selects current calibration mode. Used during the current programming and measurement calibration procedure before entering calibration data.

:ISETset / query

Sets the current limit during calibration procedures. The example shows it being used to set a high current limit before voltage calibration.

NameTypeValuesDescription
levelrealACurrent limit setting.
ISET 0.5

:VSETset / query

Sets the output voltage high enough to compensate for voltage drops on the load leads and current shunt. The manual shows it being used during current calibration.

NameTypeValuesDescription
valuereal-Output voltage setting.
VSET 0.5

Returns the present state of the operation status register. The register indicates the current operating conditions of the instrument.

integer - Present value of the operation status register.

Returns the status of the question subsystem. The query reports the present condition of the STATus:QUEStionable register.

integer - Returns the present value of the STATus:QUEStionable register.

:INITset / query

Initiates a command sequence. The manual lists it under initiate commands and cross-references INIT CONT.

:INIT:CONTset / query

Initiates continuous triggering. This command is listed in the manual's command index under initiate commands.