LakeShore336.__init__

LakeShore336.__init__(config_file: str = None, ip_address: str = None, timeout: float = None)[source]

Initializes the Lakeshore336 object. It calls the config() method to set up the device if a config_file is given. Upon initialization, the parent driver Model336 will immediately attempt to connect over TCP to the device and raise an InstrumentException otherwise.

Parameters
  • config_file (str, optional) – Configuration file, default is ‘None’.

  • ip_address (str, optional) – IP address of the device, default is ‘None’

  • timeout (float, optional) – Ethernet communication time out, default is ‘None’

Raises
  • configparser.Error – Configuration file error

  • :class:'lakeshore.InstrumentException` – Generic device error

  • StateError – Device was in the wrong state.