Skip to content

State tracking updates - #63

Merged
brichards64 merged 1 commit into
ToolDAQ:mainfrom
marc1uk:stateupdates
Jul 13, 2026
Merged

State tracking updates#63
brichards64 merged 1 commit into
ToolDAQ:mainfrom
marc1uk:stateupdates

Conversation

@marc1uk

@marc1uk marc1uk commented Jul 12, 2026

Copy link
Copy Markdown
Contributor
  • workaround: clear LoadConfig slow control value after receipt because JSON in slow control values breaks web controls on the DAQ Control page
  • Add escaping to logging messages in Services.cpp as they need to be parsable as JSON by postgres
  • Add State variable to service discovery broadcast, change type from enum to bitmap (though still int effectively).
  • Add a button to clear state in SlowControlCollection, add methods to set each bit and clear error+warning bits, updating SD broadcast with new bitmap.
  • Bugfix to SlowControlCollection - ChangeConfig alert carries no payload.

…se JSON in slow control values breaks web controls on the DAQ Control page

* Add escaping to logging messages in Services.cpp as they need to be parsable as JSON by postgres
* Add State variable to service discovery broadcast, change type from enum to bitmap (though still int effectively).
* Add a button to clear state in SlowControlCollection, add methods to set each bit and clear error+warning bits, updating SD broadcast with new bitmap.
* Bugfix to SlowControlCollection - ChangeConfig alert carries no payload.
@brichards64
brichards64 merged commit e71bc87 into ToolDAQ:main Jul 13, 2026
1 check passed
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.

3 participants