| |
- boot_time_from_bootTime(pv_prefix)
- return the time when the IOC was rebooted.
parameters:
pv_prefix -- the PV prefix for PV's on the IOC
returns:
the boottime as a datetime.datetime object
This requires that the IOC has a record named "pv_prefix:bootTime"
that contains the reboot time in the format "%Y-%m-%dT%H:%M:%S",
e.g. "2009-10-21T16:27:09".
- boot_time_from_rebootTime(pv_prefix)
- return the time when the IOC was rebooted.
parameters:
pv_prefix -- the PV prefix for PV's on the IOC
returns:
the boottime as a datetime.datetime object
This requires that the IOC has a record named "pv_prefix:rebootTime"
that contains the reboot time in the format "%d-%b-%Y %H:%M:%S",
e.g. "09-OCT-2009 16:27:09".
- boottime(link_name)
- returns the boot-time for an IOC.
parameters:
link_name -- the name of the link in the rsync-dist
link directory
returns:
the boottime as a datetime.datetime object
raises ca.caError if not channel access connection
could be made.
- ca_try(call_list)
- try funclist, catch ca exceptions.
- datetime_from_iso(st)
- parse a string like "2009-10-09T16:27:09".
- datetime_from_string(st)
- parse a string like "09-OCT-2009 16:27:09".
- idcp_prefix(st)
- get idcp devicename by calling "iddb" utility.
|