Channel

Description

class tpg_256a_pressure_monitor.TPG_256A.Channel(gauge_number: int = None)[source]

Simple container to hold channel information. The setup is read from the configuration file (e.g. label) or is retrieved from the controller directly (e.g. gauge_id).

The following gauge types are supported:

ID

Description

TPR

Pirani Gauge or Pirani Capacitive gauge

IKR9

Cold Cathode Gauge 10E-9

IKR11

Cold Cathode Gauge 10E-11

PKR

FullRange CC Gauge

PBR

FullRange BA Gauge

IMR

Pirani / High Pressure Gauge

CMR

Linear gauge

noSEn

No Sensor

no Sensor

No Sensor

noid

No identifier

The measurement status can take the following values:

Code

Status

0

Measurement data okay

1

Underrange

2

Overrange

3

Sensor error

4

Sensor off (IKR, PKR, IMR, PBR)

5

No sensor (output: 5,2.0000E-2 [mbar])

6

Identification error

Attributes

Channel.active

The gauge should be ON.

Channel.connected

The gauge was detected by the controller.

Channel.data

Latest pressure readout value.

Channel.gauge_id

Gauge type, retrieved from the controller.

Channel.gauge_number

The channel ID number.

Channel.label

Label of the gauge, to be used when logging to a database.

Channel.logging

Data from the gauge should be recorded.

Channel.status_code

Measurement status code.

Channel.status_str

Measurement status description.

Methods

Channel.__init__

Initialize self.