Skip to main content

Python Library to interface with Thyracont's VSR53 vacuum gauges

Project description

VSR53

PyPI version

Build and Test

This is a Python library to communicate with Thyracont's VSR53USB pressure gauge. It should also work with the VSR53DL model (over RS485) but I haven't tested it as I don't have access to one.

This library is a fork of this repository. All credits go to the original author.

The original library was designed for the RS485 protocol and does not work out of the box for the USB version of this sensor, however, with some minor modifications such as allowing the user to set the baudrate and updating the default value (to 9600 instead of 115200) it works perfectly.

Installation

This library is available in PyPI and can be installed with pip:

pip install vsr53

Usage

from vsr53 import VSR53USB

port = "/dev/ttyUSB0"  # replace with the device port of your gauge
with VSR53USB(port) as gauge:
    print(gauge.get_device_type())
    print(gauge.get_product_name())
    print(gauge.get_measurement_value())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vsr53-1.1.1.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

vsr53-1.1.1-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file vsr53-1.1.1.tar.gz.

File metadata

  • Download URL: vsr53-1.1.1.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for vsr53-1.1.1.tar.gz
Algorithm Hash digest
SHA256 c3ab5ca517860e3f709373bcf19a6a68bd5e21428a282d3704ff337631eeea15
MD5 dad8ce9dec30bd8e6a1be2aff0d8b103
BLAKE2b-256 c0999e3891ca31e91359186b42a2fb2e30a19c90b454f801854050938ea6b89a

See more details on using hashes here.

File details

Details for the file vsr53-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: vsr53-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for vsr53-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b5eb8ed4a657158f3ea3db371ca3ad7b1dbaf0681730320ad74b8c9122946832
MD5 caac2db64379855658d3224aaffd395b
BLAKE2b-256 b153385405aadc4dfff2cad41884a24c83191dca53d9c1f6789d949c94fbed37

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page