connect#
method
- SampleAutoconnectInstrument.connect(address='localhost', port=9090) bool[source]#
Connect to the hardware instrument. Default parameters are invalid.
- Parameters:
- addressstr
The address of the hardware instrument. Must be “0.0.0.0” for successful connection.
- portint
The port of the hardware instrument. Must be any integer besides 9090 for successful connection.
- Returns:
- connectedbool
Whether or not the connection was successful.