dodal.devices.scaler_card.ScalerCard#
- class dodal.devices.scaler_card.ScalerCard[source]#
Expose a logical group of channels from a scaler card.
The channels are exposed as a readable device and are associated with a
ScalerCardControllerthat controls the underlying scaler card. Multiple instances of this class can share the same controller, allowing different groups of scaler channels to be exposed as separate logical devices while being acquired by the same physical scaler card. The channels are also added as readables with the controller, so the controller exposes all channels associated with the scaler card. This allows the controller to represent the complete set of scaler channels, while eachScalerCardinstance provides access to only its associated group. Callingset()sets the scaler integration time via the controller, whiletrigger()starts the controller count and waits for it to complete.- Parameters:
channels (
TypeVar(DeviceT, bound=Device))controller (
ScalerCardController)name (
str, default:'')
Methods
set(value)Set the scaler integration time on the controller.
trigger()Start a scaler count on the controller and wait for it to complete.
Attributes