m-labs / artiq

A leading-edge control system for quantum information experiments
https://m-labs.hk/artiq
GNU Lesser General Public License v3.0
415 stars 193 forks source link

moninj: display voltage in DACWidget #2473

Closed SimonRenblad closed 2 weeks ago

SimonRenblad commented 2 weeks ago

ARTIQ Pull Request

Description of Changes

Change MonInj DAC widgets to display the monitored value as a voltage instead of a percentage.

Also changed the text formatting to use square bracket notation for DAC channels, since the previous " ch" format seemed a bit ugly.

Output from artiq_sinara_tester:

Screenshot from 2024-07-04 15-15-32

Type of Changes

Type
:sparkles: New feature

Steps

All Pull Requests

Code Changes

Git Logistics

Licensing

See copyright & licensing for more info. ARTIQ files that do not contain a license header are copyrighted by M-Labs Limited and are licensed under LGPLv3+.

sbourdeauducq commented 2 weeks ago

Not related to this PR, but if would be good to make all the widgets the same size so they align nicely.

SimonRenblad commented 2 weeks ago

Not related to this PR, but if would be good to make all the widgets the same size so they align nicely.

I agree. I'll work on a PR for it :+1:

sbourdeauducq commented 2 weeks ago

Please update release notes next time.