Connect

From SweepMe! Wiki
Revision as of 22:15, 28 October 2021 by Afischer (talk | contribs)
Jump to navigation Jump to search

"connect" is a semantic standard function of a SweepMe! driver that should be used to establish a connection with an instrument. In case the Port manager is used, connect can be omitted. It is basically needed when creating drivers that load C dlls with ctypes or .net dlls with pythonnet or if the port is created by library that is shipped with the driver. It further can be added to modify the port object created by the Port manager, e.g. to define custom termination characters.