device.gauge_controller_tpg36x module

class device.gauge_controller_tpg36x.GaugeController_TPG361(ip_address=None, serial_number=None, **kwargs)[source]

Bases: GaugeController_TPG36x

PFEIFFER TPG 361, 1-Channel Vacuum Gauge Controller

class device.gauge_controller_tpg36x.GaugeController_TPG362(ip_address=None, serial_number=None, **kwargs)[source]

Bases: GaugeController_TPG36x

PFEIFFER TPG 362, 2-Channel Vacuum Gauge Controller

class device.gauge_controller_tpg36x.GaugeController_TPG366(ip_address=None, serial_number=None, **kwargs)[source]

Bases: GaugeController_TPG36x

PFEIFFER TPG 366, 6-Channel Vacuum Gauge Controller

class device.gauge_controller_tpg36x.GaugeController_TPG36x(model_name, ip_address=None, serial_number=None, labels=None, **kwargs)[source]

Bases: HardwareBase

PFEIFFER TPG 36x, x-Channel Vacuum Gauge Controller

Supported models:

  • TPG 361 (1-channel)

  • TPG 362 (2-channel)

  • TPG 366 (6-channel)

Communication:

  • ethernet interface, TCP/IP at port 8000

  • menmonics protocol (see device comm. protocol manual)

Parameters:
  • model_name (str) – one of ‘TPG 361’, ‘TPG 362’, ‘TPG 366’

  • ip_address (str) – if specified, connect directly to this address, takes precedence before the serial_number parameter

  • serial_number (str) – if specified, pick device with this s/n

KNOWN_MODELS = {'TPG 361': b'PT G28 040', 'TPG 362': b'PT G28 290', 'TPG 366': b'PT G28 770'}
animate_backlight(duration)[source]
gaugeident()[source]

Returns list identifications of all 1/2/6 gauges.

property ip_address
log_pressure(device_client, duration, interval)[source]

Log pressure values to file.

Parameters:
  • duration (float) – total duration [s]

  • interval (float) – time between measurements [s]

property model_name
pressure()[source]

Returns list of current pressure values from all 1/2/6 gauges.

raw_mnemo(command, enquiry=False)[source]

Send a command via Mnemonics protocol.

Parameters:
  • command (str) – mnemonics string, optionally with parameters separated by comma, without <CR><LF>

  • enquiry (bool) – send <ENQ> in addition to command and return data received from the device

Returns:

ascii data received from device or None

property serial_number
update_frontend(device_client)[source]