Skip to main content

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-ioc or 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 controller
  • LS336_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 to KMC3: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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ls336_ioc-0.3.0.tar.gz (24.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ls336_ioc-0.3.0-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

Details for the file ls336_ioc-0.3.0.tar.gz.

File metadata

  • Download URL: ls336_ioc-0.3.0.tar.gz
  • Upload date:
  • Size: 24.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for ls336_ioc-0.3.0.tar.gz
Algorithm Hash digest
SHA256 8df237b3cba341f412a8c127c80493822cbe9a78ba4e8458fd9e451f47f22706
MD5 77d4ffbcde75c202e8a02debab5113c5
BLAKE2b-256 0d7c599f1cb6f8aac9f0d42bfad2a57388f996c6b446121dc0b0d63fe5d6cad1

See more details on using hashes here.

File details

Details for the file ls336_ioc-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: ls336_ioc-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 22.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for ls336_ioc-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0e13708510e3f782f0bbc05b1509a494004d2ab08b7b59512bb8850b685ab512
MD5 33b2f069db331b5e74b6e0ca8e7e0c92
BLAKE2b-256 6c1aa09e82fc3bfd26d7deb8a9d92333c463374a96bf6e3f6de4203a4d3934e3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page