# MKS Instruments 937B Vacuum Gauge Controller

class pymeasure.instruments.mksinst.mks937b.MKS937B(adapter, name='MKS 937B vacuum gauge controller', address=253, **kwargs)

  Bases: `MKSInstrument`

  MKS 937B vacuum gauge controller

  Connection to the device is made through an RS232/RS485 serial connection.

  The 937B gauge controller can connect up to 6 pressure measurement channels for gauges of various types which includes ionization gauges, Pirani and piezo gauges. Based on the pressure values of the gauges twelve setpoint relays can be energized when certain pressure values are reached. The assignment of the relays to measurement channels is fixed to have two relays for each pressure channel.

  Parameters:

    - adapter – pyvisa resource name of the instrument or adapter instance

    - name (string) – The name of the instrument.

    - address – device address included in every message to the instrument (default=253)

    - kwargs – Any valid key-word argument for Instrument

  ch_1
    Channel:

      `IonGaugeAndPressureChannel`

  ch_2
    Channel:

      `PressureChannel`

  ch_3
    Channel:

      `IonGaugeAndPressureChannel`

  ch_4
    Channel:

      `PressureChannel`

  ch_5
    Channel:

      `IonGaugeAndPressureChannel`

  ch_6
    Channel:

      `PressureChannel`

  relay_1
    Channel:

      `Relay`

  relay_10
    Channel:

      `Relay`

  relay_11
    Channel:

      `Relay`

  relay_12
    Channel:

      `Relay`

  relay_2
    Channel:

      `Relay`

  relay_3
    Channel:

      `Relay`

  relay_4
    Channel:

      `Relay`

  relay_5
    Channel:

      `Relay`

  relay_6
    Channel:

      `Relay`

  relay_7
    Channel:

      `Relay`

  relay_8
    Channel:

      `Relay`

  relay_9
    Channel:

      `Relay`

  property all_pressures

    Get pressures on all channels in selected units

  property combined_pressure1

    Get pressure on channel 1 and its combination sensor

  property combined_pressure2

    Get pressure on channel 2 and its combination sensor

  property serial

    Get the serial number of the instrument

  property unit

    Control pressure unit used for all pressure readings from the instrument.

    Allowed units are Unit.Torr, Unit.mbar, Unit.Pa, Unit.uHg.

class pymeasure.instruments.mksinst.mks937b.IonGaugeAndPressureChannel(parent, id)

  Bases: `PressureChannel`

  Channel having both a pressure and an ion gauge sensor

  property ion_gauge_status

    Get ion gauge status of the channel.

class pymeasure.instruments.mksinst.mks937b.PressureChannel(parent, id)

  Bases: `Channel`

  property power_enabled

    Control power status of the channel. (bool)

  property pressure

    Get the pressure on the channel in units selected on the device

class pymeasure.instruments.mksinst.mks937b.Relay(parent, id)

  Bases: `RelayChannel`

  property enabled

    Control the relay function or disable the setpoint relay.

    Possible values are True/False to enable/disable pressure based activation of the relay and ‘SET’ to permanently energize the relay.