lager_pcb.rigol_mso5000

Module Contents

Classes

Attributes

lager_pcb.rigol_mso5000.LAGER_CURRENT_LIMIT = 1
lager_pcb.rigol_mso5000.PYVISA_TIMEOUT = 5000
lager_pcb.rigol_mso5000.validate_math_channel(f)
lager_pcb.rigol_mso5000.validate_channel(f)
class lager_pcb.rigol_mso5000.MSO5000(instr)
check_instrument()
get_identification()

Query the ID string of the instrument.

autoscale()
clear_screen()
run()
stop()
single()
trigger_force()
enable_cursor_measure_mode()
disable_cursor_measure_mode()
get_cursor_measure_mode_status()
set_cursor_mode(mode)
get_cursor_mode()
set_cursor_manual_type(cursor_type)
get_cursor_manual_type()
set_cursor_manual_source(source)
get_cursor_manual_source()
set_cursor_manual_unit(unit)
get_cursor_manual_unit()
set_cursor_manual_x_a(pos)
get_cursor_manual_x_a()
set_cursor_manual_x_b(pos)
get_cursor_manual_x_b()
set_cursor_manual_y_a(pos)
get_cursor_manual_y_a()
set_cursor_manual_y_b(pos)
get_cursor_manual_y_b()
get_cursor_manual_x_value_a()
get_cursor_manual_x_value_b()
get_cursor_manual_y_value_a()
get_cursor_manual_y_value_b()
get_cursor_manual_x_delta()
get_cursor_manual_y_delta()
get_cursor_manual_x_inverse_delta()
set_cursor_track_source_1(source)
get_cursor_track_source_1()
set_cursor_track_source_2(source)
get_cursor_track_source_2()
set_cursor_track_x_a(pos)
get_cursor_track_x_a()
set_cursor_track_x_b(pos)
get_cursor_track_x_b()
get_cursor_track_y_a()
get_cursor_track_y_b()
get_cursor_track_x_value_a()
get_cursor_track_y_value_a()
get_cursor_track_x_value_b()
get_cursor_track_y_value_b()
get_cursor_track_x_delta()
get_cursor_track_y_delta()
get_cursor_track_x_inverse_delta()
set_cursor_xy_x_a(pos)
get_cursor_xy_x_a()
set_cursor_xy_x_b(pos)
get_cursor_xy_x_b()
set_cursor_xy_y_a(pos)
get_cursor_xy_y_a()
set_cursor_xy_y_b(pos)
get_cursor_xy_y_b()
get_cursor_xy_x_value_a()
get_cursor_xy_y_value_a()
get_cursor_xy_x_value_b()
get_cursor_xy_y_value_b()
enable_channel(channel)
disable_channel(channel)
is_channel_enabled(channel)
set_channel_scale(channel, scale)
get_channel_scale(channel)
set_channel_probe_ratio(channel, atten)
get_channel_probe_ratio(channel)
set_channel_position(channel, offset)
get_channel_position(channel)
set_channel_offset(channel, offset)
get_channel_offset(channel)
set_trigger_type(trig)
get_trigger_type()
set_trigger_coupling(coupling)
get_trigger_coupling()
get_trigger_status()
set_trigger_mode(mode)
get_trigger_mode()
set_trigger_edge_source(source)
get_trigger_edge_source()
set_trigger_edge_slope(slope)
get_trigger_edge_slope()
set_trigger_edge_level(level)
get_trigger_edge_level()
set_trigger_slope_source(source)

Set the channel source for the slope trigger

get_trigger_slope_source()

Get the channel source for the slope trigger

set_trigger_slope_when(when)

Set the trigger condition for the slope trigger

get_trigger_slope_when()

Get the trigger condition for the slope trigger

set_trigger_slope_upper(value)

Set the upper time limit value of the slope trigger

get_trigger_slope_upper()

Get the upper time limit value of the slope trigger

set_trigger_slope_lower(value)

Set the lower time limit value of the slope trigger

get_trigger_slope_lower()

