def update_from_hardware(self, timeout: float=None):
    'Makes a hardware call to the base module to retrieve the value of all IOs, storing their\n        results in memory.'
    try:
        timeout = (self.timeout if (timeout is None) else timeout)
        with lock:
            vals = self._get(timeout)
            self._last_hardware_read_time = time.time()
            if (vals is not None):
                self._io = vals
        self.flush_changes()
    except (requests.exceptions.ConnectionError, requests.exceptions.ConnectTimeout) as ex:
        raise WebIOConnectionError(ex)
Makes a hardware call to the base module to retrieve the value of all IOs, storing their
results in memory.
def update_from_hardware(self, timeout: float=None):
    'Makes a hardware call to the base module to retrieve the value of all IOs, storing their\n        results in memory.'
    try:
        timeout = (self.timeout if (timeout is None) else timeout)
        with lock:
            vals = self._get(timeout)
            self._last_hardware_read_time = time.time()
            if (vals is not None):
                self._io = vals
        self.flush_changes()
    except (requests.exceptions.ConnectionError, requests.exceptions.ConnectTimeout) as ex:
        raise WebIOConnectionError(ex)