Skip to content

COO-Utilities/inficon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InficonVGC502

A Python 3 module to communicate with an INFICONVGC502 controller over TCP. It supports reading pressure values from one or more gauges.

Currently Supported Models

  • VGC501, VGC502

Features

  • Connect to VGC controller
  • Read out the pressure

🛠️ Requirements

Installation

pip install .

🧪 Running from a Python Terminal

You can also use the INFICON module interactively from a Python terminal or script:

from inficonvgc502 import InficonVGC502

vgc502 = InficonVGC502()
vgc502.initialize()
pressure = vgc502.get_atomic_value("pressure1") # must have gauge number
print(f"Pressure: {pressure} Torr")

Testing

Unit tests are in the tests/ directory.

To run all tests from the projecgt root:

python -m pytest

Class Diagram

Below is a class diagram of the added methods and attributes for the Inficon. See the README for the hardware_device_base module for the inherited methods and attributes.

classDiagram
    class InficonVGC502 {
        +Int timeout
        +Str type
        +Str model
        +Str serial_number
        +Str firmware_version
        +Str hardware_version
        +Str pressure_units
        +Int n_gauges
        +socket sock
        _clear_socket()
        _send_enq() bool
        _read_until() bytes
        +set_pressure_unit() bool
        +get_pressure_unit() str
        +read_temperature() float
        +read_pressure() float
        run_manually()
    }
Loading

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages