fixes on picontrol and tdkpower
Change-Id: Ia891e7df23d8408b857dac795ed0ad9973ccf993
This commit is contained in:
@@ -24,10 +24,11 @@ from frappy.datatypes import BoolType, EnumType, FloatRange
|
||||
|
||||
|
||||
class IO(StringIO):
|
||||
end_of_line = ('OK\r', '\r')
|
||||
end_of_line = '\r'
|
||||
default_settings = {'baudrate': 9600}
|
||||
identification = [('ADR 0', 'OK'), ('IDN?', r'LAMBDA,GEN8-400')]
|
||||
|
||||
|
||||
|
||||
class Power(HasIO, Readable):
|
||||
value = Parameter(datatype=FloatRange(0,3300,unit='W'))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user