Power Supply Module · SCPI command reference

Keysight N6784A SCPI commands

The Keysight N6784A power supply module is controlled remotely with SCPI commands. TestFlow's instrument library holds 155 commands for it, 36 of them queries that read values or state, grouped below by subsystem with their arguments. It is the same library TestFlow's AI agent uses to drive the N6784A on a real bench.

Commands
155
Queries
36
Subsystems
16
Models covered
1

Run this on your bench

Describe the test; TestFlow's agent uses this command set to drive your Keysight N6784A and writes the report from the measured results.

Get started

Control the Keysight N6784A from Python

With PyVISA, any VISA backend, and the instrument on USB, LAN or GPIB, this opens a session, identifies the instrument, sends one setting, and reads one value. Every command in it comes from the reference below. For a full walkthrough, see the PyVISA tutorial and the SCPI command cheat sheet.

import pyvisa

rm = pyvisa.ResourceManager()
print(rm.list_resources())  # find the Keysight N6784A's VISA address

# Paste the address of your Keysight N6784A (USB, LAN or GPIB).
inst = rm.open_resource("PASTE_VISA_ADDRESS_HERE")
inst.timeout = 5000  # ms

print(inst.query("*IDN?"))  # identify the instrument
inst.write("OUTPut:COUPle ON")  # Enable Output Coupling
print(inst.query("MEASure:VOLTage:DC? (@1)"))  # Measure Voltage

inst.close()

Run this on your bench

Describe the test; TestFlow's agent uses this command set to drive your Keysight N6784A and writes the report from the measured results.

Get started

Run a N6784A test without writing code

Describe the test in a sentence, for example “enable output coupling on the N6784A, then measure voltage and log it against a limit”. TestFlow's agent builds the steps from this command library, runs them on your bench through the TestFlow desktop app, and writes the report from the measured values. See AI test automation for lab instruments for how that works and where it stops.

Get started

SCPI command reference

155 commands in 16 groups. A ? marks a query that returns a value. Placeholders in angle brackets take the listed values.

Source (SOURce) (51)

CommandWhat it doesArguments
SOURce:FUNCtion <Mode>,(@<Channel>)Set Priority Mode. Selects voltage priority or current priority mode for the source/measure unit.Text: VOLTage,CURRent; Number: 1,2,3,4
SOURce:EMULation <Type>,(@<Channel>)Set Emulation Mode. Selects the operating mode that the SMU emulates, such as a power supply, battery, load or meter.Text: PS4Q,PS2Q,PS1Q,CCLoad,CVLoad,VMETer,AMETer; Number: 1,2,3,4
SOURce:VOLTage <Volt>,(@<Channel>)Set Voltage. Sets the output voltage in volts (programming range up to 20.4 V).Number: -20.4,20.4; Number: 1,2,3,4
SOURce:VOLTage? (@<Channel>)Read Voltage Setting. Reads the programmed voltage setting of the selected channel.Number: 1,2,3,4
SOURce:CURRent <Amp>,(@<Channel>)Set Current. Sets the output or sink current in amps (programming range up to 3.06 A).Number: -3.06,3.06; Number: 1,2,3,4
SOURce:CURRent? (@<Channel>)Read Current Setting. Reads the programmed current setting of the selected channel.Number: 1,2,3,4
SOURce:VOLTage:TRIGgered <Volt>,(@<Channel>)Set Triggered Voltage. Sets the voltage the channel steps to when the transient system is triggered.Number: -20.4,20.4; Number: 1,2,3,4
SOURce:CURRent:TRIGgered <Amp>,(@<Channel>)Set Triggered Current. Sets the current the channel steps to when the transient system is triggered.Number: -3.06,3.06; Number: 1,2,3,4
SOURce:CURRent:LIMit:POSitive <Amp>,(@<Channel>)Set Positive Current Limit. Sets the positive current limit in amps used in voltage priority mode.Number: 0,3.06; Number: 1,2,3,4
SOURce:CURRent:LIMit:NEGative <Amp>,(@<Channel>)Set Negative Current Limit. Sets the negative (sinking) current limit in amps used in voltage priority mode.Number: -3.06,0; Number: 1,2,3,4
SOURce:CURRent:LIMit:COUPle ON,(@<Channel>)Enable Current Limit Tracking. Couples the negative current limit so that it tracks the positive current limit setting.Number: 1,2,3,4
SOURce:CURRent:LIMit:COUPle OFF,(@<Channel>)Disable Current Limit Tracking. Uncouples the current limits so the positive and negative limits can be set independently.Number: 1,2,3,4
SOURce:VOLTage:LIMit:POSitive <Volt>,(@<Channel>)Set Positive Voltage Limit. Sets the positive voltage limit in volts used in current priority mode.Number: 0,20.4; Number: 1,2,3,4
SOURce:VOLTage:LIMit:NEGative <Volt>,(@<Channel>)Set Negative Voltage Limit. Sets the negative voltage limit in volts used in current priority mode (4-quadrant operation).Number: -20.4,0; Number: 1,2,3,4
SOURce:VOLTage:LIMit:COUPle ON,(@<Channel>)Enable Voltage Limit Tracking. Couples the negative voltage limit so that it tracks the positive voltage limit setting.Number: 1,2,3,4
SOURce:VOLTage:LIMit:COUPle OFF,(@<Channel>)Disable Voltage Limit Tracking. Uncouples the voltage limits so the positive and negative limits can be set independently.Number: 1,2,3,4
SOURce:VOLTage:RANGe <Volt>,(@<Channel>)Set Voltage Range. Selects the output voltage range; enter the highest voltage you expect to source.Number: 0.6,6,20; Number: 1,2,3,4
SOURce:CURRent:RANGe <Amp>,(@<Channel>)Set Current Range. Selects the output current range; enter the highest current you expect.Number: 0.01,0.1,1,3; Number: 1,2,3,4
SOURce:VOLTage:SLEW <Slew>,(@<Channel>)Set Voltage Slew Rate. Sets the voltage slew rate in volts per second.Number; Number: 1,2,3,4
SOURce:VOLTage:SLEW? (@<Channel>)Read Voltage Slew Rate. Reads the programmed voltage slew rate of the selected channel.Number: 1,2,3,4
SOURce:VOLTage:SLEW:MAXimum ON,(@<Channel>)Set Voltage Slew Max On. Overrides the slew rate setting and slews the voltage at the fastest possible rate.Number: 1,2,3,4
SOURce:VOLTage:SLEW:MAXimum OFF,(@<Channel>)Set Voltage Slew Max Off. Cancels the maximum slew rate override and uses the programmed voltage slew rate.Number: 1,2,3,4
SOURce:CURRent:SLEW <Slew>,(@<Channel>)Set Current Slew Rate. Sets the current slew rate in amps per second.Number; Number: 1,2,3,4
SOURce:CURRent:SLEW:MAXimum ON,(@<Channel>)Set Current Slew Max On. Overrides the slew rate setting and slews the current at the fastest possible rate.Number: 1,2,3,4
SOURce:CURRent:SLEW:MAXimum OFF,(@<Channel>)Set Current Slew Max Off. Cancels the maximum slew rate override and uses the programmed current slew rate.Number: 1,2,3,4
SOURce:VOLTage:MODE <Mode>,(@<Channel>)Set Voltage Mode. Selects what the voltage does when the transient system is triggered.Text: FIXed,STEP,LIST,ARB; Number: 1,2,3,4
SOURce:CURRent:MODE <Mode>,(@<Channel>)Set Current Mode. Selects what the current does when the transient system is triggered.Text: FIXed,STEP,LIST,ARB; Number: 1,2,3,4
SOURce:VOLTage:BWIDth <Mode>,(@<Channel>)Set Voltage Bandwidth. Selects the voltage compensation bandwidth used for the connected load capacitance.Text: LOW,HIGH1,HIGH2,HIGH3; Number: 1,2,3,4
SOURce:VOLTage:PROTection:LEVel <Volt>,(@<Channel>)Set OVP Level. Sets the over-voltage protection trip level in volts (24 V maximum setting).Number: 0,24; Number: 1,2,3,4
SOURce:VOLTage:PROTection:LEVel? (@<Channel>)Read OVP Level. Reads the over-voltage protection trip level of the selected channel.Number: 1,2,3,4
SOURce:VOLTage:PROTection:DELay <Seconds>,(@<Channel>)Set OVP Delay. Sets the over-voltage protection delay in seconds before the protection trips.Number; Number: 1,2,3,4
SOURce:VOLTage:PROTection:REMote <Volt>,(@<Channel>)Set Remote OVP Level. Sets the positive over-voltage protection level measured at the remote sense terminals.Number: 0,24; Number: 1,2,3,4
SOURce:VOLTage:PROTection:REMote:NEGative <Volt>,(@<Channel>)Set Negative Remote OVP Level. Sets the negative over-voltage protection level measured at the remote sense terminals.Number: -24,0; Number: 1,2,3,4
SOURce:CURRent:PROTection:STATe ON,(@<Channel>)Enable OCP. Enables over-current protection so the output latches off when it enters constant current mode.Number: 1,2,3,4
SOURce:CURRent:PROTection:STATe OFF,(@<Channel>)Disable OCP. Disables over-current protection on the selected channel.Number: 1,2,3,4
SOURce:CURRent:PROTection:DELay <Seconds>,(@<Channel>)Set OCP Delay. Sets the over-current protection delay in seconds (0 to 0.255 s in 1 ms steps).Number: 0,0.255; Number: 1,2,3,4
SOURce:CURRent:PROTection:DELay:STARt <Mode>,(@<Channel>)Set OCP Delay Start. Selects whether the OCP delay timer starts on any setting change or only on CV-to-CC transitions.Text: SCHange,CCTRans; Number: 1,2,3,4
SOURce:LIST:VOLTage <Volt_List>,(@<Channel>)Set Voltage List. Defines the voltage list steps, for example 1,5,10.Text; Number: 1,2,3,4
SOURce:LIST:CURRent <Amp_List>,(@<Channel>)Set Current List. Defines the current list steps, for example 1,2,5.Text; Number: 1,2,3,4
SOURce:LIST:DWELl <Dwell_List>,(@<Channel>)Set Dwell List. Defines the dwell time in seconds for each list step, for example 0.1,0.1,0.5.Text; Number: 1,2,3,4
SOURce:LIST:COUNt <Count>,(@<Channel>)Set List Count. Sets how many times the list is repeated.Number; Number: 1,2,3,4
SOURce:LIST:STEP <Mode>,(@<Channel>)Set List Step. Specifies whether each list step needs its own trigger or the list advances automatically.Text: ONCE,AUTO; Number: 1,2,3,4
SOURce:LIST:TERMinate:LAST ON,(@<Channel>)Enable List Terminate Last. Leaves the output at the last list value when the list completes.Number: 1,2,3,4
SOURce:LIST:TERMinate:LAST OFF,(@<Channel>)Disable List Terminate Last. Returns the output to its immediate value when the list completes.Number: 1,2,3,4
SOURce:ARB:FUNCtion:SHAPe <Shape>,(@<Channel>)Set Arb Shape. Selects the shape of the arbitrary waveform generated by the channel.Text: STEP,RAMP,STAircase,SINusoid,PULSe,TRAPezoid,EXPonential,UDEFined,CDWell,SEQuence,NONE; Number: 1,2,3,4
SOURce:ARB:FUNCtion:TYPE <Type>,(@<Channel>)Set Arb Type. Selects whether the arbitrary waveform drives the current, voltage.Text: CURRent,VOLTage; Number: 1,2,3,4
SOURce:ARB:COUNt <Count>,(@<Channel>)Set Arb Count. Sets the number of times the arbitrary waveform is repeated.Number: 1,16777216; Number: 1,2,3,4
SOURce:ARB:TERMinate:LAST ON,(@<Channel>)Enable Arb Terminate Last. Leaves the output at the last arbitrary waveform value when the waveform completes.Number: 1,2,3,4
SOURce:ARB:TERMinate:LAST OFF,(@<Channel>)Disable Arb Terminate Last. Returns the output to its pre-waveform setting when the arbitrary waveform completes.Number: 1,2,3,4
SOURce:STEP:TOUTput ON,(@<Channel>)Enable Step Trigger Out. Generates a trigger out signal on the digital port when a transient step occurs.Number: 1,2,3,4
SOURce:STEP:TOUTput OFF,(@<Channel>)Disable Step Trigger Out. Stops generating a trigger out signal when a transient step occurs.Number: 1,2,3,4

