simonsobs / simonsobs/ocs-web

tc400: Display stats on agent panel

Open
#89 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vue
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

It'd be great to display the TC400 stats that are in the acq process' session.data on the main panel for the agent.

session.data = {
    'timestamp': 1598626144.5365012,
    'block_name': 'turbo_output',
    'data': {
        "Drive_Voltage": 46.65,
        "Drive_Current": 3.02,
        "Drive_Power": 139.95,
        "Turbo_Power_Stage_Temp": 42,
        "Turbo_Electronics_Temp": 38,
        "Turbo_Pump_Bottom_Temp": 26,
        "Turbo_Bearing_Temp": 28,
        "Turbo_Motor_Temp": 32,
        "Rotation_Speed": 819,
        "Acceleration": 60,
        "Error_Code": "Err001",
    }
}

@mhasself, this seems relatively straight forward, and I don't mind taking this one on if you want (not having made a custom panel before). I probably won't get to it right away though.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start with the PfeifferTC400Agent.acq entry point and its session.data structure from the linked documentation, then inspect how the agent's main panel and custom panels are organized. The issue names no files or tests; done means the listed TC400 statistics are visible on the agent's main panel.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.