Skip to main content

epicsdev_ps_caen_fastps

EPICS PVAccess server for CAEN FAST-PS power supplies, implemented with epicsdev.

Main server module: caen_fastps/main.py
IOC reference DB: ioc/fastps.db
Phoebus screen generator: opi/generate_screen.py

Features

  • TCP remote control interface to FAST-PS (default port 10001)
  • PV set modeled after the IOC records in docs/fastps.db
  • Setpoint control with optional ramping:
    • Voltage, Current, RampEnable
  • Output and diagnostic readback:
    • OutputVoltage, OutputCurrent, GroundCurrent, DCLinkVoltage, HeatsinkTemp
  • Status and state control:
    • StatusMSB, StatusLSB, StatusReset, Enable, RegulationMode, Upmode
  • Ramp-rate control:
    • RampRateV, RampRateI
  • Device identity and inferred limits:
    • Model, Version, Limits
  • Generic command passthrough:
    • instrCmdS, instrCmdR

FAST-PS protocol mapping

Implemented command families:

  • VER
  • MON, MOFF
  • LOOP, LOOP ?
  • MWV, MWV ?, MWVR
  • MWI, MWI ?, MWIR
  • MRESET
  • MST
  • UPMODE:?, UPMODE:<mode>
  • MSRV:?, MSRV:<value>
  • MSRI:?, MSRI:<value>
  • MRV, MRI, MGC, MRP, MRT

Requirements

  • Python 3.10+
  • epicsdev and its runtime dependencies (including p4p)
  • Network access to the CAEN FAST-PS device

Install and run

  • `pip install epicsdev_ps_caen_fastps
  • python -m epicsdev_ps_caen_fastps

Useful arguments:

  • --host FAST-PS IP/hostname (default: 130.199.104.57)
  • --port TCP port (default: 10001)
  • --timeout socket timeout in seconds (default: 2.0)
  • -d, --device PV prefix device root (default: caen_fastps)
  • -i, --index PV prefix index (default: 0)
  • -v increase verbosity (-vv for more)
  • -a, --autosave enable autosave with optional directory
  • -c, --recall disable restoring autosaved values on startup

Example:

  • python -m epicsdev_ps_caen_fastps --host 130.199.104.57 -d caen_fastps:

Default PV prefix:

  • caen_fastps0:

Generate a Phoebus screen

Generate .bob OPI file:

  • python generate_opi.py -t FAST-PS pva://caen_fastps:0:

Options:

  • -t, --title screen title
  • prefix PV prefix macro/value (default: $(DEV):)

Output:

Screenshot

Notes

  • The server uses common epicsdev control PVs such as server, sleep, status, and HEARTBEAT.
  • Enable is synchronized from bit 0 of StatusLSB during polling.
  • For unsupported/custom diagnostics, use instrCmdS and read the reply from instrCmdR.

Metadata

Release files for epicsdev_ps_caen_fastps 0.0.3

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

Source distribution (sdist)

Source distribution for epicsdev_ps_caen_fastps 0.0.3
File Size Uploaded
epicsdev_ps_caen_fastps-0.0.3.tar.gz 81.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for epicsdev_ps_caen_fastps 0.0.3
File Interpreter ABI Platform
epicsdev_ps_caen_fastps-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 89.0 kB

Release files / epicsdev_ps_caen_fastps-0.0.3.tar.gz

Download URL epicsdev_ps_caen_fastps-0.0.3.tar.gz
Size 81.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1ac439373e5745562af2fa2cbf908c48397c9d677bb0598af760ff74952ac47c
BLAKE2b-256 checksum
How to use checksums
efd0a698cc999992b03fb312019139a3c7b7ff636105f30cb537aab5659f5d0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.1

Release files / epicsdev_ps_caen_fastps-0.0.3-py3-none-any.whl

Download URL epicsdev_ps_caen_fastps-0.0.3-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fd3b2b41ea7294628615b291526a2fdfbde934b7ea02c046d07d45e30a3e4ed8
BLAKE2b-256 checksum
How to use checksums
24f3fa16cc79eb40ce736a9780a4e90d1057e42330200eff28f8b313a412ece8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.1

Release history Release notifications | RSS feed

0.0.5

2 release files

0.0.4

2 release files

This release

0.0.3 This release

2 release files

0.0.2

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