Output (OUTPut) (20)

CommandWhat it doesArguments
OUTPut ON,(@<Channel>)Turn On. Enables the output of the N6784A module in the selected mainframe channel.Number: 1,2,3,4
OUTPut OFF,(@<Channel>)Turn Off. Disables the output of the N6784A module in the selected mainframe channel.Number: 1,2,3,4
OUTPut? (@<Channel>)Read Output State. Reads whether the selected channel output is ON (1) or OFF (0).Number: 1,2,3,4
OUTPut:DELay:RISE <Seconds>,(@<Channel>)Set Turn On Delay. Sets the turn-on sequence delay in seconds for the selected channel.Number; Number: 1,2,3,4
OUTPut:DELay:FALL <Seconds>,(@<Channel>)Set Turn Off Delay. Sets the turn-off sequence delay in seconds for the selected channel.Number; Number: 1,2,3,4
OUTPut:COUPle ONEnable Output Coupling. Enables channel coupling so that coupled channels turn on and off together.None
OUTPut:COUPle OFFDisable Output Coupling. Disables channel coupling for output synchronization.None
OUTPut:COUPle:CHANnel <Channel_List>Set Coupled Channels. Selects which mainframe channels are coupled, for example 1,2,3.Text
OUTPut:PON:STATe RSTSet Power On State Reset. Sets the instrument to power on with the factory reset (*RST) settings.None
OUTPut:PON:STATe RCL0Set Power On State Recall. Sets the instrument to power on with the state saved in memory location 0.None
OUTPut:TMODe <Mode>,(@<Channel>)Set Turn Off Impedance. Specifies the high-impedance or low-impedance output state used during turn-on and turn-off.Text: HIGHZ,LOWZ; Number: 1,2,3,4
OUTPut:PROTection:CLEar (@<Channel>)Clear Protection. Clears the latched protection fault and re-enables the output of the selected channel.Number: 1,2,3,4
OUTPut:PROTection:COUPle ONEnable Protection Coupling. Enables protection coupling so a fault on any channel disables all channels.None
OUTPut:PROTection:COUPle OFFDisable Protection Coupling. Disables protection coupling so only the faulted channel is disabled.None
OUTPut:PROTection:OSCillation ON,(@<Channel>)Enable Oscillation Protection. Enables output oscillation protection which trips if the output oscillates.Number: 1,2,3,4
OUTPut:PROTection:OSCillation OFF,(@<Channel>)Disable Oscillation Protection. Disables output oscillation protection on the selected channel.Number: 1,2,3,4
OUTPut:INHibit:MODE <Mode>Set Inhibit Mode. Sets the operating mode of the remote inhibit digital input.Text: LATChing,LIVE,OFF
OUTPut:PROTection:WDOG ONEnable Watchdog. Enables the I/O watchdog timer that disables the outputs if there is no remote I/O activity.None
OUTPut:PROTection:WDOG OFFDisable Watchdog. Disables the I/O watchdog timer.None
OUTPut:PROTection:WDOG:DELay <Seconds>Set Watchdog Delay. Sets the I/O watchdog timer delay in seconds.Number

Sense (SENSe) (20)

CommandWhat it doesArguments
SENSe:FUNCtion:VOLTage ON,(@<Channel>)Enable Voltage Measure Function. Enables the voltage measurement function for triggered data acquisitions.Number: 1,2,3,4
SENSe:FUNCtion:VOLTage OFF,(@<Channel>)Disable Voltage Measure Function. Disables the voltage measurement function for triggered data acquisitions.Number: 1,2,3,4
SENSe:FUNCtion:CURRent ON,(@<Channel>)Enable Current Measure Function. Enables the current measurement function for triggered data acquisitions.Number: 1,2,3,4
SENSe:FUNCtion:CURRent OFF,(@<Channel>)Disable Current Measure Function. Disables the current measurement function for triggered data acquisitions.Number: 1,2,3,4
SENSe:VOLTage:RANGe <Volt>,(@<Channel>)Set Voltage Measure Range. Selects the voltage measurement range; enter the highest voltage you expect to measure.Number: 0.1,1,20; Number: 1,2,3,4
SENSe:CURRent:RANGe <Amp>,(@<Channel>)Set Current Measure Range. Selects the current measurement range; enter the highest current you expect to measure.Number: 0.00001,0.001,0.1,3; Number: 1,2,3,4
SENSe:VOLTage:RANGe:AUTO ON,(@<Channel>)Enable Voltage Measure Autorange. Enables seamless voltage measurement autoranging on the selected channel.Number: 1,2,3,4
SENSe:VOLTage:RANGe:AUTO OFF,(@<Channel>)Disable Voltage Measure Autorange. Disables seamless voltage measurement autoranging on the selected channel.Number: 1,2,3,4
SENSe:CURRent:RANGe:AUTO ON,(@<Channel>)Enable Current Measure Autorange. Enables seamless current measurement autoranging on the selected channel.Number: 1,2,3,4
SENSe:CURRent:RANGe:AUTO OFF,(@<Channel>)Disable Current Measure Autorange. Disables seamless current measurement autoranging on the selected channel.Number: 1,2,3,4
SENSe:SWEep:TINTerval <Seconds>,(@<Channel>)Set Sample Interval. Sets the digitizer sample interval in seconds.Number; Number: 1,2,3,4
SENSe:SWEep:POINts <Points>,(@<Channel>)Set Sample Points. Sets the number of data points in a measurement sweep.Number; Number: 1,2,3,4
SENSe:SWEep:OFFSet:POINts <Points>,(@<Channel>)Set Trigger Offset Points. Sets the trigger offset in the measurement sweep.Number; Number: 1,2,3,4
SENSe:SWEep:TINTerval:RESolution <Mode>Set Measure Resolution. Selects 20-bit or 40-bit measurement resolution for the digitizer.Text: RES20,RES40
SENSe:WINDow <Type>,(@<Channel>)Set Measure Window. Selects the rectangular or Hanning measurement window applied to the acquired data.Text: HANNing,RECTangular; Number: 1,2,3,4
SENSe:ELOG:FUNCtion:VOLTage ON,(@<Channel>)Enable Elog Voltage. Enables voltage logging in the external data log.Number: 1,2,3,4
SENSe:ELOG:FUNCtion:VOLTage OFF,(@<Channel>)Disable Elog Voltage. Disables voltage logging in the external data log.Number: 1,2,3,4
SENSe:ELOG:FUNCtion:CURRent ON,(@<Channel>)Enable Elog Current. Enables current logging in the external data log.Number: 1,2,3,4
SENSe:ELOG:FUNCtion:CURRent OFF,(@<Channel>)Disable Elog Current. Disables current logging in the external data log.Number: 1,2,3,4
SENSe:ELOG:PERiod <Seconds>,(@<Channel>)Set Elog Period. Sets the integration period in seconds for each external data log record.Number; Number: 1,2,3,4

