Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(10)  |  Call(10)  |  Derive(0)  |  Import(0)

src/s/p/Spherebot-Host-GUI-HEAD/InkscapePortable/App/Inkscape/share/extensions/serial/serialwin32.py   Spherebot-Host-GUI(Download)
 
        # Save original timeout values:
        self._orgTimeouts = win32.COMMTIMEOUTS()
        win32.GetCommTimeouts(self.hComPort, ctypes.byref(self._orgTimeouts))
 
        else:
            timeouts = timeouts[:-2] + (0, int(self._writeTimeout*1000))
        win32.SetCommTimeouts(self.hComPort, ctypes.byref(win32.COMMTIMEOUTS(*timeouts)))
 
        win32.SetCommMask(self.hComPort, win32.EV_ERR)

src/c/h/chemshapes-HEAD/host/snippets for reference/pyRepRap/serial/serialwin32.py   chemshapes(Download)
 
        # Save original timeout values:
        self._orgTimeouts = win32.COMMTIMEOUTS()
        win32.GetCommTimeouts(self.hComPort, ctypes.byref(self._orgTimeouts))
 
        else:
            timeouts = timeouts[:-2] + (0, int(self._writeTimeout*1000))
        win32.SetCommTimeouts(self.hComPort, ctypes.byref(win32.COMMTIMEOUTS(*timeouts)))
 
        win32.SetCommMask(self.hComPort, win32.EV_ERR)

src/r/a/raspberrypi-experiments-HEAD/_Hardware_Connect/Serial_Arduino/Python/pyserial-2.5/serial/serialwin32.py   raspberrypi-experiments(Download)
 
        # Save original timeout values:
        self._orgTimeouts = win32.COMMTIMEOUTS()
        win32.GetCommTimeouts(self.hComPort, ctypes.byref(self._orgTimeouts))
 
        else:
            timeouts = timeouts[:-2] + (0, int(self._writeTimeout*1000))
        win32.SetCommTimeouts(self.hComPort, ctypes.byref(win32.COMMTIMEOUTS(*timeouts)))
 
        win32.SetCommMask(self.hComPort, win32.EV_ERR)

src/c/h/chemshapes-HEAD/host/reprap/serial/serialwin32.py   chemshapes(Download)
 
        # Save original timeout values:
        self._orgTimeouts = win32.COMMTIMEOUTS()
        win32.GetCommTimeouts(self.hComPort, ctypes.byref(self._orgTimeouts))
 
        else:
            timeouts = timeouts[:-2] + (0, int(self._writeTimeout*1000))
        win32.SetCommTimeouts(self.hComPort, ctypes.byref(win32.COMMTIMEOUTS(*timeouts)))
 
        win32.SetCommMask(self.hComPort, win32.EV_ERR)

src/s/e/serpint-HEAD/bin/pyserial/serialwin32.py   serpint(Download)
 
        # Save original timeout values:
        self._orgTimeouts = win32.COMMTIMEOUTS()
        win32.GetCommTimeouts(self.hComPort, ctypes.byref(self._orgTimeouts))
 
        else:
            timeouts = timeouts[:-2] + (0, int(self._writeTimeout*1000))
        win32.SetCommTimeouts(self.hComPort, ctypes.byref(win32.COMMTIMEOUTS(*timeouts)))
 
        win32.SetCommMask(self.hComPort, win32.EV_ERR)