The Keithley 2100 multimeter is controlled remotely with SCPI commands. TestFlow's instrument library holds 95 commands for it, 28 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 2100 on a real bench.
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 2100's VISA address
# Paste the address of your Keithley 2100 (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:TEMPerature") # Conf Temperature
print(inst.query("MEASure:TEMPerature?")) # Measure Temperature
inst.close()Describe the test in a sentence, for example “conf temperature on the 2100, then measure temperature 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.
95 commands in 17 groups. A ? marks a query that returns a value. Placeholders in angle brackets take the listed values.
| Command | What it does | Arguments |
|---|---|---|
| SENSe:FUNCtion "<Function>" | Set Function. Selects the active measurement function using the SENSe function name. | Text: VOLTage:DC,VOLTage:AC,CURRent:DC,CURRent:AC,RESistance,FRESistance,FREQuency,PERiod,TEMPerature,CONTinuity,DIODe |
| SENSe:FUNCtion? | Read Function. Returns the present measurement function as a quoted string. | None |
| SENSe:VOLTage:DC:RANGe <Range> | Set DCV Range. Sets the manual range for DC voltage measurements. | Text: MIN,MAX,DEF,100mV,1V,10V,100V,1000V |
| SENSe:VOLTage:AC:RANGe <Range> | Set ACV Range. Sets the manual range for AC voltage measurements. | Text: MIN,MAX,DEF,100mV,1V,10V,100V,750V |
| SENSe:CURRent:DC:RANGe <Range> | Set DCI Range. Sets the manual range for DC current measurements. | Text: MIN,MAX,DEF,100uA,1mA,10mA,100mA,1A,3A,10A |
| SENSe:CURRent:AC:RANGe <Range> | Set ACI Range. Sets the manual range for AC current measurements. | Text: MIN,MAX,DEF,100uA,1mA,10mA,100mA,1A,3A,10A |
| SENSe:RESistance:RANGe <Range> | Set 2W Res Range. Sets the manual range for 2-wire resistance measurements. | Text: MIN,MAX,DEF,100,1E3,10E3,100E3,1E6,10E6,100E6,1E9 |
| SENSe:FRESistance:RANGe <Range> | Set 4W Res Range. Sets the manual range for 4-wire resistance measurements. | Text: MIN,MAX,DEF,100,1E3,10E3,100E3,1E6,10E6,100E6,1E9 |
| SENSe:VOLTage:DC:RANGe:AUTO ON | DCV Autorange On. Enables autoranging for DC voltage measurements. | None |
| SENSe:VOLTage:DC:RANGe:AUTO OFF | DCV Autorange Off. Disables autoranging for DC voltage measurements. | None |
| SENSe:VOLTage:AC:RANGe:AUTO ON | ACV Autorange On. Enables autoranging for AC voltage measurements. | None |
| SENSe:VOLTage:AC:RANGe:AUTO OFF | ACV Autorange Off. Disables autoranging for AC voltage measurements. | None |
| SENSe:CURRent:DC:RANGe:AUTO ON | DCI Autorange On. Enables autoranging for DC current measurements. | None |
| SENSe:CURRent:DC:RANGe:AUTO OFF | DCI Autorange Off. Disables autoranging for DC current measurements. | None |
| SENSe:RESistance:RANGe:AUTO ON | Res Autorange On. Enables autoranging for 2-wire resistance measurements. | None |
| SENSe:RESistance:RANGe:AUTO OFF | Res Autorange Off. Disables autoranging for 2-wire resistance measurements. | None |
| SENSe:VOLTage:DC:NPLC <NPLC> | Set DCV NPLC. Sets the integration time in number of power line cycles for DC voltage measurements. | Text: 0.02,0.1,1,10,MIN,MAX |
| SENSe:CURRent:DC:NPLC <NPLC> | Set DCI NPLC. Sets the integration time in number of power line cycles for DC current measurements. | Text: 0.02,0.1,1,10,MIN,MAX |
| SENSe:RESistance:NPLC <NPLC> | Set 2W Res NPLC. Sets the integration time in number of power line cycles for 2-wire resistance measurements. | Text: 0.02,0.1,1,10,MIN,MAX |
| SENSe:FRESistance:NPLC <NPLC> | Set 4W Res NPLC. Sets the integration time in number of power line cycles for 4-wire resistance measurements. | Text: 0.02,0.1,1,10,MIN,MAX |
| SENSe:VOLTage:DC:RESolution <Resolution> | Set DCV Resolution. Sets the measurement resolution for DC voltage measurements. | Text: MIN,MAX,DEF |
| SENSe:DETector:BANDwidth 3 | ACV Filter 3Hz. Sets the AC voltage filter bandwidth to 3 Hz (slow). | None |
| SENSe:DETector:BANDwidth 20 | ACV Filter 20Hz. Sets the AC voltage filter bandwidth to 20 Hz (medium). | None |
| SENSe:DETector:BANDwidth 200 | ACV Filter 200Hz. Sets the AC voltage filter bandwidth to 200 Hz (fast). | None |
| SENSe:ZERO:AUTO <State> | Set AutoZero. Enables or disables the autozero mode for DC voltage measurements. | Text: ON,OFF,ONCE |
| SENSe:UNIT <Unit> | Set Temp Unit. Selects the temperature units used for temperature measurements. | Text: Cel,Far,K |
| Command | What it does | Arguments |
|---|---|---|
| CONFigure:VOLTage:DC <Range>,<Resolution> | Conf DCV. Configures the instrument for DC voltage measurement with the given range and resolution. | Text: AUTO,MIN,MAX,DEF,100mV,1V,10V,100V,1000V; Text: MIN,MAX,DEF |
| CONFigure:VOLTage:AC <Range>,<Resolution> | Conf ACV. Configures the instrument for AC voltage measurement with the given range and resolution. | Text: AUTO,MIN,MAX,DEF,100mV,1V,10V,100V,750V; Text: MIN,MAX,DEF |
| CONFigure:CURRent:DC <Range>,<Resolution> | Conf DCI. Configures the instrument for DC current measurement with the given range and resolution. | Text: AUTO,MIN,MAX,DEF,100uA,1mA,10mA,100mA,1A,3A,10A; Text: MIN,MAX,DEF |
| CONFigure:CURRent:AC <Range>,<Resolution> | Conf ACI. Configures the instrument for AC current measurement with the given range and resolution. | Text: AUTO,MIN,MAX,DEF,100uA,1mA,10mA,100mA,1A,3A,10A; Text: MIN,MAX,DEF |
| CONFigure:RESistance <Range>,<Resolution> | Conf 2W Resistance. Configures the instrument for 2-wire resistance measurement with the given range and resolution. | Text: AUTO,MIN,MAX,DEF,100,1E3,10E3,100E3,1E6,10E6,100E6,1E9; Text: MIN,MAX,DEF |
| CONFigure:FRESistance <Range>,<Resolution> | Conf 4W Resistance. Configures the instrument for 4-wire resistance measurement with the given range and resolution. | Text: AUTO,MIN,MAX,DEF,100,1E3,10E3,100E3,1E6,10E6,100E6,1E9; Text: MIN,MAX,DEF |
| CONFigure:FREQuency <Range>,<Resolution> | Conf Frequency. Configures the instrument for frequency measurement with the given range and resolution. | Text: AUTO,MIN,MAX,DEF; Text: MIN,MAX,DEF |
| CONFigure:PERiod <Range>,<Resolution> | Conf Period. Configures the instrument for period measurement with the given range and resolution. | Text: AUTO,MIN,MAX,DEF; Text: MIN,MAX,DEF |
| CONFigure:TEMPerature | Conf Temperature. Configures the instrument for temperature measurement using the specified probe type and sensor type. | None |
| CONFigure:CONTinuity | Conf Continuity. Configures the instrument for continuity measurement. | None |
| CONFigure:DIODe | Conf Diode. Configures the instrument for diode test measurement. | None |
| CONFigure? | Read Conf. Returns the present function and configuration as a quoted string. | None |
| Command | What it does | Arguments |
|---|---|---|
| MEASure:VOLTage:DC? <Range>,<Resolution> | Measure DCV. Configures and returns a one-shot DC voltage measurement in volts. | Text: AUTO,MIN,MAX,DEF; Text: MIN,MAX,DEF |
| MEASure:VOLTage:AC? <Range>,<Resolution> | Measure ACV. Configures and returns a one-shot AC voltage measurement in volts. | Text: AUTO,MIN,MAX,DEF; Text: MIN,MAX,DEF |
| MEASure:CURRent:DC? <Range>,<Resolution> | Measure DCI. Configures and returns a one-shot DC current measurement in amps. | Text: AUTO,MIN,MAX,DEF; Text: MIN,MAX,DEF |
| MEASure:CURRent:AC? <Range>,<Resolution> | Measure ACI. Configures and returns a one-shot AC current measurement in amps. | Text: AUTO,MIN,MAX,DEF; Text: MIN,MAX,DEF |
| MEASure:RESistance? <Range>,<Resolution> | Measure 2W Resistance. Configures and returns a one-shot 2-wire resistance measurement in ohms. | Text: AUTO,MIN,MAX,DEF; Text: MIN,MAX,DEF |
| MEASure:FRESistance? <Range>,<Resolution> | Measure 4W Resistance. Configures and returns a one-shot 4-wire resistance measurement in ohms. | Text: AUTO,MIN,MAX,DEF; Text: MIN,MAX,DEF |
| MEASure:FREQuency? <Range>,<Resolution> | Measure Frequency. Configures and returns a one-shot frequency measurement in Hz. | Text: AUTO,MIN,MAX,DEF; Text: MIN,MAX,DEF |
| MEASure:PERiod? <Range>,<Resolution> | Measure Period. Configures and returns a one-shot period measurement in seconds. | Text: AUTO,MIN,MAX,DEF; Text: MIN,MAX,DEF |
| MEASure:TEMPerature? | Measure Temperature. Configures and returns a one-shot temperature measurement. | None |
| MEASure:CONTinuity? | Measure Continuity. Configures and returns a one-shot continuity measurement in ohms. | None |
| MEASure:DIODe? | Measure Diode. Configures and returns a one-shot diode test measurement in volts. | None |
| Command | What it does | Arguments |
|---|---|---|
| CALCulate:FUNCtion NULL;:CALCulate:STATe ON | Math Null On. Enables the scaling (null/dB/dBm) math operation on measurements. | None |
| CALCulate:SCALe:STATe OFF | Math Null Off. Disables the scaling math operation on measurements. | None |
| CALCulate:SCALe:REFerence:AUTO ON | Null Reference Auto On. Enables automatic acquisition of the null reference from the first reading. | None |
| CALCulate:SCALe:REFerence:AUTO OFF | Null Reference Auto Off. Disables automatic acquisition of the null reference. | None |
| CALCulate:SCALe:DBM:REFerence <Resistance> | Set dBm Resistance. Sets the reference resistance in ohms used for dBm calculations. | Text: MIN,MAX,DEF |
| CALCulate:AVERage:MINimum? | Stat Min. Returns the minimum value of all readings since statistics were enabled. | None |
| CALCulate:AVERage:MAXimum? | Stat Max. Returns the maximum value of all readings since statistics were enabled. | None |
| CALCulate:AVERage:AVERage? | Stat Average. Returns the average of all readings since statistics were enabled. | None |
| CALCulate:AVERage:COUNt? | Stat Count. Returns the number of readings included in the statistics. | None |
| CALCulate:LIMit:LOWer <Lower> | Set Limit Lower. Sets the lower limit for the limit test. | Text: MIN,MAX,DEF |
| CALCulate:LIMit:UPPer <Upper> | Set Limit Upper. Sets the upper limit for the limit test. | Text: MIN,MAX,DEF |
| Command | What it does | Arguments |
|---|---|---|
| SYSTem:BEEPer:STATe ON | Beeper On. Enables the beeper for continuity and other audible alerts. | None |
| SYSTem:BEEPer:STATe OFF | Beeper Off. Disables the beeper. | None |
| SYSTem:BEEPer | Beep. Issues a single beep from the instrument. | None |
| SYSTem:ERRor? | Read Error. Reads and clears one error from the error queue (returns 0,"No error" if empty). | None |
| SYSTem:VERSion? | Read SCPI Version. Returns the SCPI version to which the instrument complies. | None |
| SYSTem:LOCal | Local. Returns the instrument to local (front-panel) control. | None |
| SYSTem:REMote | Remote. Places the instrument in remote control and disables front-panel keys except Local. | None |
| Command | What it does | Arguments |
|---|---|---|
| TRIGger:SOURce <Source> | Set Trigger Source. Selects the trigger source for measurements. | Text: IMMediate,EXTernal,BUS |
| TRIGger:SOURce? | Read Trigger Source. Returns the present trigger source. | None |
| TRIGger:COUNt <Count> | Set Trigger Count. Sets the number of triggers accepted before returning to the idle state. | Text: MIN,MAX,DEF,INF |
| TRIGger:DELay <Seconds> | Set Trigger Delay. Sets the delay between the trigger signal and the first measurement. | Text: MIN,MAX,DEF |
| TRIGger:DELay:AUTO ON | Trigger Delay Auto On. Enables automatic trigger delay based on function and range. | None |
| TRIGger:DELay:AUTO OFF | Trigger Delay Auto Off. Disables automatic trigger delay. | None |
| Command | What it does | Arguments |
|---|---|---|
| DISPlay ON | Display On. Turns the front-panel display on. | None |
| DISPlay OFF | Display Off. Turns the front-panel display off. | None |
| DISPlay:TEXT "<Message>" | Set Display Text. Displays the specified text message on the front-panel display. | Text |
| DISPlay:TEXT:CLEar | Clear Display Text. Clears the text message shown on the front-panel display. | None |
| Command | What it does | Arguments |
|---|---|---|
| INPut:IMPedance:AUTO <State> | Set DCV Impedance. Enables or disables automatic input impedance selection for DC voltage (OFF gives fixed 10 MOhm). | Text: ON,OFF |
| INPut:IMPedance:AUTO? | Read DCV Impedance. Returns the automatic input impedance state for DC voltage measurements. | None |
| Command | What it does | Arguments |
|---|---|---|
| SAMPle:COUNt <Count> | Set Sample Count. Sets the number of measurements taken per trigger. | Text: MIN,MAX,DEF |
| SAMPle:COUNt? | Read Sample Count. Returns the number of measurements taken per trigger. | None |
| Command | What it does | Arguments |
|---|---|---|
| INITiate | Init. Places the instrument in the wait-for-trigger state and stores readings in memory when triggered. | None |
| Command | What it does | Arguments |
|---|---|---|
| READ? | Read. Starts a new measurement and returns the reading directly without storing it in reading memory. | None |
| Command | What it does | Arguments |
|---|---|---|
| FETCh? | Fetch. Returns measurements stored in reading memory by the INITiate command. | None |
| Command | What it does | Arguments |
|---|---|---|
| DATA:POINts? | Data Points. Returns the total number of measurements currently stored in reading memory. | None |
| Command | What it does | Arguments |
|---|---|---|
| <Output Variable>=<Equation> | Math. Variable equals an equation like (${Var_name}= ${Var_name}/2) | Number; Text |
| Command | What it does | Arguments |
|---|---|---|
| wait(<ms>) | Wait. Waits for number of milliseconds | Number |
| Command | What it does | Arguments |
|---|---|---|
| save2var <Variable_name> | Save2Variable. Saves last measurement to a variable | Text |
| Command | What it does | Arguments |
|---|---|---|
| *IDN? | Identify. Returns the instrument identification string (manufacturer, model, serial, firmware). | None |
| *RST | Reset. Resets the instrument to its factory default state. | None |
| *CLS | Clear Status. Clears all event registers and the error queue. | None |
| *TST? | Self Test. Runs the self-test and returns 0 for pass or 1 for failure. | None |
| *OPC? | Operation Complete. Returns 1 when all pending operations are complete. | None |
| *TRG | Trigger Bus. Generates a bus trigger when the instrument is in the wait-for-trigger state with BUS source. | None |
| *WAI | Wait To Continue. Waits until all pending operations are complete before continuing. | None |
This reference is generated from TestFlow's instrument library, which is drafted from Keithley's programming documentation for the 2100 and checked when the agent runs it. Ranges, timing, and option-dependent commands are defined by Keithley's programming manual: check it before you rely on an edge case. Last updated November 17, 2026.
Yes. The Keithley 2100 accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 95 SCPI commands for it: 28 queries that read values or state, and 67 settings and actions.
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:TEMPerature and MEASure:TEMPerature?.
MEASure:TEMPerature? (measure temperature). Configures and returns a one-shot temperature measurement. The full list of queries is in the command reference on this page, grouped by subsystem.
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 2100 through the TestFlow desktop app, and writes the report from the measured results.
Describe the test. TestFlow builds the workflow, runs it on your instruments, and writes the report. See it on a bench like yours.