コード例 #1
0
ファイル: test.py プロジェクト: pyridoxus/lab-tools
 def __init__(self, host = '127.0.0.1', device = "inst0", timeout = 1000,
             raise_on_err = None, device_name="TEXIO,PEL151-201",
             shortname = None, portmap_proxy_host = None,
             portmap_proxy_port = PMAP_PORT):
     '''
     Initialize the object
     '''
     vxi_11_connection.__init__(self, host, device, timeout, raise_on_err,
                                device_name, shortname, portmap_proxy_host,
                                portmap_proxy_port)
コード例 #2
0
ファイル: test.py プロジェクト: pyridoxus/lab-tools
 def __init__(self, host = '127.0.0.1', device = "inst0", timeout = 1000,
             raise_on_err = None, device_name="Agilent Technologies,33220A",
             shortname = None, portmap_proxy_host = None,
             portmap_proxy_port = PMAP_PORT):
     '''
     Initialize the object
     '''
     vxi_11_connection.__init__(self, host, device, timeout, raise_on_err,
                                device_name, shortname, portmap_proxy_host,
                                portmap_proxy_port)
コード例 #3
0
ファイル: test.py プロジェクト: pyridoxus/lab-tools
 def __init__(self, host = '127.0.0.1', device = "inst0", timeout = 1000,
             raise_on_err = None, device_name="GW.Inc,PSM-6003",
             shortname = None, portmap_proxy_host = None,
             portmap_proxy_port = PMAP_PORT):
     '''
     Initialize the object
     '''
     # idn_head is used to check that the correct instrument is at the
     # correct GPIB address. This check is done in the constructor of
     # vxi_11_connection.
     self.idn_head = "GW.Inc,PSM-6003"
      
     vxi_11_connection.__init__(self, host, device, timeout, raise_on_err,
                                device_name, shortname, portmap_proxy_host,
                                portmap_proxy_port)
コード例 #4
0
ファイル: instrument.py プロジェクト: pyridoxus/lab-tools
 def __init__(
     self,
     host="172.24.24.30",
     device="inst0",
     timeout=1000,
     raise_on_err=None,
     device_name="None",
     shortname=None,
     portmap_proxy_host=None,
     portmap_proxy_port=PMAP_PORT,
 ):
     """
     Initialize the object
     """
     vxi_11_connection.__init__(
         self, host, device, timeout, raise_on_err, device_name, shortname, portmap_proxy_host, portmap_proxy_port
     )