Skip to main content

Agilent-Vacuum

A collection of classes for communication with various Agilent Vacuum pump controllers.

This package supports:

This is was developed for internal use at Luxbright. It has been used 24/7 in production lines and R&D labs since year 2023. But we only use a subset of all implemented commands and not all commands are tested by the pytest suite.

I hope that it can be useful as it is, or as source of inspiration for somebudy else. This is not an official library from Agilent and we are not associated with the, we are only a user of their products.

This library is implemented using asyncio.

Turbo pump driver usage

from agilent_vacuum.twis_torr_74 import TwisTorr74Driver
from agilent_vacuum.communication import PressureUnit, SerialClient
from agilent_vacuum.exceptions import ComError, WinDisabled

Create a serial client, this exaple connects to a USB to RS232 adapter on a Raspberry Pi. Initiate a driver and try to connect to controller.

client = SerialClient("/dev/ttyS0")
turbo = TwisTorr74Driver(client)
try:
    await turbo.connect()
except ComError as e:
    logger.warning(f"Turbo pump connect failed. {e}")
except EOFError as e:
    logger.warning(f"Turbo pump connect failed. {e}")

Start turbo pump and read status and speed.

await turbo.start()
status = await turbo.get_status()
speed = await turbo.read_turbo_speed
logger.info(f"Turbo status {status.name} and speed {speed} rpm.")

Read vacuum gauge (requires optional gauge connected to controller)

unit = await turbo.get_pressure_unit()
value = await turbo.read_presure()
logger.info(f"{pressure} {unit.name}")

Stop turbo pump.

await turbo.stop()

Ion pump driver usage

from agilent_vacuum.ipc_mini import IpcMiniDriver, PumpStatus
from agilent_vacuum.communication import PressureUnit, SerialClient
from agilent_vacuum.exceptions import ComError, WinDisabled

Create a serial client, this exaple connects to the UART on a Raspberry Pi via an RS323 circuit. Initiate a driver and try to connect to controller.

client = SerialClient("/dev/ttyS0")
ion_pump = IpcMiniDriver(client)
try:
    await ion_pump.connect()
except ComError as e:
    logger.warning(f"Turbo pump connect failed. {e}")
except EOFError as e:
    logger.warning(f"Turbo pump connect failed. {e}")

Start the Ion Pump and read status

await ion_pump.start()
status = await ion_pump.get_status()
logger.info(f"Ion pump status {status.name}")

Read vacuum level

unit = await ion_pump.get_pressure_unit()
value = await ion_pump.read_presure()
logger.info(f"{pressure} {unit.name}")

Stop Ion Pump

await ion_pump.stop()

Metadata

Release files for agilent-vacuum 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agilent-vacuum 0.1.4
File Size Uploaded
agilent_vacuum-0.1.4.tar.gz 56.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for agilent-vacuum 0.1.4
File Interpreter ABI Platform
agilent_vacuum-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 73.9 kB

Release files / agilent_vacuum-0.1.4.tar.gz

Download URL agilent_vacuum-0.1.4.tar.gz
Size 56.6 kB
Tags Source
SHA-256 checksum
How to use checksums
07cc4a46dd733169ae494ed06079601dcccb145bfc94dfe860f7a6d3c5346b4f
BLAKE2b-256 checksum
How to use checksums
3a8bbd58a75b6ba4a1fd057dd8b6b68cb25f109c1f6a2f240652ad13f258cb86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / agilent_vacuum-0.1.4-py3-none-any.whl

Download URL agilent_vacuum-0.1.4-py3-none-any.whl
Size 17.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
026cd3786bfc18c7595e9dd19290ce56a152d13467db5a4b533ecab9ba120ab1
BLAKE2b-256 checksum
How to use checksums
691abf57d908d4af8ef9b56ef8893e3d6a75992af300669e1a9ad752a32f5b4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page