Queries the instrument-specific questionable status register summary for the selected channel. The returned value is a decimal number representing the bit pattern of the queried register.
STATus:QUEStionable:INStrument:ISUMmary1:COND?
SCPI COMMAND REFERENCE
The Rohde & Schwarz ROHDE-SCHWARZ-HMP4040 is Rohde & Schwarz's power supply in the HMP4000 family. Its SCPI remote-control interface exposes 56 commands across 11 subsystems - 41 settable and 15 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.
56
Commands
41
Settable
15
Queries
11
Subsystems
SCPI
Verified
2026-07-16
Queries the instrument-specific questionable status register summary for the selected channel. The returned value is a decimal number representing the bit pattern of the queried register.
STATus:QUEStionable:INStrument:ISUMmary1:COND?
Sets the enable mask for the STATus:QUEStionable register. A 1 bit in the enable mask causes a positive transition in the summary bit when the corresponding event bit is true.
| Name | Type | Values | Description |
|---|---|---|---|
| Enable_Value | integer | 0 - 65535 | Bit mask in decimal representation. |
Sets the enable mask for the instrument-specific questionable status register. If a bit in the enable register is 1 and the corresponding event bit is true, a positive transition occurs in the summary bit and is reported to the next higher level.
| Name | Type | Values | Description |
|---|---|---|---|
| Enable_Value | integer | 0 - 65535 | Bit mask in decimal representation. |
Queries the CONDition part of the instrument-specific questionable status summary register to check the current instrument states. Reading the CONDition registers does not delete the contents.
| Name | Type | Values | Description |
|---|---|---|---|
| Condition | integer | 0 - 65535 | Condition bits in decimal representation. |
Sets the enable mask for the instrument-specific status questionable summary register channel. If a bit in the enable mask is 1 and the corresponding event bit is true, a positive transition occurs in the summary bit and is reported to the next higher level.
| Name | Type | Values | Description |
|---|---|---|---|
| Enable_Value | integer | 0 - 65535 | Bit mask in decimal representation. |
Queries the EVENt part of the status register to check whether an event has occurred since the last reading. Reading an EVENt register deletes its contents.
| Name | Type | Values | Description |
|---|---|---|---|
| event | integer | 0 - 65535 | Event bits in decimal representation. |
Queries the EVENt part of the instrument questionable status register to check whether an event has occurred since the last reading. Reading the EVENt register deletes its contents.
Queries the EVENt part of the questionable status register to check whether an event has occurred since the last reading. Reading an EVENt register deletes its contents.
| Name | Type | Values | Description |
|---|---|---|---|
| event | integer | 0 - 65535 | Event bits in decimal representation. |
Clears the status byte, standard event register, and the event bits of the questionable and operation registers. It does not alter the mask or transition bits and also clears the output buffer.
Sets the event status enable register to the specified value. The query returns the contents of the event status enable register in decimal form.
| Name | Type | Values | Description |
|---|---|---|---|
| Value | integer | - | Value written to the event status enable register. |
Returns the contents of the event status register in decimal form and then sets the register to zero.
Returns the instrument identification.
Sets bit 0 in the event status register when all preceding commands have been executed. The query form writes a "1" into the output buffer when all preceding commands have been executed, for command synchronization.
Sets the instrument to a defined default status. The default settings are indicated in the description of commands.
Sets the service request enable register to the indicated value. This command determines under which conditions a service request is triggered.
| Name | Type | Values | Description |
|---|---|---|---|
| Contents | integer | 0 - 255 | Value written to the service request enable register. |
Stores the current instrument settings under the specified number in internal memory. The settings can be recalled using *RCL with the associated number.
| Name | Type | Values | Description |
|---|---|---|---|
| number | integer | 0 - 9 | Memory slot number used to store the current settings. |
Reads the contents of the status byte in decimal form.
Initiates self-tests of the instrument and returns an error code.
Prevents servicing of subsequent commands until all preceding commands have been executed and all signals have settled. See also command synchronization and *OPC.
Loads the instrument settings from an internal memory identified by the specified number. The settings can be stored to that memory using *SAV with the associated number.
| Name | Type | Values | Description |
|---|---|---|---|
| number | integer | 0 - 9 | Memory location to recall. |
Selects a channel by number.
| Name | Type | Values | Description |
|---|---|---|---|
| Channel | integer | 1 - 4 | Channel number to select. |
INST:NSEL 1 INST:NSEL?
Selects a channel. The channel may be selected either by channel number or by output name.
| Name | Type | Values | Description |
|---|---|---|---|
| channel | enum | OUTPut1 | OUTPut2 | OUTPut3 | OUTPut4 | OUTP1 | OUTP2 | OUTP3 | OUTP4 | OUT1 | OUT2 | OUT3 | OUT4 | Channel identifier to select. |
INST OUT1 INST:NSEL 1
Sets the voltage value of the selected channel.
| Name | Type | Values | Description |
|---|---|---|---|
| Voltage | real | - | Voltage value to set for the selected channel. |
Sets the voltage step size used by the VOLT UP and VOLT DOWN commands.
| Name | Type | Values | Description |
|---|---|---|---|
| step | real | 0.000 - 32.050 | Voltage step size. |
[SOURce:]VOLTage[:LEVel]:STEP[:INCRement]
Resets the OVP state of the selected channel. If an OVP event has occurred before, the reset also erases the message on the display.
Queries the OVP state of the selected channel.
Sets the overvoltage protection value of the selected channel.
| Name | Type | Values | Description |
|---|---|---|---|
| voltage | real | 0.100 - 32.500 | Overvoltage protection level to set. |
| qualifieropt | enum | MIN | MAX | Sets the level to the minimum or maximum allowed value. |
Sets the OVP mode for the previously selected channel.
| Name | Type | Values | Description |
|---|---|---|---|
| mode | enum | MEASured | PROTected | OVP mode to use for the selected channel. |
Sets the current value of the selected channel.
| Name | Type | Values | Description |
|---|---|---|---|
| Current | real | A | Current value to set for the selected channel. |
Sets the current step size for the CURR UP | CURR DOWN command.
| Name | Type | Values | Description |
|---|---|---|---|
| Step | real | 0.005 / 0.001 - 10.0100 |
Sets the voltage and current value of the selected channel in one step. The combined setting takes approximately 100 ms.
| Name | Type | Values | Description |
|---|---|---|---|
| Voltage | real | 0.000 - 32.050 | Voltage setting for the selected channel, with DEF, MIN, and MAX accepted as alternatives. |
| qualifieropt | enum | DEF | MIN | MAX | Alternative keyword for the voltage value. |
| Current | real | A | Current setting for the selected channel, with DEF, MIN, and MAX accepted as alternatives. |
| qualifieropt | enum | DEF | MIN | MAX | Alternative keyword for the current value. |
APPL 6,2
Turns on all selected channels simultaneously.
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | 0 | 1 | State to apply to the selected channels. |
Activates the selected channel.
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | OFF | ON | 0 | 1 | State to set for the selected channel. |
OUTPut:SELect <State>
Activates the selected channel and turns on the output.
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | OFF | ON | 0 | 1 | State of the selected channel output. |
Sets a delay time for the fuse to take effect.
| Name | Type | Values | Description |
|---|---|---|---|
| delay | real | 0 - 250 | Delay time for the fuse to take effect. |
Combines the fuses of the selected channel with another channel for fuse linking.
| Name | Type | Values | Description |
|---|---|---|---|
| Channel | integer | 1 - 4 | Channel number to link. |
Queries whether the fuse has tripped in the selected channel.
FUSE:TRIPped?
Dissolves linked fuses.
| Name | Type | Values | Description |
|---|---|---|---|
| channel | integer | 1 - 4 | Channel whose linked fuses are to be dissolved. |
FUSE:UNLink <Channel>
Activates or deactivates the fuse function in the selected channel.
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | 0 | 1 | OFF | ON | Sets the fuse function state. |
Queries the current value of the selected channel.
INST OUT1 MEAS:CURR? response: 1.000
Queries the voltage value of the selected channel.
Deletes the arbitrary waveform data of the selected channel.
| Name | Type | Values | Description |
|---|---|---|---|
| Channel | integer | - | Selected channel. |
ARB:CLEAR 1
Defines the arbitrary voltage, current, and time value points for the selected channel. The dwell time between two arbitrary points is specified from 10 ms to 60 s.
| Name | Type | Values | Description |
|---|---|---|---|
| data | block | - | Voltage, current, and time points for the arbitrary waveform sequence. |
ARBitrary:DATA <Data>
Sets the repetition rate for the arbitrary waveform for the selected channel. If the rate is set to 0, the instrument repeats the waveform infinitely.
| Name | Type | Values | Description |
|---|---|---|---|
| channel | integer | 0 - 255 | Selected channel. |
Loads a saved arbitrary waveform from internal memory.
| Name | Type | Values | Description |
|---|---|---|---|
| memory | integer | 1 - 3 | Memory location to recall. |
ARBitrary:RESTore <Memory>
Saves the arbitrary waveform data in the internal memory. Up to three waveforms can be saved in internal memory.
| Name | Type | Values | Description |
|---|---|---|---|
| Memory | integer | 1 - 3 | Internal memory location to save the waveform data. |
Starts the arbitrary sequence in the selected channel.
| Name | Type | Values | Description |
|---|---|---|---|
| channel | integer | 1 - 4 | Selected channel. |
ARBitrary:START <Channel>
Stops the arbitrary sequence in the selected channel.
| Name | Type | Values | Description |
|---|---|---|---|
| channel | integer | 1 - 4 | Selected channel. |
ARBitrary:STOP <Channel>
Transfers the defined arbitrary points to the selected channel.
| Name | Type | Values | Description |
|---|---|---|---|
| Channel | integer | 1 - 4 | Selected channel. |
Returns a single beep immediately.
SYST:BEEP
Queries the error/event queue for the oldest item and removes it from the queue. The response is an error number and a short description of the error; if the queue is empty, the response is 0, "No error".
SYST:ERR? queries the oldest entry in the error queue Response: 0, "no error"
Enables manual front-panel control.
Enables remote control without locking manual control. The instrument can be controlled in remote and manual modes simultaneously (mixed mode).
SYST:MIX
Sets the system to remote state and locks front-panel manual control. To unlock manual control, press the Remote key.
SYST:REM
Locks the front panel manual control so the instrument can be operated via remote control only. The Remote key is also locked; to return to manual control, use SYSTem:LOCal.
SYST:RWL SYST:LOC
Queries the SCPI version the instrument's command set complies with.
SYST:VERS?