Dynamic Load · SCPI command comparison

Chroma 63102A vs Keysight N6792A: SCPI commands and remote control compared

In TestFlow's instrument library, the Chroma 63102A takes 31 SCPI commands, 2 of them queries, and the Keysight N6792A takes 157 SCPI commands, 38 of them queries. That is 126 more on the N6792A. Counting distinct command headers (the command path without its arguments), 0 are accepted by both, 25 exist only on the 63102A, and 133 only on the N6792A. None of the 63102A's command headers appears in the N6792A library, so a script written for one needs every command rewritten for the other.

Both libraries have commands under MEAS. Only the 63102A has CURR, VOLT, RES, CONFigure, LOAD, and MODE and 1 more. Only the N6792A has SOURce, OUTPut, SENSe, TRIGger, FETCh, and SYSTem and 5 more.

Only the N6792A library has an operation-complete command (*OPC?); the 63102A library has none. Only the N6792A library has an error-queue read (SYSTem:ERRor?); the 63102A library has none.

TestFlow's library gives the 63103A, 63105A, 63106A, 63107A, 63108A, 63110A, 63112A, 63113A, 63123A, and 6314A the same command set as the 63102A, so the 63102A column applies to them too.

63102A commands
31
N6792A commands
157
Shared headers
0
Unique headers
158

Run this on your bench

Describe the test; TestFlow's agent uses these command sets to drive your Chroma 63102A or Keysight N6792A and writes the report from the measured results.

Get started

63102A vs N6792A at a glance

Counts come from TestFlow's instrument library, the command sets its AI agent uses to drive each instrument. A distinct command header is the command path without its arguments, so :OUTPut ON and :OUTPut OFF count once.

Chroma 63102AKeysight N6792A
Commands in TestFlow's library31157
Queries (read a value or state)238
Settings and actions29119
Subsystems1116
Distinct command headers25133
Headers the other lacks25133
Command languageSCPISCPI
Operation completeNot in library*OPC?
Error queueNot in librarySYSTem:ERRor?
Models on this command set63102A, 63103A, 63105A, 63106A, 63107A, 63108A, 63110A, 63112A, 63113A, 63123A, 6314AN6792A

Commands both accept

None. No command header in TestFlow's 63102A library matches one in its N6792A library, so every command needs its own version for each instrument.

Only on the Chroma 63102A

25 command headers in the 63102A library have no match in the N6792A library. Below are 17 of them from the 6 largest subsystems; the full list is in the Chroma 63102A command reference.

CURR (10 only on the 63102A)

CommandWhat it does
CURR:STAT:L1 <Amp>Static Current low. Sets the static current lower value
CURR:STAT:L2 <Amp>Static Current High. Sets the static current higher value (Always set low and high)
CURR:STAT:RISE <Slew>Current rise slew. Sets the current rising slew rate
CURR:STAT:FALL <Slew>Current fall slew. Sets the current falling slew rate

RES (4 only on the 63102A)

CommandWhat it does
RES:L1 <OHM> OHMResistance low. Sets the lower value of dynamic resistive load
RES:L2 <OHM> OHMResistance high. Sets the higher value of dynamic resistive load (Set low and high for constant)
RES:RISE <Slew>Resistance rise. Sets resistive load rise
RES:FALL <Slew>Resistance fall. Sets resistive load fall

VOLT (4 only on the 63102A)

CommandWhat it does
VOLT:L1 <Volt>VStatic voltage low. Sets the lower value of CV mode
VOLT:L2 <Volt>VStatic voltave high. Sets the higher value of the CV mode
VOLTage:CURRent <Amp>Static voltage current limit. Sets the current limit
VOLT:MODE FASTVoltage fast. Sets voltage fast mode

CONFigure (2 only on the 63102A)

CommandWhat it does
:CONFigure:REMote ONRemote control. Sets control to remote
CONF:VOLT:LATC ONVoltage latch ON. Enables voltage latch

MEAS (2 only on the 63102A)

CommandWhat it does
MEAS:VOLT?Measure voltage. Measures the voltage
MEAS:CURR?Measure current. Measures the current

CHANnel (1 only on the 63102A)

CommandWhat it does
CHANnel <Channel>Channel select. Selects the channel

Only on the Keysight N6792A

133 command headers in the N6792A library have no match in the 63102A library. Below are 24 of them from the 6 largest subsystems; the full list is in the Keysight N6792A command reference.

SOURce (52 only on the N6792A)

CommandWhat it does
SOURce:FUNCtion <Mode>,(@<Channel>)Set Priority Mode. Selects constant current, constant voltage, constant power or constant resistance load priority mode.
SOURce:VOLTage <Volt>,(@<Channel>)Set Voltage. Sets the regulated input voltage in volts (programming range up to 61.2 V).
SOURce:VOLTage? (@<Channel>)Read Voltage Setting. Reads the programmed voltage setting of the selected channel.
SOURce:CURRent <Amp>,(@<Channel>)Set Current. Sets the sink current in amps (programming range up to 40.8 A).

OUTPut (13 only on the N6792A)

CommandWhat it does
OUTPut ON,(@<Channel>)Turn On. Enables the load input of the N6792A module in the selected mainframe channel.
OUTPut? (@<Channel>)Read Output State. Reads whether the selected channel load input is ON (1) or OFF (0).
OUTPut:DELay:RISE <Seconds>,(@<Channel>)Set Turn On Delay. Sets the turn-on sequence delay in seconds for the selected channel.
OUTPut:DELay:FALL <Seconds>,(@<Channel>)Set Turn Off Delay. Sets the turn-off sequence delay in seconds for the selected channel.

