Commit ffdff5f8 authored by auke.klazema's avatar auke.klazema
Browse files

moved default initalization of _devices to clean init code

parent 7ce7777f
......@@ -18,6 +18,7 @@ class PortDevice(object):
class PrologixGpibUsb(PortDevice):
_serialPort = None
_hpib_address = -1
_devices = "Not scanned."
def __init__(self, port="", timeout=1, port_format="%d", max_device_num=9, verbose=False,
......@@ -36,8 +37,6 @@ class PrologixGpibUsb(PortDevice):
if find_devices:
self._devices = "Not scanned."
def _set_default_platform_values(self):
if platform.system() == "Linux":
Supports Markdown
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