Skip to content

Fix byte arrays in tooltip - #240

Merged
abigailalexander merged 1 commit into
masterfrom
fix-tooltip-byte-arrays
Oct 16, 2026
Merged

abigailalexander merged 1 commit into
masterfrom
fix-tooltip-byte-arrays

Conversation

@abigailalexander

Copy link
Copy Markdown
Collaborator

This checks the format type of PV values before displaying them in tooltips, so byte arrays are correctly displayed as strings

@abigailalexander

Copy link
Copy Markdown
Collaborator Author

This can be tested on the screen linked in this issue on Daedalus, for b01
DiamondLightSource/daedalus#68

@niamhdougan

niamhdougan commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

Tested it works with:

  • B01-1 Synoptic -> Synchrotron Alignment Camera -> ADUVC Camera -> "Format Description" field
  • B01-1 Synoptic -> Spectroscopy Camera -> NDFileHDF5 -> "File path" field

However for top level camera summary status it doesn't seem to work:
image

@abigailalexander

Copy link
Copy Markdown
Collaborator Author

I think that might be due to the .bob file not having formatType = string set, because the textbox also shows the byte array as a list of numbers.

@abigailalexander
abigailalexander merged commit 58ddafd into master Oct 16, 2026
2 checks passed
@abigailalexander
abigailalexander deleted the fix-tooltip-byte-arrays branch October 16, 2026 13:30
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