WIP on tests
This commit is contained in:
@@ -35,21 +35,22 @@ class aa1Controller(Device):
|
||||
"""Ophyd proxy class for the Aerotech Automation 1's core controller functionality"""
|
||||
|
||||
# ToDo: Add error subscription
|
||||
controllername = Component(EpicsSignalRO, "NAME", kind=Kind.config)
|
||||
serialnumber = Component(EpicsSignalRO, "SN", kind=Kind.config)
|
||||
apiversion = Component(EpicsSignalRO, "API_VERSION", kind=Kind.config)
|
||||
controllername = Component(EpicsSignalRO, "NAME", string=True, kind=Kind.config)
|
||||
serialnumber = Component(EpicsSignalRO, "SN", string=True, kind=Kind.config)
|
||||
apiversion = Component(EpicsSignalRO, "API_VERSION", string=True, kind=Kind.config)
|
||||
axiscount = Component(EpicsSignalRO, "AXISCOUNT", kind=Kind.config)
|
||||
taskcount = Component(EpicsSignalRO, "TASKCOUNT", kind=Kind.config)
|
||||
fastpoll = Component(EpicsSignalRO, "POLLTIME", auto_monitor=True, kind=Kind.normal)
|
||||
slowpoll = Component(EpicsSignalRO, "DRVPOLLTIME", auto_monitor=True, kind=Kind.normal)
|
||||
errno = Component(EpicsSignalRO, "ERRNO", auto_monitor=True, kind=Kind.normal)
|
||||
errnmsg = Component(EpicsSignalRO, "ERRMSG", auto_monitor=True, kind=Kind.normal)
|
||||
errnmsg = Component(EpicsSignalRO, "ERRMSG", string=True, auto_monitor=True, kind=Kind.normal)
|
||||
_set_ismc = Component(EpicsSignal, "SET", put_complete=True, kind=Kind.omitted)
|
||||
|
||||
USER_ACCESS = ["reset"]
|
||||
|
||||
def reset(self):
|
||||
""" Resets the Automation1 iSMC reloading the default configuration"""
|
||||
"""Resets the Automation1 iSMC reloading the default configuration. Note that this will
|
||||
erase all settings that were set during startup and not saved to the MCD file."""
|
||||
self._set_ismc.set(3).wait()
|
||||
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user