This commit is contained in:
Michael Davidsaver
2013-04-14 16:24:37 -04:00
parent 229eb81864
commit ffc6ec396f
5 changed files with 34 additions and 19 deletions

View File

@@ -49,9 +49,12 @@ class _Record(object):
"""
def setSevr(self, sevr=3, stat=15):
"""setSevr(sevr=INVALID, stat=COMM)
"""setSevr(sevr=INVALID_ALARM, stat=COMM_ALARM)
Set new alarm condition.
Signal a new alarm condition. The effect of this
call depends on the current alarm condition.
See :c:func:`recGblSetSevr` in EPICS Base.
"""
def scan(self, sync=False, reason=None, force=0):

View File

@@ -241,7 +241,7 @@ class Record(_dbapi._Record):
def setTime(self, ts):
"""Set record timestamp.
:param ts: timetuple, float, or (sec, nsec).
:param ts: datetime, float, or (sec, nsec).
Has not effect if the TSE field is not set to -2.
All inputs must be referenced to the posix epoch.