simonsobs / simonsobs/socs

TC400 agent error code datatype is incorrect

Open
#904 3 comments 0 reactions 1 assignee View on GitHub

@mjrand is already working on this.

Since Jul 22, 2025.

agent: pfeiffer tc400 bug
Dominant language
Python
Stars
17
Forks
20
Avg merge
1h 22m
Merged PRs (30d)
2

Description

The TC400 agent has a data stream in acq for the error codes read from the pfeiffer TC400 turbo controllers. Currently, the driver reads the error code as a string and also passes it into the data stream as a string. This has made parsing the error code on grafana slightly difficult.

I think we need to update the code so that it also casts the error code as an int so we can display it easily in a new data field.

This can be tested in between satp2 receiving power again and satp2 pumping out with the turbos.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.