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.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| agilent_vacuum-0.1.4.tar.gz | 56.6 kB | Without provenance | Details for agilent_vacuum-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| agilent_vacuum-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for agilent_vacuum-0.1.4-py3-none-any.whl |
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
|
Security for agilent-vacuum 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.