blacs.tab_base_classes.StateQueue

class blacs.tab_base_classes.StateQueue(device_name)[source]

Bases: object

__init__(device_name)[source]

Methods

__init__(device_name)

check_for_next_item(state)

get(state)

log_current_states()

put(allowed_states, ...[, priority])

Add a state to the queue.

Attributes

last_requested_state

check_for_next_item(state)[source]
get(state)[source]
property last_requested_state
log_current_states()[source]
put(allowed_states, queue_state_indefinitely, delete_stale_states, data, priority=0)[source]

Add a state to the queue. Lower number for priority indicates the state will be executed before any states with higher numbers for their priority