Tektronix Keithley DMM6500

Sample Test Plan

title: "Tektronix Keithley DMM6500"
suite:
 - steps:
   - command: scpi connect DMM
     # Tektronix Keithley DMM6500
     id: "05e6:6500"
   - command: scpi query DMM "*IDN?"
     extractKey: DMM_IDENT
     # "KEITHLEY INSTRUMENTS,MODEL DMM6500,XXXXXXXX,1.7.12b"

   # setup for a single high-accuracy DC voltage measurement.
   - command: scpi command DMM
     with:
       - "*RST"
       - ":SENS:FUNC \"VOLT:DC\""
       - ":SENS:VOLT:RANG 10"
       - ":SENS:VOLT:INP AUTO"
       - ":SENS:VOLT:NPLC 10"
       - ":SENS:VOLT:AZER ON"
       - ":SENS:VOLT:AVER:TCON REP"
       - ":SENS:VOLT:AVER:COUN 10"
       - ":SENS:VOLT:AVER ON"

   # Read the voltage value; it is a few seconds before the
   # reading is returned
   - command: scpi query DMM ":READ?"
     extractKey: DMM_VOLTAGE
     timeout: 10s
   - command: eval "numeric(DMM_VOLTAGE) < 0.03"

References