stoner_measurement.instruments.keithley.k182.Keithley182¶
- class stoner_measurement.instruments.keithley.k182.Keithley182(transport: BaseTransport, protocol: BaseProtocol | None = None)[source]¶
Bases:
NanovoltmeterConcrete 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'¶
- 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_measure_function() NanovoltmeterFunction[source]¶
Return the only supported measurement function.
- get_trigger_source() NanovoltmeterTriggerSource[source]¶
Return the cached generic trigger-source selection.
- 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.
- set_analog_filter_enabled(state: bool) None[source]¶
Configure the analogue filter behind the master filter gate.
- 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_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_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_source(source: NanovoltmeterTriggerSource) None[source]¶
Select the generic trigger source using one-shot/multiple state.