Agilent-Vacuum
A collection of classes for communication with various Agilent Vacuum pump controllers.
This package supports:
- Agilent TwissTorr 74FS Rack Turbo Pump controller PDF user guide
- Agilent IPCMini Ion Pump Controller PDF user guide
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.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| agilent_vacuum-0.1.3.tar.gz | 56.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agilent_vacuum-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 74.0 kB
Release files / agilent_vacuum-0.1.3.tar.gz
| Download URL | agilent_vacuum-0.1.3.tar.gz |
|---|---|
| Size | 56.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7124913c1e995340e63df557541404f33d2567c27900e6f0436f8655dc27142f
|
|
BLAKE2b-256 checksum How to use checksums |
0e8cfa6487e0a3cf481a7eaf254af8540b310a88db26858b8130599411a5d387
|
| 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.3-py3-none-any.whl
| Download URL | agilent_vacuum-0.1.3-py3-none-any.whl |
|---|---|
| Size | 17.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5da21446ae0fea75da3f5a5606b71a6a6a529d57fbdbf2e82eca21072d260545
|
|
BLAKE2b-256 checksum How to use checksums |
6962f11c8ff0e632b780d79f76a77443bb746d907f935f354ade7eaa65976a24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|