Skip to content

Conversation

@merny93
Copy link

@merny93 merny93 commented Dec 15, 2025

This PR aims to integrate the tauHK cryogenic housekeeping instrumentation into the ocs framework for use on the LAT.

Description

The tauHK instrument interfaces with a host computer over ethernet and communicates with a daemon process. The code in this PR is a thin wrapper on top of the daemon.

Data and commands are sent over a UDP socket serialized using protobuf. A one time code-gen step is required to generate all the python protobuf definitions such that the agent can communicate with the daemon. Resulting protobuf definitions files are kept in the pb2/ directory but not tracked in git.

This agent spawns the daemon process using the subprocess module and pushes logs to an ocs feed. The compiled binary is supplied but not tracked in git.

Motivation and Context

tauHK will be installed on site during the ASO upgrades. This code will be deployed on amun .

How Has This Been Tested?

This agent code has been tested on a development machine at Princeton. The hardware and software were tested end-to-end along with ocs-web integration.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants