def _handler_connected_discover(self, event, *args, **kwargs): # Redefine discover handler so that we can apply startup params after we discover. # For this instrument the driver puts the instrument into command mode during discover. result = SingleConnectionInstrumentDriver._handler_connected_protocol_event( self, event, *args, **kwargs) self.apply_startup_params() return result
def _handler_connected_discover(self, event, *args, **kwargs): # Redefine discover handler so that we can apply startup params # when we discover. Gotta get into command mode first though. log.debug("in _handler_connected_discover") result = SingleConnectionInstrumentDriver._handler_connected_protocol_event(self, event, *args, **kwargs) self.apply_startup_params() return result
def _handler_connected_discover(self, event, *args, **kwargs): # Redefine discover handler so that we can apply startup params after we discover. # For this instrument the driver puts the instrument into command mode during discover. result = SingleConnectionInstrumentDriver._handler_connected_protocol_event(self, event, *args, **kwargs) self.apply_startup_params() return result
def _handler_connected_discover(self, event, *args, **kwargs): # Redefine discover handler so that we can apply startup params # when we discover. Gotta get into command mode first though. result = SingleConnectionInstrumentDriver._handler_connected_protocol_event(self, event, *args, **kwargs) self.apply_startup_params() return result