stoner_measurement.instruments.keithley.k182.Keithley182

class stoner_measurement.instruments.keithley.k182.Keithley182(transport: BaseTransport, protocol: BaseProtocol | None = None)[source]

Bases: Nanovoltmeter

Concrete driver for the non-SCPI Keithley Model 182 nanovoltmeter.

CAPABILITIES: ClassVar[NanovoltmeterCapabilities] = NanovoltmeterCapabilities(has_function_selection=False, has_filter=True, has_trigger=True, has_buffer=True, has_data_format=False, has_byte_order=False, supported_functions=(<NanovoltmeterFunction.VOLT: 'VOLT'>,), fixed_voltage_ranges=(0.003, 0.03, 0.3, 3.0, 30.0), nplc_values=(0.15, 1.0, 5.0), digit_values=(3, 4, 5, 6), filter_types=('OFF', 'FAST', 'MEDIUM', 'SLOW'), default_nplc=1.0, default_digits=6, default_filter_type='OFF', counted_filter_types=(), analog_filter_time_multiplier=1.0, supports_filter_count=False, supports_analog_filter=True, supports_relative=True, supports_line_sync=False, supports_autozero=False, supports_safe_reset=False, relative_limits=(-30.0, 30.0), max_buffer_points=1024)
DISPLAY_NAME = 'Keithley 182'
abort() → None[source]

Disable all Model 182 triggers.

clear_buffer() → None[source]

Disable the buffer before reconfiguration.

confirm_identity() → str[source]

Confirm that the U0 status word identifies a Model 182.

connect() → None[source]

Open GPIB and verify communication without clearing or calibrating.

get_autorange() → bool[source]

Return whether U0 reports automatic ranging.

get_buffer_count() → int[source]

Return the programmed buffer length reported by U3.

get_capabilities() → NanovoltmeterCapabilities[source]

Describe the safe generic capabilities implemented by this driver.

get_filter_count() → int[source]

Reject filter-count access because the Model 182 uses response modes.

get_filter_enabled() → bool[source]

Return the U0 master filter-enable state.

get_measure_function() → NanovoltmeterFunction[source]

Return the only supported measurement function.

get_nplc() → float[source]

Return the constrained 50-Hz NPLC-equivalent integration value.

get_range() → float[source]

Read the active range, returning 0.0 for autorange.

get_relative_value() → float[source]

Query the reading-relative baseline with U6.

get_trigger_count() → int[source]

Return the configured acquisition count.

get_trigger_source() → NanovoltmeterTriggerSource[source]

Return the cached generic trigger-source selection.

identify() → str[source]

Identify the instrument from its U0 machine-status word.

initiate() → None[source]

Arm the selected trigger mode without generating a software trigger.

measure_voltage() → float[source]

Take one numeric voltage reading using one-shot-on-talk triggering.

static parse_reading(response: str) → Keithley182Reading[source]

Parse numeric, prefixed, and metadata-bearing Model 182 readings.

read_buffer(count: int | None = None) → tuple[float, ...][source]

Read all buffered voltages with F2/G0 and optionally limit the result.

reset() → None[source]

Refuse implicit reset because Model 182 reset requires destructive DCL/SDC.

set_analog_filter_enabled(state: bool) → None[source]

Configure the analogue filter behind the master filter gate.

set_autorange(state: bool) → None[source]

Enable autorange or retain the current fixed range.

set_autozero_enabled(state: bool) → None[source]

Reject unsupported automatic-zero configuration.

set_buffer_feed_continuous_next() → None[source]

Re-arm the configured linear buffer without changing its size.

set_buffer_feed_sense() → None[source]

Select A/D readings as the talk source; storage is controlled by I1.

set_buffer_size(size: int) → None[source]

Configure a 1..1024 point linear buffer.

set_digits(digits: int) → None[source]

Select one of the supported 3.5 through 6.5 digit resolutions.

set_filter_count(count: int) → None[source]

Reject filter counts; use set_filter_type() instead.

set_filter_enabled(state: bool) → None[source]

Enable or disable the master analogue/digital filter gate.

set_filter_type(filter_type: str) → None[source]

Select off, fast, medium, or slow digital-filter response.

set_line_sync_enabled(state: bool) → None[source]

Reject independent line sync; select line-cycle integration instead.

set_measure_function(function: NanovoltmeterFunction) → None[source]

Accept voltage measurement and reject unsupported functions.

set_nplc(value: float) → None[source]

Set 3 ms (0.15 PLC), line-cycle (1 PLC), or 100 ms (5 PLC).

set_range(value: float) → None[source]

Select one of the five fixed full-scale voltage ranges.

set_relative_enabled(state: bool) → None[source]

Enable the programmed baseline or disable reading-relative mode.

set_relative_value(value: float) → None[source]

Program an explicit reading-relative baseline in volts.

set_trigger_count(count: int) → None[source]

Select one-shot for one point or multiple mode for several points.

set_trigger_delay(delay: float) → None[source]

Set one-shot trigger delay in seconds.

set_trigger_source(source: NanovoltmeterTriggerSource) → None[source]

Select the generic trigger source using one-shot/multiple state.