Multimeter · SCPI command reference

Keithley 6485 SCPI commands

The Keithley 6485 multimeter is controlled remotely with SCPI commands. TestFlow's instrument library holds 60 commands for it, 18 of them queries that read values or state, grouped below by subsystem with their arguments. It is the same library TestFlow's AI agent uses to drive the 6485 on a real bench.

Commands
60
Queries
18
Subsystems
16
Models covered
1

Control the Keithley 6485 from Python

With PyVISA, any VISA backend, and the instrument on USB, LAN or GPIB, this opens a session, identifies the instrument, sends one setting, and reads one value. Every command in it comes from the reference below. For a full walkthrough, see the PyVISA tutorial and the SCPI command cheat sheet.

import pyvisa

rm = pyvisa.ResourceManager()
print(rm.list_resources())  # find the Keithley 6485's VISA address

# Paste the address of your Keithley 6485 (USB, LAN or GPIB).
inst = rm.open_resource("PASTE_VISA_ADDRESS_HERE")
inst.timeout = 5000  # ms

print(inst.query("*IDN?"))  # identify the instrument
inst.write("CONFigure")  # Configure Current
print(inst.query("READ?"))  # Read

inst.close()

Run a 6485 test without writing code

Describe the test in a sentence, for example “configure current on the 6485, then read and log it against a limit”. TestFlow's agent builds the steps from this command library, runs them on your bench through the TestFlow desktop app, and writes the report from the measured values. See AI test automation for lab instruments for how that works and where it stops.

Get started

SCPI command reference

60 commands in 16 groups. A ? marks a query that returns a value. Placeholders in angle brackets take the listed values.

Calculate (CALCulate) (15)

CommandWhat it doesArguments
CALC2:NULL:OFFS <Value>Set Relative Value. Relative (null) value subtracted from readings (manual PDF p.74).Number: -9.999999e20 to 9.999999e20
CALC2:NULL:ACQAcquire Relative Value. Take the present input as the relative value (manual PDF p.74).None
CALC2:NULL:STAT <State>Set Relative State. Relative on or off (manual PDF p.74).Text: ON,OFF
CALC2:FEED <Source>Set Relative Source. Apply relative to raw readings (SENS) or to math results (CALC1) (manual PDF p.74).Text: SENS,CALC1
CALC2:DATA?Read Relative. Return the relative readings INIT triggered (manual PDF p.74).None
CALC2:DATA:LAT?Read Latest Relative. Return the latest relative reading only (manual PDF p.74).None
CALC:FORM <Function>Set Math Function. Math function: mX+b (MXB), m/X+b (REC) or log10 (LOG10) (manual PDF p.76).Text: MXB,REC,LOG10
CALC:KMAT:MMF <M>Set Math M. Scale factor m of mX+b and m/X+b (manual PDF p.76).Number: -9.99999e20 to 9.99999e20
CALC:KMAT:MBF <B>Set Math B. Offset b of mX+b and m/X+b (manual PDF p.76).Number: -9.99999e20 to 9.99999e20
CALC:KMAT:MUN <Unit>Set Math Units. One-character unit for mX+b and m/X+b: A to Z, [ for ohm, \ for degree, ] for % (manual PDF p.76).Text
CALC:STAT <State>Set Math State. Selected math function on or off (manual PDF p.76).Text: ON,OFF
CALC:DATA?Read Math. Return the math results INIT triggered (manual PDF p.76).None
CALC:DATA:LAT?Read Latest Math. Return the latest math result only (manual PDF p.76).None
CALC3:FORM <Statistic>Set Buffer Statistic. Statistic Read_Buffer_Statistic returns (manual PDF p.80).Text: MIN,MAX,MEAN,SDEV,PKPK
CALC3:DATA?Read Buffer Statistic. Return the selected statistic of the buffer readings (manual PDF p.80).None

Trace (TRACe) (8)

