-
Notifications
You must be signed in to change notification settings - Fork 28
/
keithley_2400.yaml
33 lines (32 loc) · 1.11 KB
/
keithley_2400.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Device description for the Keithley 2400 Sourcemeter.
# set_ function expect a parameter, get_ function return a parameter.
# Just the very basic commands are implemented here.
identifier : KEITHLEY INSTRUMENTS INC.,MODEL 2400
on : OUTP ON
off : OUTP OFF
get_on: OUTP?
get_source_current: SOUR:CURR?
get_current : SENSE:FUNC 'CURR';:READ?
set_current : SOUR:CURR
get_source_voltage: SOUR:VOLT?
set_voltage : SOUR:VOLT
get_voltage : SENSE:FUNC 'VOLT';:READ?
set_current_limit : SENS:CURR:PROT
get_current_limit : SENS:CURR:PROT?
set_voltage_limit : SENS:VOLT:PROT
get_voltage_limit : SENS:VOLT:PROT?
source_volt : SOUR:FUNC VOLT
source_current : SOUR:FUNC CURR
get_source_mode : SOUR:FUNC?
set_autorange : SOUR:CURR:RANG:AUTO ON
set_voltage_range : SOUR:VOLT:RANGE
get_autorange : SOUR:CURR:RANG:AUTO?
four_wire_on: SYST:RSEN ON
four_wire_off: SYST:RSEN OFF
get_remote_sense: SYST:RSEN ?
# Special keyword for formatting query results to allow direct conversions to numeric types (e.g. float(get_current()))
__scpi_query_fmt:
fmt_sep: ','
fmt_method:
get_voltage: '{0}'
get_current: '{1}'