fixes on picontrol and tdkpower

Change-Id: Ia891e7df23d8408b857dac795ed0ad9973ccf993
This commit is contained in:
2025-04-08 17:15:17 +02:00
parent 09dce1aabd
commit fcf867675e
3 changed files with 33 additions and 66 deletions

View File

@@ -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'))