Files
pyDevSup/documentation/devsup.rst
2015-01-04 12:09:10 -05:00

2.2 KiB

devsup Package

devsup

NO_ALARM, MINOR_ALARM, MAJOR_ALARM, INVALID_ALARM

Constants for alarm severity. Use with Record.setSevr <.db.Record.setSevr>

NO_ALARM, READ_ALARM, WRITE_ALARM, ...

Constants for alarm status. Use with Record.setSevr <.db.Record.setSevr>

db Module

devsup.db

getRecord

Record Class

Allows access to a single record instance. Record instances can be created for any record in the process database. However, some features will only function when the record has Python device support.

Record objects allow access to fields through the field method and direct access to field values through attributes.

Attribute access is currently limited to scalar fields.

>>> R = getRecord("my:record:name") >>> F = R.field('VAL') >>> F.getval() 42 >>> R.VAL 42 >>> R.VAL = 43

name

rtype

field

setSevr

setTime

scan

asyncStart

asyncFinish

info

infos

Field Class

Field

name

record

getval

putval

getarray

getarraylen

putarraylen

fieldinfo

getTime

getAlarm

IOScanListBlock

IOScanListThread

hooks Module

devsup.hooks

util Module

devsup.util

disect Module

devsup.disect