Skip to content

Instantly share code, notes, and snippets.

@arnobaer
Last active October 18, 2021 10:40
Show Gist options
  • Save arnobaer/bda6b34f986d8b72b5e546f8b04abeb9 to your computer and use it in GitHub Desktop.
Save arnobaer/bda6b34f986d8b72b5e546f8b04abeb9 to your computer and use it in GitHub Desktop.

SCPI Commands for Keithley SMUs

Command K2410 K2470
identity *IDN? *IDN?
reset *RST *RST
clear *CLS *CLS
get error :SYST:ERR? :SYST:ERR?
set beeper :SYST:BEEP:STAT <OFF,ON> n/a
set terminals :ROUT:TERM <FRON,REAR> :ROUT:TERM <FRON,REAR>
set sense mode :SYST:RSEN <OFF,ON> :SENS:VOLT:RSEN <OFF,ON>
:SENS:CURR:RSEN <OFF,ON>
set filter mode :SENS:AVER:TCON <REP,MOV> :SENS:VOLT:AVER:TCON <REP,MOV>
:SENS:CURR:AVER:TCON <REP,MOV>
set filter count :SENS:AVER:COUN <count> :SENS:VOLT:AVER:COUN <count>
:SENS:CURR:AVER:COUN <count>
set filter enable :SENS:AVER:STAT <OFF,ON> :SENS:VOLT:AVER:STAT <OFF,ON>
:SENS:CURR:AVER:STAT <OFF,ON>
set source function :SOUR:FUNC <VOLT,CURR> :SOUR:FUNC <VOLT,CURR>
set output enable :OUTP:STAT? :OUTP:STAT?
get output enable :OUTP:STAT <OFF,ON> :OUTP:STAT? <OFF,ON>
get source voltage level :SOUR:VOLT:LEV? :SOUR:VOLT:LEV?
get source current level :SOUR:CURR:LEV? :SOUR:CURR:LEV?
set source voltage range :SOUR:VOLT:RANG <value> :SOUR:VOLT:RANG <value>
set source current range :SOUR:CURR:RANG <value> :SOUR:CURR:RANG <value>
set source voltage autorange :SOUR:VOLT:RANG:AUTO <OFF,ON> :SOUR:VOLT:RANG:AUTO <OFF,ON>
set source current autorange :SOUR:CURR:RANG:AUTO <OFF,ON> :SOUR:CURR:RANG:AUTO <OFF,ON>
set current compliance :SENS:CURR:PROT:LEV <value> :SOUR:VOLT:ILIM:LEV <value>
get current compliance :SENS:CURR:PROT:LEV? :SOUR:VOLT:ILIM:LEV?
current compliance? :SENS:CURR:PROT:TRIP? :SOUR:VOLT:ILIM:LEV:TRIP?
read current :FORM:ELEM CURR
:READ?
:MEAS:CURR?
read voltage :FORM:ELEM VOLT
:READ?
:MEAS:VOLT?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment