Exemple #1
0
 def set_timeout(self, timeout_in_sec):
     """Change the timeout value"""
     Master.set_timeout(self, timeout_in_sec)
     self._serial.timeout = timeout_in_sec
Exemple #2
0
 def set_timeout(self, timeout_in_sec, use_sw_timeout=False):
     """Change the timeout value"""
     Master.set_timeout(self, timeout_in_sec)
     self._serial.timeout = timeout_in_sec
     # Use software based timeout in case the timeout functionality provided by the serial port is unreliable
     self.use_sw_timeout = use_sw_timeout
Exemple #3
0
 def set_timeout(self, timeout_in_sec):
     """Change the timeout value"""
     Master.set_timeout(self, timeout_in_sec)
     self._serial.timeout = timeout_in_sec
Exemple #4
0
 def set_timeout(self, timeout_in_sec, use_sw_timeout=False):
     """Change the timeout value"""
     Master.set_timeout(self, timeout_in_sec)
     self._serial.timeout = timeout_in_sec
     # Use software based timeout in case the timeout functionality provided by the serial port is unreliable
     self.use_sw_timeout = use_sw_timeout