In TestFlow's instrument library, the Fluke 8845A takes 113 SCPI commands, 33 of them queries, and the Keysight 34460A takes 50 SCPI commands, 18 of them queries. That is 63 more on the 8845A. Counting distinct command headers (the command path without its arguments), 30 are accepted by both, 57 exist only on the 8845A, and 16 only on the 34460A. 34% of the 8845A's command headers also exist on the 34460A.
Both libraries have commands under CONFigure, MEASure, TRIGger, SYSTem, DISPlay, SAMPle, READ, and FETCh, plus 1 more root. Only the 8845A has CALCulate, VOLTage, FUNCtion, CURRent, RESistance, and FRESistance and 1 more. Only the 34460A has SENS.
Both libraries synchronise with *OPC?. Both libraries read errors with SYSTem:ERRor?.
TestFlow's library gives the 34470A the same command set as the 34460A, so the 34460A column applies to it too.
Describe the test; TestFlow's agent uses these command sets to drive your Fluke 8845A or Keysight 34460A and writes the report from the measured results.
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.
| Fluke 8845A | Keysight 34460A | |
|---|---|---|
| Commands in TestFlow's library | 113 | 50 |
| Queries (read a value or state) | 33 | 18 |
| Settings and actions | 80 | 32 |
| Subsystems | 20 | 14 |
| Distinct command headers | 87 | 46 |
| Headers the other lacks | 57 | 16 |
| Command language | SCPI | SCPI |
| Operation complete | *OPC? | *OPC? |
| Error queue | SYSTem:ERRor? | SYSTem:ERRor? |
| Models on this command set | 8845A | 34460A, 34470A |
30 command headers are in both libraries. Here are 12, taken across subsystems. Where the 34460A library writes the command differently, its form is shown under the 8845A's.
| Command | What it does |
|---|---|
| CONFigure:VOLTage:DC34460A: :CONF:VOLT:DC <Range>,<Resolution> | Config DCV. Configures the meter for DC voltage measurement using default range and resolution. |
| MEASure:VOLTage:DC?34460A: :MEAS:VOLT:DC? <Range>,<Resolution> | Measure DCV. Configures DC voltage and returns one measured value in volts. |
| TRIGger:SOURce <Source>34460A: :TRIG:SOUR <Source> | Set Trigger Source. Sets the trigger source for the measurement. |
| SYSTem:ERRor?34460A: :SYST:ERR? | Read Error. Reads and clears the oldest entry from the error queue (returns 0,"No error" if empty). |
| DISPlay ON34460A: :DISP <ON_OFF> | Display On. Turns the front-panel display on. |
| SAMPle:COUNt <Count>34460A: :SAMP:COUN <Count> | Set Sample Count. Sets the number of samples taken per trigger (1 to 50000). |
| READ? | Read Reading. Starts a new measurement and returns the reading using the current configuration. |
| FETCh? | Fetch Reading. Returns readings already stored in memory from the current trigger without starting a new measurement. |
| INITiate34460A: :INIT | Initiate. Changes the trigger state from idle to wait-for-trigger and stores readings in memory. |
| *IDN? | Identify. Returns the instrument identification string (manufacturer, model, serial, firmware). |
| CONFigure:VOLTage:AC34460A: :CONF:VOLT:AC <Range>,<Resolution> | Config ACV. Configures the meter for AC voltage measurement using default range and resolution. |
| MEASure:VOLTage:AC?34460A: :MEAS:VOLT:AC? <Range>,<Resolution> | Measure ACV. Configures AC voltage and returns one measured value in volts RMS. |
57 command headers in the 8845A library have no match in the 34460A library. Below are 24 of them from the 6 largest subsystems; the full list is in the Fluke 8845A command reference.
| Command | What it does |
|---|---|
| CALCulate:FUNCtion <Function> | Set Math Function. Selects the math operation applied to readings. |
| CALCulate:STATe ON | Math On. Enables the math (CALCulate) operation. |
| CALCulate:NULL:OFFSet <Offset> | Set Null Offset. Sets the null (relative) offset value subtracted from each reading. |
| CALCulate:NULL:OFFSet? | Read Null Offset. Returns the present null (relative) offset value. |
| Command | What it does |
|---|---|
| VOLTage:DC:RANGe <Range> | Set DCV Range. Sets the manual DC voltage range in volts. |
| VOLTage:DC:RANGe? | Read DCV Range. Returns the present DC voltage range in volts. |
| VOLTage:DC:RANGe:AUTO ON | DCV Autorange On. Enables autoranging for DC voltage. |
| VOLTage:AC:RANGe <Range> | Set ACV Range. Sets the manual AC voltage range in volts. |
| Command | What it does |
|---|---|
| CURRent:DC:RANGe <Range> | Set DCI Range. Sets the manual DC current range in amps. |
| CURRent:DC:RANGe:AUTO ON | DCI Autorange On. Enables autoranging for DC current. |
| CURRent:AC:RANGe <Range> | Set ACI Range. Sets the manual AC current range in amps. |
| CURRent:AC:RANGe:AUTO ON | ACI Autorange On. Enables autoranging for AC current. |
| Command | What it does |
|---|---|
| TRIGger:SOURce? | Read Trigger Source. Returns the present trigger source. |
| TRIGger:COUNt? | Read Trigger Count. Returns the present trigger count. |
| TRIGger:DELay <Delay> | Set Trigger Delay. Sets the delay in seconds between the trigger and the start of the measurement. |
| TRIGger:DELay? | Read Trigger Delay. Returns the present trigger delay in seconds. |
| Command | What it does |
|---|---|
| CONFigure:PERiod | Config Period. Configures the meter for period measurement. |
| CONFigure:CONTinuity | Config Continuity. Configures the meter for continuity measurement. |
| CONFigure:DIODe | Config Diode. Configures the meter for diode test measurement. |
| CONFigure? | Read Config. Returns the present function and range configuration as a quoted string. |
| Command | What it does |
|---|---|
| SYSTem:BEEPer:STATe ON | Beeper On. Enables the beeper. |
| SYSTem:BEEPer | Beep. Issues a single beep. |
| SYSTem:VERSion? | Read SCPI Version. Returns the SCPI version that the meter complies with. |
| SYSTem:REMote | Remote. Places the meter in remote mode and disables the front-panel keys. |
16 command headers in the 34460A library have no match in the 8845A library. Below are 10 of them from the 4 largest subsystems; the full list is in the Keysight 34460A command reference.
| Command | What it does |
|---|---|
| *ESE <Mask> | Standard Event Enable. Sets the Standard Event Status Enable register mask. |
| *ESE? | Standard Event Enable Query. Queries the Standard Event Status Enable register. |
| *ESR? | Event Status Register Query. Queries the Standard Event Status Register. |
| *OPC | Operation Complete. Sets the Operation Complete flag when pending operations finish. |
| Command | What it does |
|---|---|
| :SENS:FUNC "<Sense>" | Sense function. Selects the measurement function. |
| :SENS:VOLT:DC:RANG <Range> | Sense volt range. Sets the DC voltage measurement range. |
| :SENS:VOLT:DC:RANG:AUTO ON | Volt range auto. Enables automatic voltage range selection. |
| :SENS:VOLT:NPLC <NPLC> | Volt NPLC. Sets the integration time in number of power line cycles. |
| Command | What it does |
|---|---|
| :CONF:TEMP <Probe>,<Type> | Configure Temperature. Configures temperature: probe FRTD/RTD (type 85), FTHermistor/THERmistor (type 5000). |
| Command | What it does |
|---|---|
| :MEAS:TEMP? <Probe>,<Type> | Measure Temperature. Measures temperature: probe FRTD/RTD (type 85), FTHermistor/THERmistor (type 5000). |
With PyVISA and any VISA backend, this opens both instruments, identifies them, sends one setting, and reads one value from each. For the setting, both libraries hold TRIGger:SOURce (set trigger source); the 34460A library writes it as :TRIG:SOUR IMM. For the reading, both libraries hold SYSTem:ERRor? (read error); the 34460A library writes it as :SYST:ERR?. 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_8845A_ADDRESS") # Fluke 8845A
b = rm.open_resource("PASTE_34460A_ADDRESS") # Keysight 34460A
for inst in (a, b):
inst.timeout = 5000 # ms
print(inst.query("*IDN?"))
# The same setting on both: Set Trigger Source
a.write("TRIGger:SOURce IMMediate")
b.write(":TRIG:SOUR IMM")
# The same reading on both: Read Error
print(a.query("SYSTem:ERRor?"))
print(b.query(":SYST:ERR?"))
a.close()
b.close()Describe the test; TestFlow's agent uses these command sets to drive your Fluke 8845A or Keysight 34460A and writes the report from the measured results.
In TestFlow's library the 8845A has 113 SCPI commands and the 34460A has 50 SCPI commands. 30 command headers are common to both, 57 are only on the 8845A (mostly CALCulate and VOLTage), and 16 are only on the 34460A (mostly IEEE 488.2 common (*) and SENS).
Partly. 30 command headers are accepted by both, including CONFigure:VOLTage:DC, MEASure:VOLTage:DC?, and TRIGger:SOURce. 73 are not, for example CALCulate:FUNCtion on the 8845A and *ESE on the 34460A, so a script that uses those needs a separate branch for each instrument.
The 8845A: 113 commands for the 8845A against 50 for the 34460A in TestFlow's library. Of those, 33 on the 8845A and 18 on the 34460A are queries that read a value or state, and the library splits them into 20 and 14 subsystems.
Both libraries synchronise with *OPC?. Both libraries read errors with SYSTem:ERRor?. Each command named here is listed in the tables on this page and on each instrument's command reference.
Describe the test. TestFlow builds the workflow, runs it on your instruments, and writes the report. See it on a bench like yours.