Commit 73ce0a2a authored by auke.klazema's avatar auke.klazema
Browse files

Removed extra white spaces

parent dc5178ee
...@@ -52,12 +52,12 @@ class PrologixGpibUsb(PortDevice): ...@@ -52,12 +52,12 @@ class PrologixGpibUsb(PortDevice):
self._rematch=re.search("(/dev/tty.*[^0-9])([0-9]+$)",port) self._rematch=re.search("(/dev/tty.*[^0-9])([0-9]+$)",port)
if self._serialPort==None: if self._serialPort==None:
raise serial.SerialException("Cannot find port") raise serial.SerialException("Cannot find port")
self._serialPort.write("++savecfg 0" + chr(10)) self._serialPort.write("++savecfg 0" + chr(10))
self._serialPort.write("++auto 0" + chr(10)) self._serialPort.write("++auto 0" + chr(10))
self._serialPort.write("++eoi 1" + chr(10)) self._serialPort.write("++eoi 1" + chr(10))
self._serialPort.write("++eos 2" + chr(10)) self._serialPort.write("++eos 2" + chr(10))
self._serialPort.write("++eot_enable 0" + chr(10)) self._serialPort.write("++eot_enable 0" + chr(10))
self._serialPort.write("++eot_char 0" + chr(10)) self._serialPort.write("++eot_char 0" + chr(10))
self._serialPort.write("++read_tmo_ms 500" + chr(10)) self._serialPort.write("++read_tmo_ms 500" + chr(10))
if findDevices: if findDevices:
self._devices = [] self._devices = []
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment