Scaler control¶
This is the basic Python class to …
Using EPICS Scaler control module¶
Usage of Python class using basic Motor Record fields.
-
class
py4syn.epics.ScalerClass.
Scaler
(pvScalerName='', numberOfChannels=1, mnemonic='', factor=1)[source]¶ -
canMonitor
()[source]¶ Abstract method to check if the device can or cannot be used as monitor.
Returns: - out : bool
-
canStopCount
()[source]¶ Abstract method to check if the device can or cannot stop the count and return values.
Returns: - out : bool
-
getValue
(**kwargs)[source]¶ Abstract method to get the current value of a countable device.
Parameters: - kwargs : value
Where needed informations can be passed, e.g. select which channel must be read.
Returns: - out : value
Returns the current value of the device. Type of the value depends on device settings.
-
isCounting
()[source]¶ Abstract method to check if the device is counting or not.
Returns: - out : bool
-
setCountTime
(time)[source]¶ Method to set the count time of a scaler device.
Parameters: - t : value
Count time to set to scaler device .
Returns: - out : None
-