Script execution
This commit is contained in:
@@ -55,11 +55,12 @@ class Pixel(DeviceBase, Readable):
|
||||
|
||||
def get_count_id(self):
|
||||
ret = caget (self.prefix + ":FNUM", 'i')
|
||||
setCache(ret, None)
|
||||
self.setCache(ret, None)
|
||||
return ret
|
||||
|
||||
def set_count_id(self, val):
|
||||
caput (self.prefix + ":FNUM", int(val))
|
||||
setCache(ret, int(val))
|
||||
self.setCache(int(val), None)
|
||||
|
||||
def get_expose(self):
|
||||
return caget (self.prefix + ":EXPOSE", 'd') / 1000.0
|
||||
|
||||
Reference in New Issue
Block a user