specify raw dset in py module

This commit is contained in:
Michael Davidsaver
2013-05-25 13:56:04 -04:00
parent 488cbced7d
commit 2df81d776b
6 changed files with 50 additions and 28 deletions

View File

@ -53,6 +53,15 @@ and the string "some other string".
The module :mod:`devsup.interfaces` provides a Zope Interface
definition by this name which may be referenced.
.. attribute:: raw
A boolean value indicating whether this device support
uses "raw" access. A Raw support module will update
the VAL field even if the recordtype has an RVAL field
(eg. ai/ao, mbbi/mbbo).
Omitting this attribute is the same as False.
.. method:: process(record, reason)
:param record: :class:`Record <devsup.db.Record>` from which the request originated.
@ -136,10 +145,6 @@ This support code can then be referenced from records. ::
field(DTYP, "Python Device")
field(INP , "counter hello world")
}
record(ai, "my:float:counter") {
field(DTYP, "Raw Python Device")
field(INP , "counter hello there")
}
The following will fail to associate. ::