File "C:\Python27\lib\site-packages\chamberconnectlibrary\controllerinterface.py", line 28, in wrapper
return func(self, *args, **kwargs)
File "C:\Python27\lib\site-packages\chamberconnectlibrary\controllerinterface.py", line 309, in get_operation
status = self.get_status(exclusive=False)
File "C:\Python27\lib\site-packages\chamberconnectlibrary\controllerinterface.py", line 40, in wrapper
return func(self, *args, **kwargs)
File "C:\Python27\lib\site-packages\chamberconnectlibrary\espec.py", line 499, in get_status
}[self.client.read_mode(True)]
File "C:\Python27\lib\site-packages\chamberconnectlibrary\p300.py", line 320, in read_mode
return self.ctlr.interact('MODE?%s' % (',DETAIL' if detail else ''))
File "C:\Python27\lib\site-packages\chamberconnectlibrary\especinteract.py", line 72, in interact
raise EspecError(msg)
chamberconnectlibrary.especinteract.EspecError: EspecError: command:"MODE?,DETAIL" genarated Error:"PARA ERR"
interface_params = {'interface': 'Serial', 'baudrate': COMPORT_BAUD_RATE, 'serialport': comport, 'adr': RS_485_ADDRESS}
controller_type = 'SCP220'
controller = Espec(ctrl_type=controller_type, loops=2, **interface_params)
When i want receive info about allarms, for example: "no water", I use this function: