ibex_bluesky_core.devices.simpledae.waiters

DAE waiting strategies.

Members

GoodFramesWaiter

Wait for good frames to reach a user-specified value.

GoodUahWaiter

Wait for good microamp-hours to reach a user-specified value.

MEventsWaiter

Wait for a user-specified number of millions of events.

PeriodGoodFramesWaiter

Wait for period good frames to reach a user-specified value.

TimeWaiter

Wait for a user-specified time duration.

class ibex_bluesky_core.devices.simpledae.waiters.GoodFramesWaiter(value: T)[source]

Bases: _SimpleWaiter[int]

Wait for good frames to reach a user-specified value.

Wait for a value to be at least equal to the specified value.

Parameters:

value – the value to wait for

get_signal(dae: SimpleDae) SignalR[int][source]

Wait for good frames.

class ibex_bluesky_core.devices.simpledae.waiters.GoodUahWaiter(value: T)[source]

Bases: _SimpleWaiter[float]

Wait for good microamp-hours to reach a user-specified value.

Wait for a value to be at least equal to the specified value.

Parameters:

value – the value to wait for

get_signal(dae: SimpleDae) SignalR[float][source]

Wait for good uah.

class ibex_bluesky_core.devices.simpledae.waiters.MEventsWaiter(value: T)[source]

Bases: _SimpleWaiter[float]

Wait for a user-specified number of millions of events.

Wait for a value to be at least equal to the specified value.

Parameters:

value – the value to wait for

get_signal(dae: SimpleDae) SignalR[float][source]

Wait for mevents.

class ibex_bluesky_core.devices.simpledae.waiters.PeriodGoodFramesWaiter(value: T)[source]

Bases: _SimpleWaiter[int]

Wait for period good frames to reach a user-specified value.

Wait for a value to be at least equal to the specified value.

Parameters:

value – the value to wait for

get_signal(dae: SimpleDae) SignalR[int][source]

Wait for period good frames.

class ibex_bluesky_core.devices.simpledae.waiters.TimeWaiter(*, seconds: float)[source]

Bases: Waiter

Wait for a user-specified time duration.

Init.

Parameters:

seconds – number of seconds to wait for.

async wait(dae: SimpleDae) None[source]

Wait for the specified time duration.