fix bug in ls340res
return value must be converted to float
This commit is contained in:
parent
6929422b94
commit
9a40d27354
@ -42,4 +42,4 @@ class ResChannel(HasIodev, Readable):
|
||||
channel = Property('the channel A,B,C or D', StringType())
|
||||
|
||||
def read_value(self):
|
||||
return self._iodev.communicate('SRDG?%s' % self.channel)
|
||||
return float(self._iodev.communicate('SRDG?%s' % self.channel))
|
||||
|
Loading…
x
Reference in New Issue
Block a user