Measurement (MEASure) (12)

CommandWhat it doesArguments
MEASure:VOLTage:DC? (@<Channel>)Measure Voltage. Takes a measurement and returns the average voltage in volts.Number: 1,2,3,4
MEASure:CURRent:DC? (@<Channel>)Measure Current. Takes a measurement and returns the average current in amps.Number: 1,2,3,4
MEASure:POWer:DC? (@<Channel>)Measure Power. Takes a measurement and returns the average power in watts.Number: 1,2,3,4
MEASure:VOLTage:MAXimum? (@<Channel>)Measure Voltage Max. Takes a measurement and returns the maximum voltage of the acquisition.Number: 1,2,3,4
MEASure:VOLTage:MINimum? (@<Channel>)Measure Voltage Min. Takes a measurement and returns the minimum voltage of the acquisition.Number: 1,2,3,4
MEASure:CURRent:MAXimum? (@<Channel>)Measure Current Max. Takes a measurement and returns the maximum current of the acquisition.Number: 1,2,3,4
MEASure:CURRent:MINimum? (@<Channel>)Measure Current Min. Takes a measurement and returns the minimum current of the acquisition.Number: 1,2,3,4
MEASure:VOLTage:ACDC? (@<Channel>)Measure Voltage RMS. Takes a measurement and returns the total RMS voltage (AC plus DC).Number: 1,2,3,4
MEASure:CURRent:ACDC? (@<Channel>)Measure Current RMS. Takes a measurement and returns the total RMS current (AC plus DC).Number: 1,2,3,4
MEASure:ARRay:VOLTage:DC? (@<Channel>)Measure Voltage Array. Takes a digitized measurement and returns the instantaneous voltage samples.Number: 1,2,3,4
MEASure:ARRay:CURRent:DC? (@<Channel>)Measure Current Array. Takes a digitized measurement and returns the instantaneous current samples.Number: 1,2,3,4
MEASure:ARRay:POWer:DC? (@<Channel>)Measure Power Array. Takes a digitized measurement and returns the instantaneous power samples.Number: 1,2,3,4

