CAproto-based pure-Python EPICS IOC for the Lakeshore 336 temperature controller
Project description
EPICS-IOC for the Lakeshore 336 Temperature Controller
Quick 'n dirty:
-
Download via PyPI:
pip install ls336-iocor via GitLab:git clone https://gitlab.com/kmc3-xpp/fridge -
Configure at least the IP address and the EPICS prefix and start via shell:
$ export LS336_EPICS_PREFIX="BEAMLINE:LS336:" $ export LS336_HOST="10.0.0.17" $ ls336-ioc INFO:fridge.ioc:Lake Shore Model 336 version: 2.5 INFO:root:Starting IOC, PV list following [...] INFO:caproto.ctx:Server startup complete. -
...or create container and start via Docker or Podman:
$ podman build -t ls336-ioc -f fridge/Dockerfile -v $PWD/fridge:/fridge_src:z $ podman run -ti --rm \ -e LS336_EPICS_PREFIX="BEAMLINE:LS336:" \ -e LS336_HOST=10.0.0.17\ --name fridge ls336-ioc:latest [...]
Here's a list of environment variables that might help:
LS336_HOST: host name or IP of the LS336 controllerLS336_PORT: port to connect to (typically 7777)LS336_VISA_DEV: PyVISA device to connecto to, instead of the TCP/IP device. If set, overrides host/port.LS336_VISA_RMAN: PyVISA resource manager. Defaults to "@py". If you've got this far, you know what this is good for ;-)LS336_EPICS_PREFIX: EPICS PV prefix to use. Include trailing column (:) if you need one. Defaults toKMC3:XPP:LS336:.LS336_LOGGING: one of "error", "warn", "info" or "debug". Defaults to "info".LS336_LOG_STATUS: if set to "yes", the IOC will periodically (about once per second) log the current status of all variables it observes to the "info" logging facility. The default is not to do that.
Enjoy.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ls336-ioc-0.1.1.tar.gz.
File metadata
- Download URL: ls336-ioc-0.1.1.tar.gz
- Upload date:
- Size: 22.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96d2d4014410083a4b206131ba560c06f32d8f5a36d7b10464e2ac8217ba7e06
|
|
| MD5 |
972e7dd5c8869b81a839ef2c4b4644c8
|
|
| BLAKE2b-256 |
a4af2e12818f7ea604852623f9ea2a9580754d8dddc377c1d61e041c791e6449
|
File details
Details for the file ls336_ioc-0.1.1-py3-none-any.whl.
File metadata
- Download URL: ls336_ioc-0.1.1-py3-none-any.whl
- Upload date:
- Size: 22.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e585d4c0bc483682b17cf1a44a65f193f66f2aa2f0e7db361cd6f68fc3edf892
|
|
| MD5 |
f037cf30eff4d57bcd3fe0732d43d341
|
|
| BLAKE2b-256 |
f5b12d850c0b94ec14b2705eec6a7d1e7bee56ecfb46a3635389745d1cd7f2d1
|