1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
from .base import DeviceBase
from .control_common import interlock_keys, triggers_keys
class Gauge(DeviceBase):
control_keys = [
('AAlarmH', 'f4', ()),
('AAlarmL', 'f4', ()),
('AAverage', 'u1', ()),
('busy', 'u1', ()),
('calibration/expbase', 'f4', ()),
('calibration/formulaType', 'u1', ()),
('calibration/offset', 'f4', ()),
('calibration/rawValue', 'u4', ()),
('calibration/scale', 'f4', ()),
('calibration/terminalFactor', 'f4', ()),
('calibration/terminalOffset', 'f4', ()),
('epsSemiRaw', 'f4', ()),
('epsilon', 'f4', ()),
('force', 'u1', ()),
('hardwareErrorDescriptor', 'u4', ()),
('hardwareStatusBitField', 'u4', ()),
('maxUpdateFrequency', 'f4', ()),
('pollInterval', 'f4', ()),
('relativeEpsilon', 'u1', ()),
('semiRawValue', 'f4', ()),
('softDeviceId', 'u4', ()),
('terminal', 'u4', ()),
('value', 'f4', ()),
] + interlock_keys + triggers_keys
|