Trigger (TRIGger) (10)

CommandWhat it doesArguments
TRIGger:ACQuire:SOURce <Source>,(@<Channel>)Set Acquire Trigger Source. Selects the measurement trigger source.Text: BUS,EXTernal,VOLTage1,CURRent1,TRANsient1,PIN1; Number: 1,2,3,4
TRIGger:ACQuire:VOLTage <Volt>,(@<Channel>)Set Acquire Voltage Trigger Level. Sets the voltage level that triggers a measurement acquisition.Number; Number: 1,2,3,4
TRIGger:ACQuire:CURRent <Amp>,(@<Channel>)Set Acquire Current Trigger Level. Sets the current level that triggers a measurement acquisition.Number; Number: 1,2,3,4
TRIGger:ACQuire:VOLTage:SLOPe <Slope>,(@<Channel>)Set Acquire Voltage Trigger Slope. Selects the rising or falling voltage slope that triggers a measurement acquisition.Text: POSitive,NEGative; Number: 1,2,3,4
TRIGger:ACQuire:CURRent:SLOPe <Slope>,(@<Channel>)Set Acquire Current Trigger Slope. Selects the rising or falling current slope that triggers a measurement acquisition.Text: POSitive,NEGative; Number: 1,2,3,4
TRIGger:ACQuire (@<Channel>)Trigger Acquisition Now. Triggers the measurement acquisition immediately.Number: 1,2,3,4
TRIGger:ELOG:SOURce <Source>,(@<Channel>)Set Elog Trigger Source. Selects the trigger source that starts the external data log.Text: BUS,EXTernal,IMMediate,PIN1; Number: 1,2,3,4
TRIGger:ELOG (@<Channel>)Trigger Elog Now. Triggers the external data log immediately.Number: 1,2,3,4
TRIGger:TRANsient:SOURce <Source>,(@<Channel>)Set Transient Trigger Source. Selects the trigger source for the output transient system.Text: BUS,EXTernal,IMMediate,TRANsient1,PIN1; Number: 1,2,3,4
TRIGger:TRANsient (@<Channel>)Trigger Transient Now. Triggers the output transient immediately.Number: 1,2,3,4

