Keithley SourceMeter SMU
v0.1.2MCP server for Keithley SourceMeter SMUs (2400 series SCPI, 2450 family SCPI, 2600B TSP).
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_connection_info Get Connection Info
Report which instrument is connected (identity, address, simulated or real), whether the server is read-only, and the active safety limits. Call this first.
get_command_log Get Command Log
Return the most recent raw commands sent to / replies received from the instrument (newest last). Useful for debugging and for recording what was done.
| Parameter | Type | Description |
|---|---|---|
limit | integer |
reconnect Reconnect
Close and re-open the connection to the instrument (e.g. after it was power cycled or a cable was re-plugged).
get_device_info Get Device Info
Identify the SMU: manufacturer, model, serial, firmware, command dialect (2400 / 2450 / 2600), channel (2600B) and the model's maximum source voltage and current.
get_status Get Status
Report whether the output is on, the source function (voltage/current), programmed level, compliance limit, whether the source is in compliance, terminals and 2/4-wire sense.
configure_source Configure Source
Set up the source (function, level, compliance, range, measurement speed) while the output is OFF. Measures V and I with auto-ranging. Refused if the output is on; turn it off first or use `set_source_level`. Limits are checked before anything is sent.
| Parameter | Type | Description |
|---|---|---|
compliance * | number | Limit: current limit in A (voltage source) or voltage limit in V (current source) |
level * | number | Source level: volts for a voltage source, amps for a current source |
source * | string | Source voltage or current |
nplc | number | Measurement integration time in power-line cycles (1 = 16.7/20 ms) |
source_range | Fixed source range (V or A); omit for auto-range |
set_source_level Set Source Level
Change the level of the configured source. If the output is ON the new voltage/current is applied to the DUT immediately. The level and the present compliance are checked against the safety limits first.
| Parameter | Type | Description |
|---|---|---|
level * | number | New level for the configured source: V or A |
output_on Output On
Switch the SMU output ON: the configured voltage or current is applied to the DUT. The programmed level and compliance are read back from the instrument and checked against the safety limits first. Confirm with the user that the DUT is connected and safe to energise.
output_off Output Off
Switch the SMU output OFF immediately (and abort any IV sweep in progress). Always available, including in read-only mode.
measure Measure
Take one source-measure reading (voltage, current, V/I, power, compliance flag) of the energised DUT. Does not change any setting; refused if the output is off.
set_4wire Set 4Wire
Select 4-wire (remote sense, Kelvin) or 2-wire measurement. 4-wire removes lead resistance for low-resistance DUTs but needs the SENSE leads connected. Refused while the output is on.
| Parameter | Type | Description |
|---|---|---|
enabled * | boolean | True = 4-wire remote sense, False = 2-wire local sense |
run_iv_sweep Run Iv Sweep
Run a stepped IV sweep: configure the source, switch the output ON, step through the levels measuring V and I at each, then ALWAYS switch the output OFF (also on errors or when `output_off` is called). Returns the curve (downsampled), compliance flags, a linear fit and optional full CSV (a new file; an existing file is never overwritten). The output must be off beforehand. Limits are checked first.
| Parameter | Type | Description |
|---|---|---|
compliance * | number | Current limit in A (voltage sweep) or voltage limit in V (current sweep) |
points * | integer | Levels from start to stop (inclusive) |
start * | number | First level: V (voltage sweep) or A (current sweep) |
stop * | number | Last level: V or A |
delay_s | number | Settling delay at each point, s |
dual | boolean | Sweep back from stop to start afterwards (hysteresis) |
max_points | integer | Maximum points returned in the reply |
nplc | number | Integration time per measurement, PLC |
save_path | Optional CSV path for every point | |
source | string | Sweep voltage or current |
spacing | string | Level spacing |
stop_on_compliance | boolean | End the sweep at the first compliance point |