autoconnect#
method
- Instrument.autoconnect() bool[source]#
Autoconnect to an instrument using internally stored parameters.
If the device is persisted in PyroLab’s program data, the parameters for connect should be saved and associated with the object (in the attribute
_autoconnect_params).autoconnect()simply callsconnect()with the saved parameters.- Returns:
- bool
True if connection was successful, False otherwise.
- Raises:
- Exception
If the autoconnect parameters are missing.