Fetch (FETCh) (8)

CommandWhat it doesArguments
FETCh:VOLTage:DC? (@<Channel>)Fetch Voltage. Returns the average voltage from the last acquisition without re-triggering.Number: 1,2,3,4
FETCh:CURRent:DC? (@<Channel>)Fetch Current. Returns the average current from the last acquisition without re-triggering.Number: 1,2,3,4
FETCh:POWer:DC? (@<Channel>)Fetch Power. Returns the average power from the last acquisition without re-triggering.Number: 1,2,3,4
FETCh:VOLTage:MAXimum? (@<Channel>)Fetch Voltage Max. Returns the maximum voltage of the last acquisition.Number: 1,2,3,4
FETCh:VOLTage:MINimum? (@<Channel>)Fetch Voltage Min. Returns the minimum voltage of the last acquisition.Number: 1,2,3,4
FETCh:CURRent:MAXimum? (@<Channel>)Fetch Current Max. Returns the maximum current of the last acquisition.Number: 1,2,3,4
FETCh:CURRent:MINimum? (@<Channel>)Fetch Current Min. Returns the minimum current of the last acquisition.Number: 1,2,3,4
FETCh:ELOG? <Records>,(@<Channel>)Fetch Elog. Returns the specified number of the most recent external data log records.Number; Number: 1,2,3,4

System (SYSTem) (7)

CommandWhat it doesArguments
SYSTem:CHANnel:MODel? (@<Channel>)Read Channel Model. Returns the model number of the power module installed in the selected channel.Number: 1,2,3,4
SYSTem:CHANnel:OPTion? (@<Channel>)Read Channel Option. Returns the options installed in the selected channel such as 054 or 761.Number: 1,2,3,4
SYSTem:CHANnel:SERial? (@<Channel>)Read Channel Serial. Returns the serial number of the power module installed in the selected channel.Number: 1,2,3,4
SYSTem:CHANnel:COUNt?Read Channel Count. Returns the number of channels installed in the mainframe.None
SYSTem:ERRor?Read Error. Reads and clears the oldest error from the error queue.None
SYSTem:COMMunicate:RLSTate <State>Set Remote Local State. Sets the remote or local control state of the instrument front panel.Text: LOCal,REMote,RWLock
SYSTem:VERSion?Read SCPI Version. Returns the SCPI version number that the instrument complies with.None

Initiate (INITiate) (5)

CommandWhat it doesArguments
INITiate:ACQuire (@<Channel>)Initiate Acquisition. Arms the measurement trigger system to receive triggers.Number: 1,2,3,4
INITiate:ELOG (@<Channel>)Initiate Elog. Arms the external data logger to receive its trigger.Number: 1,2,3,4
INITiate:TRANsient (@<Channel>)Initiate Transient. Arms the output transient system to receive triggers.Number: 1,2,3,4
INITiate:CONTinuous:TRANsient ON,(@<Channel>)Enable Continuous Transient. Continuously re-arms the transient trigger system after each trigger.Number: 1,2,3,4
INITiate:CONTinuous:TRANsient OFF,(@<Channel>)Disable Continuous Transient. Requires the transient trigger system to be re-armed after each trigger.Number: 1,2,3,4

Abort (3)

CommandWhat it doesArguments
ABORt:ACQuire (@<Channel>)Abort Acquisition. Resets the measurement trigger system to the idle state.Number: 1,2,3,4
ABORt:ELOG (@<Channel>)Abort Elog. Stops the external data log and returns the logger to the idle state.Number: 1,2,3,4
ABORt:TRANsient (@<Channel>)Abort Transient. Resets the output transient trigger system to the idle state.Number: 1,2,3,4

