MockKeithley

class lsst.ts.electrometer.MockKeithley

Bases: object

Methods Summary

do_activate_filter(*args)

Activate filter(s).

do_change_nplc(nplc)

Change the number of programmable logic cycles

do_change_sync(sync)

Change the line synchronization setting.

do_clear_buffer()

Clear the buffer.

do_enable_zero_check(*args)

Enable zero check.

do_enable_zero_correction(*args)

Enable zero correction.

do_format_trac(*args)

Format the trac.

do_get_avg_filter_status()

Get the status of the filter in average mode.

do_get_hardware_info()

Return hardware information.

do_get_integration_time()

Get the integration time setting.

do_get_last_error()

Get the most recent error.

do_get_med_filter_status()

Get the state of the filter in median mode.

do_get_mode()

Get the current mode.

do_get_range()

Get the range setting.

do_init_buffer()

Initialize the buffer.

do_integration_time()

Set the integration time setting.

do_next_read()

Read the next value.

do_read_buffer()

Read the values in the buffer.

do_read_sensor()

Read the sensor.

do_reset_device()

do_rtc_time()

Switch to RTClock mode.

do_select_device_timer(*args)

Select the device timer.

do_set_buffer_size()

Set the buffer size.

do_set_mode(*args)

Set the mode.

do_set_range(*args)

Set the range.

do_stop_storing_buffer()

Stop storing to the buffer.

do_toggle_voltage_source(toggle)

get_voltage_level()

get_voltage_limit()

get_voltage_range()

get_voltage_source_status()

parse_message(msg)

Parse and return the result of the message.

set_resolution()

set_voltage_level()

set_voltage_limit()

set_voltage_range()

Methods Documentation

do_activate_filter(*args)

Activate filter(s).

do_change_nplc(nplc)

Change the number of programmable logic cycles

Parameters:
nplcint

The number of cycles.

.
do_change_sync(sync)

Change the line synchronization setting.

Parameters:
syncbool

Turn on line synchronization.

do_clear_buffer()

Clear the buffer.

do_enable_zero_check(*args)

Enable zero check.

do_enable_zero_correction(*args)

Enable zero correction.

do_format_trac(*args)

Format the trac.

do_get_avg_filter_status()

Get the status of the filter in average mode.

do_get_hardware_info()

Return hardware information.

do_get_integration_time()

Get the integration time setting.

do_get_last_error()

Get the most recent error.

do_get_med_filter_status()

Get the state of the filter in median mode.

do_get_mode()

Get the current mode.

do_get_range()

Get the range setting.

do_init_buffer()

Initialize the buffer.

do_integration_time()

Set the integration time setting.

do_next_read()

Read the next value.

do_read_buffer()

Read the values in the buffer.

do_read_sensor()

Read the sensor.

do_reset_device()
do_rtc_time()

Switch to RTClock mode.

do_select_device_timer(*args)

Select the device timer.

do_set_buffer_size()

Set the buffer size.

do_set_mode(*args)

Set the mode.

do_set_range(*args)

Set the range.

do_stop_storing_buffer()

Stop storing to the buffer.

do_toggle_voltage_source(toggle)
get_voltage_level()
get_voltage_limit()
get_voltage_range()
get_voltage_source_status()
parse_message(msg)

Parse and return the result of the message.

Parameters:
msgbytes

The message to parse.

Returns:
replybytes

The reply of the command parsed.

Raises:
NotImplementedError

Raised when command is not implemented.

set_resolution()
set_voltage_level()
set_voltage_limit()
set_voltage_range()