fix bug in ls340res
return value must be converted to float
This commit is contained in:
@ -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))
|
||||
|
Reference in New Issue
Block a user