In TestFlow's instrument library, the Fluke 8845A takes 113 SCPI commands, 33 of them queries, and the Keithley DAQ6510 takes 96 SCPI commands, 26 of them queries. That is 17 more on the 8845A. Counting distinct command headers (the command path without its arguments), 18 are accepted by both, 69 exist only on the 8845A, and 52 only on the DAQ6510. 21% of the 8845A's command headers also exist on the DAQ6510.
Both libraries have commands under MEASure, TRIGger, SYSTem, READ, FETCh, and INITiate. Only the 8845A has CALCulate, VOLTage, CONFigure, FUNCtion, CURRent, and RESistance and 4 more. Only the DAQ6510 has SENSe, TRACe, and ABORt.
Both libraries synchronise with *OPC?. Both libraries read errors with SYSTem:ERRor?.
TestFlow's library gives the DMM7510 the same command set as the DAQ6510, so the DAQ6510 column applies to it too.
Describe the test; TestFlow's agent uses these command sets to drive your Fluke 8845A or Keithley DAQ6510 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 | Keithley DAQ6510 | |
|---|---|---|
| Commands in TestFlow's library | 113 | 96 |
| Queries (read a value or state) | 33 | 26 |
| Settings and actions | 80 | 70 |
| Subsystems | 20 | 13 |
| Distinct command headers | 87 | 70 |
| Headers the other lacks | 69 | 52 |
| Command language | SCPI | SCPI |
| Operation complete | *OPC? | *OPC? |
| Error queue | SYSTem:ERRor? | SYSTem:ERRor? |
| Models on this command set | 8845A | DAQ6510, DMM7510 |
18 command headers are in both libraries. Here are 12, taken across subsystems.
| Command | What it does |
|---|---|
| MEASure:VOLTage:DC? | Measure DCV. Configures DC voltage and returns one measured value in volts. |
| 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. |
| INITiate | 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). |
| MEASure:VOLTage:AC? | Measure ACV. Configures AC voltage and returns one measured value in volts RMS. |
| *RST | Reset. Resets the instrument to its default state. |
| MEASure:CURRent:DC? | Measure DCI. Configures DC current and returns one measured value in amps. |
| *CLS | Clear Status. Clears all event registers and the error queue. |
| MEASure:CURRent:AC? | Measure ACI. Configures AC current and returns one measured value in amps RMS. |
| *TST? | Self Test. Runs the self-test and returns 0 for pass or 1 for failure. |
| MEASure:RESistance? | Measure 2W Resistance. Configures 2-wire resistance and returns one measured value in ohms. |
69 command headers in the 8845A library have no match in the DAQ6510 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 |
|---|---|
| CONFigure:VOLTage:DC | Config DCV. Configures the meter for DC voltage measurement using default range and resolution. |
| CONFigure:VOLTage:AC | Config ACV. Configures the meter for AC voltage measurement using default range and resolution. |
| CONFigure:CURRent:DC | Config DCI. Configures the meter for DC current measurement using default range and resolution. |
| CONFigure:CURRent:AC | Config ACI. Configures the meter for AC current measurement using default range and resolution. |
| 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 |
|---|---|
| TRIGger:SOURce <Source> | Set Trigger Source. Sets the trigger source for the measurement. |
| TRIGger:SOURce? | Read Trigger Source. Returns the present trigger source. |
| TRIGger:COUNt <Count> | Set Trigger Count. Sets the number of triggers the meter accepts before returning to idle (1 to 50000). |
| TRIGger:COUNt? | Read Trigger Count. Returns the present trigger count. |
| 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 |
|---|---|
| SYSTem:BEEPer:STATe ON | Beeper On. Enables the beeper. |
| SYSTem:BEEPer | Beep. Issues a single beep. |
| SYSTem:ERRor? | Read Error. Reads and clears the oldest entry from the error queue (returns 0,"No error" if empty). |
| SYSTem:VERSion? | Read SCPI Version. Returns the SCPI version that the meter complies with. |
52 command headers in the DAQ6510 library have no match in the 8845A library. Below are 16 of them from the 6 largest subsystems; the full list is in the Keithley DAQ6510 command reference.
| Command | What it does |
|---|---|
| :SENSe:FUNCtion "VOLT:DC" | Func DCV. Selects DC voltage as the active measurement function. |
| :SENSe:FUNCtion? | Read Function. Queries the currently selected measurement function string. |
| :SENSe:VOLTage:DC:RANGe <Range> | Set DCV Range. Sets the DC voltage measurement range in volts. |
| :SENSe:VOLTage:AC:RANGe <Range> | Set ACV Range. Sets the AC voltage measurement range in volts. |
| Command | What it does |
|---|---|
| :TRACe:CLEar | Clear Buffer. Clears all readings and statistics from the default reading buffer. |
| :TRACe:ACTual? | Read Buffer Actual. Returns the number of readings currently stored in the default reading buffer. |
| :TRACe:STATistics:AVERage? | Read Buffer Stat Mean. Returns the mean (average) of the readings stored in the default reading buffer. |
| :TRACe:STATistics:MINimum? | Read Buffer Stat Min. Returns the minimum reading stored in the default reading buffer. |
| Command | What it does |
|---|---|
| :MEASure? | Measure. Makes a measurement using the active function and returns the reading. |
| :MEASure:CAPacitance? | Measure Capacitance. Sets the function to capacitance and returns one reading in farads. |
| :MEASure:TEMPerature? | Measure Temperature. Sets the function to temperature and returns one reading in the configured units. |
| Command | What it does |
|---|---|
| :TRIGger:BLOCk:MDIGitize <BlockNumber> | Set Trigger Source. Defines a trigger-model block that makes measurements at the specified block number. |
| :TRIGger:LOAD "SimpleLoop", <Count> | Trigger Load SimpleLoop. Loads the SimpleLoop trigger model template that makes the specified number of readings. |
| :TRIGger:EXTernal:IN:EDGE <Edge> | Set Trigger Ext In Edge. Sets the edge used to detect external input triggers on the rear-panel line. |
| Command | What it does |
|---|---|
| :ABORt | Abort Trigger Model. Stops all trigger-model commands and returns the instrument to idle. |
| Command | What it does |
|---|---|
| *WAI | Wait To Continue. Waits until all pending operations are complete before continuing. |
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 INITiate (initiate), and the same line runs on each. For the reading, both libraries hold MEASure:VOLTage:DC? (measure dcv), and the same line runs on each. 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_DAQ6510_ADDRESS") # Keithley DAQ6510
for inst in (a, b):
inst.timeout = 5000 # ms
print(inst.query("*IDN?"))
# The same setting on both: Initiate
a.write("INITiate")
b.write(":INITiate")
# The same reading on both: Measure DCV
print(a.query("MEASure:VOLTage:DC?"))
print(b.query(":MEASure:VOLTage:DC?"))
a.close()
b.close()Describe the test; TestFlow's agent uses these command sets to drive your Fluke 8845A or Keithley DAQ6510 and writes the report from the measured results.
In TestFlow's library the 8845A has 113 SCPI commands and the DAQ6510 has 96 SCPI commands. 18 command headers are common to both, 69 are only on the 8845A (mostly CALCulate and CONFigure), and 52 are only on the DAQ6510 (mostly SENSe and TRACe).
Partly. 18 command headers are accepted by both, including MEASure:VOLTage:DC?, READ?, and FETCh?. 121 are not, for example CALCulate:FUNCtion on the 8845A and :SENSe:FUNCtion on the DAQ6510, so a script that uses those needs a separate branch for each instrument.
The 8845A: 113 commands for the 8845A against 96 for the DAQ6510 in TestFlow's library. Of those, 33 on the 8845A and 26 on the DAQ6510 are queries that read a value or state, and the library splits them into 20 and 13 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.