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
+3 -3
View File
@@ -33,16 +33,16 @@ record(longin, "$(P)async:cnt") {
record(ao, "$(P):A-SP") {
field(DTYP, "Raw Python Device")
field(DTYP, "Python Device")
field(OUT , "@test5 hello none")
}
record(ao, "$(P):B-SP") {
field(DTYP, "Raw Python Device")
field(DTYP, "Python Device")
field(OUT , "@test5 hello half")
}
record(ai, "$(P):A-RB") {
field(DTYP, "Raw Python Device")
field(DTYP, "Python Device")
field(INP , "@test5 hello none")
}
+3
View File
@@ -41,6 +41,9 @@ class UnitWorker(object):
self.scan.interrupt(reason=values)
class UnitSupport(object):
raw = True
def __init__(self, rec, args):
worker, self.unit = args.split(None, 1)
try: