Sets the over-voltage protection level.
| Name | Type | Values | Description |
|---|---|---|---|
| levelopt | real | - | Over-voltage protection level. |
SCPI COMMAND REFERENCE
The Keysight N5764A is Keysight's power supply in the N5700 Series System DC Power Supply family. Its SCPI remote-control interface exposes 85 commands across 17 subsystems - 48 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.
85
Commands
48
Settable
37
Queries
17
Subsystems
SCPI
Verified
2026-07-16
Sets the over-voltage protection level.
| Name | Type | Values | Description |
|---|---|---|---|
| levelopt | real | - | Over-voltage protection level. |
Sets the negative transition filter for the operation status register.
| Name | Type | Values | Description |
|---|---|---|---|
| NRf | integer | 0 | Value used to set the negative transition filter. |
Sets the positive transition filter for the operation status register. This command writes the specified bit mask to the :STATus:OPERation register.
| Name | Type | Values | Description |
|---|---|---|---|
| NRf | integer | 0 | Bit mask used to set the positive transition filter. |
Sets the negative transition filter for the questionable status register.
| Name | Type | Values | Description |
|---|---|---|---|
| <NRf> | integer | 0 - 4294967295 | Specific bits to enable in the status register. |
Sets the positive transition filter for the questionable status register. It is a setter command and accepts an <NRf> value.
| Name | Type | Values | Description |
|---|---|---|---|
| NRf | numeric | - | Bit mask for the positive transition filter. |
Returns the value of the Operation Condition register. This is a read-only register that holds the live, unlatched operational status of the power supply.
Sets and reads the value of the Operational Enable register. This register masks Operation Event bits to set the operation summary bit (OPER) of the Status Byte register.
| Name | Type | Values | Description |
|---|---|---|---|
| value | integer | 0 - 0 | Value to load into the Operational Enable register. |
Sets or reads the value of the Operational Enable register. This register masks Operation Event bits to determine the operation summary bit (OPER) in the Status Byte register; the preset value is 0.
Returns the value of the Operation Event register. Reading the read-only Event register clears it.
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.
Returns the value of the Operation NTR register. The register acts as a Negative-Transition polarity filter between the Operation Condition and Operation Event registers.
Returns the value of the Operation PTR (Positive-Transition) register. This read-only register serves as a polarity filter between the Operation Condition and Operation Event registers.
Returns the value of the Questionable Condition register. This read-only register holds the real-time, unlatched questionable status of the power supply.
Returns the value of the Questionable Event register. Reading the register clears it.
Sets and reads the value of the Questionable Enable register. This register masks bits from the Questionable Event register to set the questionable summary bit (QUES) of the Status Byte register.
| Name | Type | Values | Description |
|---|---|---|---|
| value | integer | 0 - 32767 | Value of the Questionable Enable register. |
Sets or reads the value of the Questionable Enable register. This register masks bits from the Questionable Event register to set the questionable summary bit (QUES) of the Status Byte register.
Sets or reads the value of the Questionable NTR (Negative-Transition) register. The register acts as a polarity filter between the Questionable Condition and Questionable Event registers.
Sets or reads the value of the Questionable PTR (Positive-Transition) register. This register acts as a polarity filter between the Questionable Condition and Questionable Event registers.
Initiates calibration of the output current.
| Name | Type | Values | Description |
|---|---|---|---|
| levelopt | enum | P1 | P2 | Selects the next point in the calibration sequence. |
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.
| Name | Type | Values | Description |
|---|---|---|---|
| value | real | V/A | Calibration value obtained from an external meter. |
Stores the date the unit was last calibrated. The date must be entered in numeric format yyyy/mm/dd; the query returns the date.
| Name | Type | Values | Description |
|---|---|---|---|
| date | string | - | Date the unit was last calibrated, in numeric format yyyy/mm/dd. |
Selects the next point in the calibration sequence. P1 is the first calibration point and P2 is the second calibration point.
| Name | Type | Values | Description |
|---|---|---|---|
| mode | enum | P1 | P2 | Next calibration point to select. |
Changes the calibration password. A password of 0 removes password protection and makes calibration mode unrestricted; the default password is 0.
| Name | Type | Values | Description |
|---|---|---|---|
| password | string | - | New calibration password. |
Enables or disables calibration mode. Calibration mode must be enabled before the power supply accepts other calibration commands; the query returns only the state, not the password.
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | ON | OFF | Enabled or disabled state (On=1, Off=0). |
| passwordopt | integer | - | Password required when enabling calibration mode if the existing password is not 0. |
Initiates the calibration of the output voltage.
Performs a measurement and returns the DC output current in amperes. Measure commands acquire new data before returning the reading.
Performs a measurement and returns the DC output voltage in volts. MEASure commands acquire new data before returning the reading; measurement overflows return 9.91E+37.
Determines whether the power-on state is set by the reset state or by the settings saved when the unit was turned off. The setting is stored in non-volatile memory.
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | RST | AUTO | Selects the power-on state mode. |
Clears the latched 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.
Enables or disables the specified output. The enabled state is On (1) and the disabled state is Off (0).
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | ON | OFF | Sets the output state. |
OUTPut[:STATe] ON|OFF OUTPut[:STATe]?
Enables or disables the over-current protection (OCP) function. The enabled state is On (1) and the disabled state is Off (0).
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | ON | OFF | Turns the over-current protection function on or off. |
Enables or disables the over-current protection (OCP) function. The enabled state is On (1); the disabled state is Off (0).
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | ON | OFF | Enables or disables over-current protection. |
Sets the triggered output current level. The value is programmed in amperes; at *RST the immediate and triggered current values are 0.
| Name | Type | Values | Description |
|---|---|---|---|
| value | real | 0 - 0 | Triggered current level to program. |
| qualifieropt | enum | MIN | MAX | Sets the value to the minimum or maximum allowed current level. |
Returns the triggered current level. The value is programmed in amperes, and the query accepts optional MIN or MAX to return the corresponding limit value.
Sets the immediate output current level. The value is programmed in amperes; the immediate level is the output current setting.
| Name | Type | Values | Description |
|---|---|---|---|
| value | real | 0 - MAX | Immediate output current level. |
| qualifieropt | enum | MIN | MAX | Returns or sets the minimum or maximum allowed current level. |
Sets or queries the immediate output current level. The values are programmed in amperes; at *RST, the immediate current value is 0.
Sets the triggered output voltage level. The value is programmed in volts, and the allowed range depends on the model and is coupled with the voltage protection and voltage limit low settings.
| Name | Type | Values | Description |
|---|---|---|---|
| value | real | 0 - 628.5 | Triggered output voltage level to program. |
| qualifieropt | enum | MIN | MAX | Sets the value to the minimum or maximum allowed voltage level. |
Sets the triggered output voltage level. The value is programmed in volts, and the allowed range depends on the model rating and on the voltage protection/low-voltage settings.
| Name | Type | Values | Description |
|---|---|---|---|
| voltage | real | 0 - 6.3 | Triggered output voltage level to program. |
| qualifieropt | enum | MIN | MAX | Sets the voltage level to the minimum or maximum allowed value. |
Sets the immediate voltage level. The value is programmed in volts, and the command also accepts MIN and MAX keywords; the programmed range depends on the model and on the voltage protection/limit low settings.
| Name | Type | Values | Description |
|---|---|---|---|
| value | real | 0 - 628.5 | Immediate output voltage level to program. |
| qualifieropt | enum | MIN | MAX | Selects the minimum or maximum allowable voltage level. |
Sets or queries the immediate output voltage level. The values are programmed in volts, and the immediate level is the output voltage setting.
Sets the low voltage limit of the output. When set, the instrument ignores programming commands that would set the output voltage below this limit.
| Name | Type | Values | Description |
|---|---|---|---|
| value | real | 0 - 570 | Low voltage limit to program. |
| qualifieropt | enum | MIN | MAX | Sets the limit to the minimum or maximum allowed value. |
Queries the present low voltage limit of the output. The query also accepts the optional qualifiers MIN or MAX to request the minimum or maximum low limit.
| Name | Type | Values | Description |
|---|---|---|---|
| qualifieropt | enum | MIN | MAX | Selects the minimum or maximum low voltage limit value to return. |
Sets 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.
| Name | Type | Values | Description |
|---|---|---|---|
| value | real | 0.5 - 660 | OVP level in volts. |
| qualifieropt | enum | MINimum | MAXimum | Selects the minimum or maximum allowed OVP level. |
Sets the Service Request Enable Register. The query returns the current state of *SRE.
Generates a trigger when the trigger source is set to BUS. It has the same effect as the Group Execute Trigger (<GET>) command.
Synchronizes with command completion. The instrument responds when all pending operations are complete, and the response must be read each time the query is sent.
Queries the accumulated status (ASTS). The response represents the sum of the binary weights of the ASTS register bits. The ASTS register is set to the present status after being queried.
Generates error 203; the power supply's service request capability is only supported using the SCPI commands.
| Name | Type | Values | Description |
|---|---|---|---|
| setting | integer | - | Setting to apply. |
Always returns 0.
Always returns 0.
Clears the status data structures and the error queue.
Sets the Standard Event Status Enable Register bits. This is one of the IEEE 488.2 common commands listed in the command summary.
| Name | Type | Values | Description |
|---|---|---|---|
| value | integer | 0 - 255 | Bits to be written to the Standard Event Status Enable Register. |
Returns the event status register value. The register is read and then cleared.
Returns the instrument identification string.
Sets the operation complete bit in the event status register when all pending operations are finished. This command is typically used for command synchronization.
Returns the model option code or identifier. This is a query command.
Recalls a setup from nonvolatile memory.
| Name | Type | Values | Description |
|---|---|---|---|
| state | integer | 0 - 9 | Location number of the setup to recall. |
Resets the instrument to its default state.
Saves the present instrument state to a nonvolatile storage location for later recall.
Sets the IEEE 488.2 service request enable register. The enabled bits are logically ANDed with the status byte register to generate a service request.
| Name | Type | Values | Description |
|---|---|---|---|
| value | integer | 0 - 255 | Bit mask for the service request enable register. |
Returns the value of the status byte register. This is a common command.
Performs a self-test of the instrument. The query form returns the self-test result.
Waits until all previously received overlapped commands have completed. This is a synchronization command and does not return a response.
Configures the instrument's remote/local state. The setting can be LOCal, REMote, or RWLock; at power-on the communications setting returns to LOCal.
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | LOCal | REMote | RWLock | Remote/local state to set. |
Returns the current remote/local state of the instrument. The state can be LOCal, REMote, or RWLock, and at power-on it returns to LOCal.
Returns the control connection port number used to open a control socket connection to the instrument.
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.
This query returns the SCPI version number to which the instrument complies. The returned value is of the form YYYY.V, where YYYY is the year and V is the revision number for that year.
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.
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | ON | OFF | Enables or disables continuous initiation of output triggers. |
Continuously initiates output triggers. When disabled, the trigger system must be initiated for each trigger with the INITiate command.
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.
Selects the trigger source for the output trigger system. Only BUS can be selected as the trigger source.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | BUS | Trigger source for the output trigger system. |
Returns the trigger source for the output trigger system. Only BUS can be selected as the trigger source.
If the trigger system has been initiated, this command generates an immediate output trigger. The output trigger initiates the configured output change and clears the WTG bits after the trigger action has completed.
Queries the OCP setting. The response is FOLD 2.
Queries the OCP setting. The response is FOLD 2.
Sets the current trigger value. This compatibility function is held until a trigger occurs when HOLD 1 is active.
Sets the trigger voltage setting used by the compatibility functions. This applies to the compatibility functions, not the SCPI functions.
Sets the over-voltage trip point.
| Name | Type | Values | Description |
|---|---|---|---|
| level | real | - | Over-voltage trip point. |
Queries the present over-voltage setting. The response is a real number.
Queries the present output state.
Defines a trigger command used as part of the trigger subsystem. The manual index lists it under trigger commands.
TRG