Get the lower time limit value of the slope trigger

set_trigger_slope_window(window)

Set the vertical window type of the slope trigger

get_trigger_slope_window()

Get the vertical window type of the slope trigger

set_trigger_slope_alevel(value)

Set the upper voltage level of the slope trigger

get_trigger_slope_alevel()

Get the upper voltage level of the slope trigger

set_trigger_slope_blevel(value)

Set the lower voltage level of the slope trigger

get_trigger_slope_blevel()

Get the lower voltage level of the slope trigger

set_trigger_pulse_source(source)

Set the source for the pulse trigger

get_trigger_pulse_source()

Get the source for the pulse trigger

set_trigger_pulse_when(when)

Set the trigger condition for the pulse trigger

get_trigger_pulse_when()

Get the trigger condition for the pulse trigger

set_trigger_pulse_upper(value)

Set the upper limit of the pulse trigger

get_trigger_pulse_upper()

Get the upper limit of the pulse trigge

set_trigger_pulse_lower(value)

Set the lower limit of the pulse trigger

get_trigger_pulse_lower()

Get the lower limit of the pulse trigger

set_trigger_pulse_level(value)

Set the voltage level of the pulse trigger

get_trigger_pulse_level()

Get the voltage level of the pulse trigger

set_timebase_scale(scale)
get_timebase_scale()
clear_measurement(measurement)
set_measurement_source(source)
get_measurement_source()
get_measure_item(item, channel=None)
save_image(filename=None)
get_image(filename=None)
save_waveform(filename=None, timeout_ms=5000)
enable_math_channel(math_chan)
disable_math_channel(math_chan)
set_math_operator(math_chan, operator)
get_math_operator(math_chan)
set_math_source_one(math_chan, source)
set_math_source_two(math_chan, source)
set_math_logic_source_one(math_chan, source)
set_math_logic_source_two(math_chan, source)
get_math_sources(math_chan)
get_math_logic_sources(math_chan)
set_math_scale(math_chan, scale)
get_math_scale(math_chan)
set_math_offset(math_chan, offset)
get_math_offset(math_chan)
invert_math_channel(math_chan, state=True)
reset_math_channel(math_chan)
enable_la()

Enable the logic analyzer

disable_la()

Disable the logic analyzer

is_la_enabled()

Check if the logic analyzer is enabled

get_la_active_channel()

Queries the active logic analyzer channel

set_la_active_channel(logic_chan)

Sets the active logic analyzer channel

disable_la_active_channels()
la_sort(direction)

Sort the channels top to bottom from D0-D15 (False) or D15-D0 (True)

la_delete_group(group)

Delete channel group

enable_la_channel(logic_chan)

Enable logic analyzer channel

disable_la_channel(logic_chan)

Disable logic analyzer channel

is_la_channel_enabled(logic_chan)

Check if logic analzyer channel is enabled

set_la_display_size(size)

Set logic analzyer display size

get_la_display_size()

Get logic analyzer display size

set_la_display_position(logic_chan, pos)

Set the posision of the specified channel on screen

get_la_display_position(logic_chan)

Query the position of the specified channel on screen

set_la_label(logic_chan, label)

Set a text label for the specified channel

get_la_label(logic_chan)

Get the text label for the specified channel

enable_la_pod_display(pod)

Enable a logic analyzer pod (D0-D7 or D8-15)

disable_la_pod_display(pod)

Disable a logic analyzer pod (D0-D7 or D8-15)

is_la_pod_displayed(pod)

Query if a logic analyzer pod is displayed

enable_la_display(logic_group)

Turn on a specific LA channel, group, or pod

disable_la_display(logic_group)

Turn off a specific LA channel, group, or pod

set_la_threshold(pod, threshold)

Set threshold voltage for a logic analyzer pod

get_la_threshold(pod)

Get threshold voltage for a logic analyzer pod

set_enabled_channel_size(size)

Set the screen size of the currently-enabled channel

get_enabled_channel_size()

Get the screen size of the currently-enabled channel

