blacs.output_classes.EO

class blacs.output_classes.EO(hardware_name, connection_name, device_name, program_function, settings, options, return_index=False)[source]

Bases: object

Enumeration Output object for control of outputs that only allow discrete values.

__init__(hardware_name, connection_name, device_name, program_function, settings, options, return_index=False)[source]

Methods

__init__(hardware_name, connection_name, ...)

add_widget(widget)

create_widget([display_name, ...])

lock()

remove_widget(widget)

set_value(value[, program])

Update EO & EO widgets to value/index

unlock()

update_by_index(index)

update_by_value(value)

Attributes

name

value

add_widget(widget)[source]
create_widget(display_name=None, horizontal_alignment=False, parent=None)[source]
lock()[source]
property name
remove_widget(widget)[source]
set_value(value, program=True)[source]

Update EO & EO widgets to value/index

unlock()[source]
update_by_index(index)[source]
update_by_value(value)[source]
property value