Skip to content

Latest commit

 

History

History
64 lines (50 loc) · 1.8 KB

lakeshore425.rst

File metadata and controls

64 lines (50 loc) · 1.8 KB

rst

Lakeshore 425

The Lakeshore Model 425 gaussmeter is a device which measure the magnetic field by hall sensor. This agent is used to measure the magnetic field from the superconducting magnetic bearing of the CHWP rotation mechanism and to monitoring the status of floating and rotating CHWP.

Configuration File Examples

Below are useful configurations examples for the relevant OCS files and for running the agent in a docker container.

OCS Site Config

To configure the ocs-lakeshore425-agent we need to add a Lakeshore425Agent block to our ocs configuration file. Here is an example configuration block using all of the available arguments:

{'agent-class': 'Lakeshore425Agent',
'instance-id': 'LS425',
'arguments': [
  ['--port', '/dev/LS425'],
  ['--mode', 'acq'],
  ['--sampling-frequency', 1.],
]},

If you would like to chanege the setting or check the status of the lakeshore 425, the --mode argument should be 'init'.

Docker Compose

The ocs-lakeshore425-agent can be run via a Docker container. The following is an example of what to insert into your institution's docker-compose file.:

ocs-lakeshore425-agent:
  image: simonsobs/socs:latest
  hostname: ocs-docker
  environment:
    - INSTANCE_ID=LS425
  device:
    - /dev/LS425:/dev/LS425
  volumes:
    - ${OCS_CONFIG_DIR}:/config:ro

Agent API

socs.agents.lakeshore425.agent.LS425Agent

Supporting APIs

socs.Lakeshore.Lakeshore425