CommandWhat it doesArguments
TRAC:CLEClear Buffer. Clear the readings stored in the buffer (manual PDF p.80).None
TRAC:FREE?Read Buffer Free. Return the buffer bytes available and in use (manual PDF p.80).None
TRAC:POIN <Count>Set Buffer Size. Readings the buffer stores (manual PDF p.80).Number: 1 to 2500
TRAC:POIN:ACT?Read Buffer Count. Return how many readings the buffer holds (manual PDF p.80).None
TRAC:FEED <Source>Set Buffer Source. Store raw readings (SENS), math results (CALC1) or relative results (CALC2) (manual PDF p.80).Text: SENS,CALC1,CALC2
TRAC:FEED:CONT <Mode>Set Buffer Control. NEXT fills the buffer with the next readings; NEV stops storing (manual PDF p.80).Text: NEV,NEXT
TRAC:TST:FORM <Format>Set Timestamp Format. Buffer timestamps from the first reading (ABS) or between readings (DELT) (manual PDF p.80).Text: ABS,DELT
TRAC:DATA?Read Buffer Data. Return every reading stored in the buffer (manual PDF p.80).None

System (SYSTem) (4)

CommandWhat it doesArguments
SYST:ZCH <State>Set Zero Check. Zero check on or off; leave it on while connecting or disconnecting the input, and turn it off to measure (manual PDF p.56).Text: ON,OFF
SYST:ZCOR <State>Set Zero Correct. Zero correct on or off (subtracts the value Acquire_Zero_Correct took) (manual PDF p.56).Text: ON,OFF
SYST:ZCOR:ACQAcquire Zero Correct. Use the last reading as the zero correct value: with zero check on, Initiate, then this (manual PDF p.56).None
SYST:AZER <State>Set Auto Zero. Auto-zero on or off; off is faster but drifts (manual PDF p.55).Text: ON,OFF

RANG subsystem (4)

CommandWhat it doesArguments
RANG <Range>Set Range. Select a manual current range; auto range turns off (manual PDF p.60).Number: -0.021 to 0.021 amperes (the range that holds the value, e.g. 2e-9 for 2 nA)
RANG:AUTO <State>Set Auto Range. Auto range on or off (manual PDF p.60).Text: ON,OFF
RANG:AUTO:ULIM <Current>Set Auto Range Upper Limit. Highest range auto range may select (manual PDF p.69).Number: -0.021 to 0.021 amperes
RANG:AUTO:LLIM <Current>Set Auto Range Lower Limit. Lowest range auto range may select (manual PDF p.69).Number: -0.021 to 0.021 amperes

AVER subsystem (3)

CommandWhat it doesArguments
AVER <State>Set Average Filter. Digital average filter on or off (manual PDF p.72).Text: ON,OFF
AVER:TCON <Type>Set Average Type. Moving (MOV) or repeating (REP) average (manual PDF p.72).Text: MOV,REP
AVER:COUN <Count>Set Average Count. Readings averaged by the filter (manual PDF p.72).Number: 2 to 100

Configure (CONFigure) (2)

CommandWhat it doesArguments
CONFigureConfigure Current. Place the picoammeter in one-shot current measurement mode (manual PDF p.87).None
CONF?Read Function. Return the selected function, CURR (manual PDF p.87).None

MED subsystem (2)

CommandWhat it doesArguments
MED <State>Set Median Filter. Median filter on or off (manual PDF p.23).Text: ON,OFF
MED:RANK <Rank>Set Median Rank. Median filter rank (manual PDF p.72).Number: 1 to 5

Trigger (TRIGger) (2)

CommandWhat it doesArguments
TRIG:COUN <Count>Set Trigger Count. Readings taken per INIT or READ? (manual PDF p.80).Number: readings, e.g. 20
TRIG:DEL <Seconds>Set Trigger Delay. Delay before each reading (manual PDF p.102).Number: seconds, e.g. 0

Read (READ) (1)

CommandWhat it doesArguments
READ?Read. Trigger and return reading(s) in amperes (INIT then FETCh?); zero check must be off. The reply carries the elements Set_Data_Elements selects (READ for the reading alone) (manual PDF p.60).None