add_channels_to_group(group, channels)

Adds one or more channels to a logic analyzer group

set_bus_type(channel, bus)
get_bus_type(channel)
enable_bus_display(channel)
disable_bus_display(channel)
get_bus_display_status(channel)
set_bus_format(channel, data_format)
get_bus_format(channel)
enable_bus_event_table(channel)
disable_bus_event_table(channel)
get_bus_event_table_status(channel)
set_bus_table_format(channel, data_format)
get_bus_table_format(channel)
set_bus_table_view(channel, view_type)
get_bus_table_view(channel)
enable_bus_label(channel)
disable_bus_label(channel)
get_bus_label_status(channel)
get_bus_table_data(channel)
save_bus_data(channel, filename)
set_bus_position(channel, position)
get_bus_position(channel)
set_bus_threshold(channel, bus_type, threshold)
set_bus_uart_tx_source(channel, source)
get_bus_uart_tx_source(channel)
set_bus_uart_rx_source(channel, source)
get_bus_uart_rx_source(channel)
set_bus_uart_polarity(channel, polarity)
get_bus_uart_polarity(channel)
set_bus_uart_endianness(channel, endianness)
get_bus_uart_endianness(channel)
set_bus_uart_baud(channel, baud)
get_bus_uart_baud(channel)
set_bus_uart_data_bits(channel, data_bits)
get_bus_uart_data_bits(channel)
set_bus_uart_stop_bits(channel, stop_bits)
get_bus_uart_stop_bits(channel)
set_bus_uart_parity(channel, parity)
get_bus_uart_parity(channel)
enable_bus_uart_packet_end(channel)
disable_bus_uart_packet_end(channel)
get_bus_uart_packet_end_status(channel)
set_bus_uart_packet_end(channel, end_type)
get_bus_uart_packet_end(channel)
set_bus_i2c_scl_source(channel, source)
get_bus_i2c_scl_source(channel)
set_bus_i2c_sda_source(channel, source)
get_bus_i2c_sda_source(channel)
set_bus_i2c_addr_mode(channel, addr_mode)
get_bus_i2c_addr_mode(channel)
set_bus_spi_scl_source(channel, source)
get_bus_spi_scl_source(channel)
set_bus_spi_scl_slope(channel, slope)
get_bus_spi_scl_slope(channel)
set_bus_spi_miso_source(channel, source)
get_bus_spi_miso_source(channel)
set_bus_spi_miso_polarity(channel, polarity)
get_bus_spi_miso_polarity(channel)
set_bus_spi_mosi_source(channel, source)
get_bus_spi_mosi_source(channel)
set_bus_spi_mosi_polarity(channel, polarity)
get_bus_spi_mosi_polarity(channel)
set_bus_spi_data_bits(channel, data_bits)
get_bus_spi_data_bits(channel)
set_bus_spi_data_endianness(channel, endianness)
get_bus_spi_data_endianness(channel)
set_bus_spi_mode(channel, mode)
get_bus_spi_mode(channel)
set_bus_spi_timeout(channel, timeout)
get_bus_spi_timeout(channel)
set_bus_spi_ss_source(channel, source)
get_bus_spi_ss_source(channel)
set_bus_spi_ss_polarity(channel, polarity)
get_bus_spi_ss_polarity(channel)
set_bus_can_source(channel, source)
get_bus_can_source(channel)
set_bus_can_signal_type(channel, signal_type)
get_bus_can_signal_type(channel)
set_bus_can_baud(channel, baud)
get_bus_can_baud(channel)
set_bus_can_sample_point_percentage(channel, sp_percent)
get_bus_can_sample_point_percentage(channel)
set_bus_flex_source(channel, source)
get_bus_flex_source(channel)
set_bus_flex_signal_type(channel, signal_type)
get_bus_flex_signal_type(channel)
set_bus_flex_baud(channel, baud)
get_bus_flex_baud(channel)
set_bus_flex_sample_point_percentage(channel, sp_percent)
get_bus_flex_sample_point_percentage(channel)