Lines Matching refs:Ports
11 import System.IO.Ports
17 return System.IO.Ports.SerialPort.GetPortNames()[portnum]
40 self._port_handle = System.IO.Ports.SerialPort(self.portstr)
62 self._port_handle.ReadTimeout = System.IO.Ports.SerialPort.InfiniteTimeout
70 self._port_handle.WriteTimeout = System.IO.Ports.SerialPort.InfiniteTimeout
94 …self._port_handle.Parity = getattr(System.IO.Ports.Parity, 'None') # reserved keyword in Py3k
96 self._port_handle.Parity = System.IO.Ports.Parity.Even
98 self._port_handle.Parity = System.IO.Ports.Parity.Odd
100 self._port_handle.Parity = System.IO.Ports.Parity.Mark
102 self._port_handle.Parity = System.IO.Ports.Parity.Space
107 self._port_handle.StopBits = System.IO.Ports.StopBits.One
109 self._port_handle.StopBits = System.IO.Ports.StopBits.OnePointFive
111 self._port_handle.StopBits = System.IO.Ports.StopBits.Two
116 self._port_handle.Handshake = System.IO.Ports.Handshake.RequestToSendXOnXOff
118 self._port_handle.Handshake = System.IO.Ports.Handshake.RequestToSend
120 self._port_handle.Handshake = System.IO.Ports.Handshake.XOnXOff
122 …self._port_handle.Handshake = getattr(System.IO.Ports.Handshake, 'None') # reserved keyword in …
133 except System.IO.Ports.InvalidOperationException: