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.
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.
Get the status of the filter in average mode.
do_get_format_trac
(*args)Format the trac.
Return hardware information.
Get the integration time setting.
Get the most recent error.
Get the state of the filter in median mode.
Get the current mode.
Get the range setting.
Initialize the buffer.
Set the integration time setting.
Read the next value.
Read the values in the buffer.
Read the sensor.
Switch to RTClock mode.
do_select_device_timer
(*args)Select the device timer.
Get the status of the filter in average mode.
Set the buffer size.
do_set_mode
(*args)Set the mode.
do_set_range
(*args)Set the range.
Stop storing to the buffer.
do_toggle_voltage_source
(toggle)parse_message
(msg)Parse and return the result of the message.
Methods Documentation
- do_acquire_data()¶
- do_activate_filter(*args)¶
Activate filter(s).
- do_change_nplc(nplc)¶
Change the number of programmable logic cycles
- Parameters:
- nplc
int
The number of cycles.
- .
- nplc
- do_change_sync(sync)¶
Change the line synchronization setting.
- Parameters:
- sync
bool
Turn on line synchronization.
- sync
- 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_format_trac(*args)¶
Format the trac.
- 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_nothing()¶
- do_output_trigger_line()¶
- 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_avg_filter_status()¶
Get the status of the filter in average mode.
- 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_intensity()¶
- 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()¶