MEASure (12 only on the N6792A)

CommandWhat it does
MEASure:VOLTage:DC? (@<Channel>)Measure Voltage. Takes a measurement and returns the average voltage in volts.
MEASure:CURRent:DC? (@<Channel>)Measure Current. Takes a measurement and returns the average current in amps.
MEASure:POWer:DC? (@<Channel>)Measure Power. Takes a measurement and returns the average power in watts.
MEASure:VOLTage:MAXimum? (@<Channel>)Measure Voltage Max. Takes a measurement and returns the maximum voltage of the acquisition.

SENSe (10 only on the N6792A)

CommandWhat it does
SENSe:FUNCtion:VOLTage ON,(@<Channel>)Enable Voltage Measure Function. Enables the voltage measurement function for triggered data acquisitions.
SENSe:FUNCtion:CURRent ON,(@<Channel>)Enable Current Measure Function. Enables the current measurement function for triggered data acquisitions.
SENSe:SWEep:TINTerval <Seconds>,(@<Channel>)Set Sample Interval. Sets the digitizer sample interval in seconds.
SENSe:SWEep:POINts <Points>,(@<Channel>)Set Sample Points. Sets the number of data points in a measurement sweep.

TRIGger (10 only on the N6792A)

CommandWhat it does
TRIGger:ACQuire:SOURce <Source>,(@<Channel>)Set Acquire Trigger Source. Selects the measurement trigger source.
TRIGger:ACQuire:VOLTage <Volt>,(@<Channel>)Set Acquire Voltage Trigger Level. Sets the voltage level that triggers a measurement acquisition.
TRIGger:ACQuire:CURRent <Amp>,(@<Channel>)Set Acquire Current Trigger Level. Sets the current level that triggers a measurement acquisition.
TRIGger:ACQuire:VOLTage:SLOPe <Slope>,(@<Channel>)Set Acquire Voltage Trigger Slope. Selects the rising or falling voltage slope that triggers a measurement acquisition.

IEEE 488.2 common (*) (9 only on the N6792A)

CommandWhat it does
*SAV <Slot>Save State. Saves the present instrument state to non-volatile memory location 0 or 1.
*RCL <Slot>Recall State. Recalls a saved instrument state from non-volatile memory location 0 or 1.
*IDN?Identify. Returns the instrument identification string (manufacturer, model, serial, firmware).
*RSTReset. Resets the instrument to its factory default state.

Control both from Python

With PyVISA and any VISA backend, this opens both instruments, identifies them, sends one setting, and reads one value from each. For the setting, the two libraries have no common command with a worked example on both, so each instrument uses its own: :CONFigure:REMote ON on the 63102A and OUTPut:COUPle ON on the N6792A. For the reading, the two libraries have no common command with a worked example on both, so each instrument uses its own: MEAS:VOLT? on the 63102A and MEASure:VOLTage:DC? (@1) on the N6792A. For the basics, see the PyVISA tutorial.

import pyvisa

rm = pyvisa.ResourceManager()
print(rm.list_resources())  # find both VISA addresses

a = rm.open_resource("PASTE_63102A_ADDRESS")  # Chroma 63102A
b = rm.open_resource("PASTE_N6792A_ADDRESS")  # Keysight N6792A
for inst in (a, b):
    inst.timeout = 5000  # ms
    print(inst.query("*IDN?"))

# No shared setting with an example on both, so each uses its own command
a.write(":CONFigure:REMote ON")  # Remote control
b.write("OUTPut:COUPle ON")  # Enable Output Coupling

# No shared reading with an example on both, so each uses its own command
print(a.query("MEAS:VOLT?"))  # Measure voltage
print(b.query("MEASure:VOLTage:DC? (@1)"))  # Measure Voltage

a.close()
b.close()

Run this on your bench

Describe the test; TestFlow's agent uses these command sets to drive your Chroma 63102A or Keysight N6792A and writes the report from the measured results.

Get started

Frequently asked questions

What is the difference between the Chroma 63102A and the Keysight N6792A for remote control?

In TestFlow's library the 63102A has 31 SCPI commands and the N6792A has 157 SCPI commands. 0 command headers are common to both, 25 are only on the 63102A (mostly CURR and RES), and 133 are only on the N6792A (mostly SOURce and OUTPut).

Can I use the same SCPI code for the Chroma 63102A and the Keysight N6792A?

Not without changes. None of the 25 command headers in the 63102A library matches one of the 133 in the N6792A library: the 63102A uses commands such as CURR:STAT:L1 and the N6792A uses commands such as SOURce:FUNCtion. PyVISA opens both the same way, but each command needs its own version for each instrument.

Which has more remote commands, the 63102A or the N6792A?

The N6792A: 31 commands for the 63102A against 157 for the N6792A in TestFlow's library. Of those, 2 on the 63102A and 38 on the N6792A are queries that read a value or state, and the library splits them into 11 and 16 subsystems.

How do the 63102A and N6792A signal operation complete and report errors?

Only the N6792A library has an operation-complete command (*OPC?); the 63102A library has none. Only the N6792A library has an error-queue read (SYSTem:ERRor?); the 63102A library has none. Each command named here is listed in the tables on this page and on each instrument's command reference.

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.