Display (DISPlay) (3)

CommandWhat it doesArguments
DISPlay:CHANnel <Channel>Set Display Channel. Selects which channel is shown in the single-channel front-panel meter view.Number: 1,2,3,4
DISPlay:VIEW METER1Set Display View Single. Sets the front panel to display a single channel.None
DISPlay:VIEW METER4Set Display View All. Sets the front panel to display all installed channels.None

FORM subsystem (2)

CommandWhat it doesArguments
FORMat:DATA ASCIISet Data Format ASCII. Returns measurement array and data log values as comma separated ASCII text.None
FORMat:DATA REALSet Data Format Binary. Returns measurement array and data log values as a binary block of floating point numbers.None

Status (STATus) (2)

CommandWhat it doesArguments
STATus:QUEStionable? (@<Channel>)Read Questionable Status. Reads and clears the questionable event register that reports OV OC OT and inhibit conditions.Number: 1,2,3,4
STATus:OPERation:CONDition? (@<Channel>)Read Operation Status. Reads the operation condition register that reports CV CC and wait-for-trigger states.Number: 1,2,3,4

Other subsystem (1)

CommandWhat it doesArguments
<Output Variable>=<Equation>Math. Variable equals an equation like (${Var_name}= ${Var_name}/2)Number; Text

WAIT subsystem (1)

CommandWhat it doesArguments
wait(<ms>)Wait. Waits for number of millisecondsNumber

SAVE subsystem (1)

CommandWhat it doesArguments
save2var <Variable_name>Save2Variable. Saves last measurement to a variableText

IEEE 488.2 common commands (9)

CommandWhat it doesArguments
*SAV <Slot>Save State. Saves the present instrument state to non-volatile memory location 0 or 1.Number: 0,1
*RCL <Slot>Recall State. Recalls a saved instrument state from non-volatile memory location 0 or 1.Number: 0,1
*IDN?Identify. Returns the instrument identification string (manufacturer, model, serial, firmware).None
*RSTReset. Resets the instrument to its factory default state.None
*CLSClear Status. Clears all event registers and the error queue.None
*TST?Self Test. Runs the self-test and returns 0 for pass or a non-zero error code for failure.None
*OPC?Operation Complete. Returns 1 when all pending operations are complete.None
*WAIWait To Continue. Waits until all pending operations are complete before continuing.None
*TRGTrigger Bus. Generates a bus trigger when the instrument is in wait-for-trigger state.None

Where these commands come from

This reference is generated from TestFlow's instrument library, which is drafted from Keysight's programming documentation for the N6784A and checked when the agent runs it. Ranges, timing, and option-dependent commands are defined by Keysight's programming manual: check it before you rely on an edge case. Last updated November 12, 2026.

Frequently asked questions

Does the Keysight N6784A support SCPI remote control?

Yes. The Keysight N6784A accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 155 SCPI commands for it: 36 queries that read values or state, and 119 settings and actions.

How do I control the Keysight N6784A from Python?

Install PyVISA and a VISA backend, find the instrument's address with ResourceManager().list_resources(), open it, then send commands with write() and read values with query(). The example on this page sends *IDN?, OUTPut:COUPle ON and MEASure:VOLTage:DC? (@1).

Which command reads a value from the Keysight N6784A?

MEASure:VOLTage:DC? (@1) (measure voltage). Takes a measurement and returns the average voltage in volts. The full list of queries is in the command reference on this page, grouped by subsystem.

Can I automate the Keysight N6784A without writing code?

Yes. TestFlow is an AI agent for electronics testing: you describe the test, and it builds the automation from this command library, runs it on the Keysight N6784A through the TestFlow desktop app, and writes the report from the measured results.

Your next test, automated today

Describe the test. TestFlow builds the workflow, runs it on your instruments, and writes the report. See it on a bench like yours.