Fetch (FETCh) (1)

CommandWhat it doesArguments
FETCh?Fetch. Return the latest reading(s) without triggering a new one (manual PDF p.87).None

Initiate (INITiate) (1)

CommandWhat it doesArguments
INITInitiate. Trigger a reading (manual PDF p.56).None

Display (DISPlay) (1)

CommandWhat it doesArguments
DISP:DIG <Digits>Set Digits. Display resolution (manual PDF p.69).Number: 4 (3-1/2 digits) to 7 (6-1/2 digits)

NPLC subsystem (1)

CommandWhat it doesArguments
NPLC <PLC>Set NPLC. Integration time in power line cycles: longer is quieter, shorter is faster (manual PDF p.31).Number: 0.01 to 60 power line cycles (60 Hz) or 0.01 to 50 (50 Hz)

ARM subsystem (1)

CommandWhat it doesArguments
ARM:COUN <Count>Set Arm Count. Arm layer count of the trigger model (manual PDF p.82).Number: count, e.g. 10

FORM subsystem (1)

CommandWhat it doesArguments
FORM:ELEM <Elements>Set Data Elements. Elements of each reading in a reply: READ the reading, UNIT its unit, TIME the timestamp, STAT the status (a list such as READ,TIME is allowed) (manual PDF p.64).Text: READ,UNIT,TIME,STAT

IEEE 488.2 common commands (13)

CommandWhat it doesArguments
*IDN?Identify. Return maker, model, serial number and firmware revision (manual PDF p.87).None
*RSTReset. Return the picoammeter to its GPIB (*RST) defaults; zero check turns on (manual PDF p.61).None
*CLSClear Status. Clear the event registers and error queue (manual PDF p.87).None
*TST?Self Test. Run the ROM checksum self-test and return its result (manual PDF p.87).None
*OPC?Operation Complete. Return 1 once every pending operation has finished (manual PDF p.87).None
*WAIWait. Hold further commands until every previous one has been executed (manual PDF p.87).None
*STB?Read Status Byte. Return the status byte register (manual PDF p.87).None
*ESR?Read Event Status. Return and clear the standard event status register (manual PDF p.87).None
*ESE <Mask>Set Event Enable. Program the standard event enable register (manual PDF p.87).Number: 0 to 255
*ESE?Read Event Enable. Return the standard event enable register (manual PDF p.87).None
*SRE <Mask>Set Service Request Enable. Program the service request enable register (manual PDF p.87).Number: 0 to 255
*SRE?Read Service Request Enable. Return the service request enable register (manual PDF p.87).None
*TRGBus Trigger. Send a bus trigger (manual PDF p.87).None

Where these commands come from

This reference is generated from TestFlow's instrument library, which is drafted from Keithley's programming documentation for the 6485 and checked when the agent runs it. The library marks this instrument as supporting *OPC? for operation-complete synchronisation. Ranges, timing, and option-dependent commands are defined by Keithley's programming manual: check it before you rely on an edge case. Last updated October 26, 2026.

Frequently asked questions

Does the Keithley 6485 support SCPI remote control?

Yes. The Keithley 6485 accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 60 SCPI commands for it: 18 queries that read values or state, and 42 settings and actions.

How do I control the Keithley 6485 from Python?

Install PyVISA and a VISA backend, find the instrument's address with ResourceManager().list_resources(), open it, then send commands with write() and read values with query(). The example on this page sends *IDN?, CONFigure and READ?.

Which command reads a value from the Keithley 6485?

READ? (read). Trigger and return reading(s) in amperes (INIT then FETCh?); zero check must be off. The reply carries the elements Set_Data_Elements selects (READ for the reading alone) (manual PDF p.60). The full list of queries is in the command reference on this page, grouped by subsystem.

Can I automate the Keithley 6485 without writing code?

Yes. TestFlow is an AI agent for electronics testing: you describe the test, and it builds the automation from this command library, runs it on the Keithley 6485 through the TestFlow desktop app, and writes the report from the measured results.

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.