def __init__(self, host, port, quiet, **kwargs): Server32.__init__( self, os.path.join(os.path.dirname(__file__), 'dotnet_lib32.dll'), 'net', host, port, quiet) self.BasicMath = self.lib.DotNetMSL.BasicMath() self.ArrayManipulation = self.lib.DotNetMSL.ArrayManipulation()
def __init__(self, host, port, quiet, **kwargs): """ A wrapper around 32-bit LCDriver.dll library. Parameters ---------- host : str The IP address of the server. port : int The port to open on the server. quiet : bool Whether to hide :data:`sys.stdout` messages from the server. """ Server32.__init__(self, 'C:\Program Files\ARCoptix\ARCoptix LC Driver 1.2\LCDriver.dll', 'net', host, port, quiet) # Need True flag to always open as if we might connect multiple LC driver devices self.lcdriver = self.lib.ARCoptix.LCdriver.LCdriver(True)
def __init__(self, host, port, quiet, **kwargs): Server32.__init__(self, 'C:/Windows/SysWOW64/kernel32.dll', 'windll', host, port, quiet)
def __init__(self, host, port, quiet): # even though this is a *dummy* class that does not call a shared library # we still need to provide a library file that exists. Use the C++ library. Server32.__init__(self, os.path.join(os.path.dirname(__file__), 'cpp_lib32'), 'cdll', host, port, quiet)
def __init__(self, host, port, quiet): Server32.__init__(self, os.path.join(os.path.dirname(__file__), 'dotnet_lib32.dll'), 'net', host, port, quiet)
def __init__(self, host, port, quiet, **kwargs): # Load the 'cpp_lib32' shared-library file using ctypes.CDLL Server32.__init__(self, ('%s\\tillimic.dll' % path11), 'cdll', host, port, quiet)
def __init__(self, host, port, quiet, **kwargs): Server32.__init__( self, os.path.join(os.path.dirname(__file__), 'labview_lib32.dll'), 'cdll', host, port, quiet)
def __init__(self, host, port, quiet, **kwargs): # By not specifying the extension of the library file the server will open # the appropriate file based on the operating system. Server32.__init__( self, os.path.join(os.path.dirname(__file__), 'fortran_lib32'), 'cdll', host, port, quiet)
def __init__(self, host, port, quiet, **kwargs): # load any dll since it won't be called Server32.__init__(self, 'cpp_lib32', 'cdll', host, port, quiet) self.kwargs = kwargs