In TestFlow's instrument library, the Keithley DAQ6510 takes 96 SCPI commands, 26 of them queries, and the Rigol DM3068 takes 102 SCPI commands, 35 of them queries. That is 6 more on the DM3068. Counting distinct command headers (the command path without its arguments), 18 are accepted by both, 52 exist only on the DAQ6510, and 71 only on the DM3068. 26% of the DAQ6510's command headers also exist on the DM3068.
Both libraries have commands under MEASure, TRIGger, and SYSTem. Only the DAQ6510 has SENSe, TRACe, READ, FETCh, INITiate, and ABORt. Only the DM3068 has CALCulate, FUNCtion, and RATE.
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 Keithley DAQ6510 or Rigol DM3068 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.
| Keithley DAQ6510 | Rigol DM3068 | |
|---|---|---|
| Commands in TestFlow's library | 96 | 102 |
| Queries (read a value or state) | 26 | 35 |
| Settings and actions | 70 | 67 |
| Subsystems | 13 | 10 |
| Distinct command headers | 70 | 89 |
| Headers the other lacks | 52 | 71 |
| Command language | SCPI | SCPI |
| Operation complete | *OPC? | *OPC? |
| Error queue | SYSTem:ERRor? | SYSTem:ERRor? |
| Models on this command set | DAQ6510, DMM7510 | DM3068 |
18 command headers are in both libraries. Here are 12, taken across subsystems.
| Command | What it does |
|---|---|
| :MEASure? | Measure. Makes a measurement using the active function and returns the reading. |
| *IDN? | Identify. Returns the instrument identification string (manufacturer, model, serial, firmware). |
| :MEASure:VOLTage:DC? | Measure DCV. Sets the function to DC voltage and returns one measured reading in volts. |
| *RST | Reset. Resets the instrument to its default state. |
| :MEASure:VOLTage:AC? | Measure ACV. Sets the function to AC voltage and returns one measured reading in volts. |
| *CLS | Clear Status. Clears all event registers and the error queue. |
| :MEASure:CURRent:DC? | Measure DCI. Sets the function to DC current and returns one measured reading in amps. |
| *TST? | Self Test. Runs the self-test and returns 0 for pass or 1 for failure. |
| :MEASure:CURRent:AC? | Measure ACI. Sets the function to AC current and returns one measured reading in amps. |
| *OPC? | Operation Complete. Returns 1 when all pending operations are complete. |
| :MEASure:RESistance? | Measure 2W Resistance. Sets the function to 2-wire resistance and returns one reading in ohms. |
| *WAI | Wait To Continue. Waits until all pending operations are complete before continuing. |
52 command headers in the DAQ6510 library have no match in the DM3068 library. Below are 14 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 |
|---|---|
| :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 |
|---|---|
| :FETCh? | Fetch. Returns the latest reading from the buffer without triggering a new measurement. |
| Command | What it does |
|---|---|
| :INITiate | Init Trigger Model. Starts the trigger model and begins the configured measurement sequence. |
71 command headers in the DM3068 library have no match in the DAQ6510 library. Below are 24 of them from the 6 largest subsystems; the full list is in the Rigol DM3068 command reference.
| Command | What it does |
|---|---|
| :MEASure <Type> | Set Measure Type. Sets the measurement type to Auto (auto-range) or Manual. |
| :MEASure:VOLTage:DC <Range> | Set DCV Range. Sets the DC voltage range index: 0=200mV,1=2V,2=20V,3=200V,4=1000V (switches to Manual). |
| :MEASure:VOLTage:AC <Range> | Set ACV Range. Sets the AC voltage range index: 0=200mV,1=2V,2=20V,3=200V,4=750V. |
| :MEASure:CURRent:DC <Range> | Set DCI Range. Sets the DC current range index: 0=200uA,1=2mA,2=20mA,3=200mA,4=2A,5=10A. |
| Command | What it does |
|---|---|
| :CALCulate:FUNCtion <Function> | Set Math Function. Selects the math operation to apply to the measurement. |
| :CALCulate:STATistic:MIN? | Stat Min. Returns the minimum of the current statistics (MIN operation enabled). |
| :CALCulate:STATistic:MAX? | Stat Max. Returns the maximum of the current statistics (MAX operation enabled). |
| :CALCulate:STATistic:AVERage? | Stat Average. Returns the average of the current statistics (AVERAGE operation enabled). |
| Command | What it does |
|---|---|
| :FUNCtion:VOLTage:DC | Func DCV. Selects DC voltage as the active measurement function. |
| :FUNCtion:VOLTage:AC | Func ACV. Selects AC voltage as the active measurement function. |
| :FUNCtion:CURRent:DC | Func DCI. Selects DC current as the active measurement function. |
| :FUNCtion:CURRent:AC | Func ACI. Selects AC current as the active measurement function. |
| Command | What it does |
|---|---|
| :SYSTem:BEEPer:STATe ON | Beeper On. Turns the beeper on. |
| :SYSTem:BEEPer | Beep. Issues a single beep (beeper must be on). |
| :SYSTem:LANGuage <Language> | Set Language. Sets the system display language. |
| :SYSTem:DISPlay:BRIGht <Value> | Set Display Brightness. Sets the screen brightness (0 to 32). |
| Command | What it does |
|---|---|
| :RATE:VOLTage:DC <Rate> | Set DCV Rate. Sets DC voltage measuring rate: F=Fast, M=Medium, S=Slow. |
| :RATE:VOLTage:AC <Rate> | Set ACV Rate. Sets AC voltage measuring rate: Fast, Medium or Slow. |
| :RATE:CURRent:DC <Rate> | Set DCI Rate. Sets DC current measuring rate: Fast, Medium or Slow. |
| :RATE:CURRent:AC <Rate> | Set ACI Rate. Sets AC current measuring rate: Fast, Medium or Slow. |
| Command | What it does |
|---|---|
| :TRIGger:SOURce <Source> | Set Trigger Source. Sets the trigger source: Auto, Single, or External. |
| :TRIGger:AUTO:INTErval <Seconds> | Set Auto Trig Interval. Sets the auto-trigger interval in ms (8-2000 depending on rate). |
| :TRIGger:AUTO:HOLD ON | Auto Trig Hold On. Enables the reading-hold function under auto trigger. |
| :TRIGger:SINGle <Count> | Set Single Trig Count. Sets the number of samples per single trigger (1 to 2000). |
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: :SENSe:FUNCtion "VOLT:DC" on the DAQ6510 and :FUNCtion:VOLTage:DC on the DM3068. 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_DAQ6510_ADDRESS") # Keithley DAQ6510
b = rm.open_resource("PASTE_DM3068_ADDRESS") # Rigol DM3068
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(":SENSe:FUNCtion \"VOLT:DC\"") # Func DCV
b.write(":FUNCtion:VOLTage:DC") # Func DCV
# 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 Keithley DAQ6510 or Rigol DM3068 and writes the report from the measured results.
In TestFlow's library the DAQ6510 has 96 SCPI commands and the DM3068 has 102 SCPI commands. 18 command headers are common to both, 52 are only on the DAQ6510 (mostly SENSe and TRACe), and 71 are only on the DM3068 (mostly MEASure and CALCulate).
Partly. 18 command headers are accepted by both, including :MEASure?, :MEASure:VOLTage:DC?, and :MEASure:VOLTage:AC?. 123 are not, for example :SENSe:FUNCtion on the DAQ6510 and :MEASure on the DM3068, so a script that uses those needs a separate branch for each instrument.
The DM3068: 96 commands for the DAQ6510 against 102 for the DM3068 in TestFlow's library. Of those, 26 on the DAQ6510 and 35 on the DM3068 are queries that read a value or state, and the library splits them into 13 and 10 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.