Skip to content

Daqd run number hash fix

Closes #171 (closed). The hash the daqd to calculate the channel list checksum for the run number server is wrong. It treats the name and units strings wrong and truncates their values. Create a new hash function which properly handles the full length of the name and units.

The old behavior is preserved via a parameter which can optionally be enabled. This is added to keep stable hashes while updating the daqd.

This also adds in a checksum of the channel list that gets exported via epics to help understand the state of the daqd. This was meant to be in part of a daqd diagnostics update, but got missed in earlier pushes. It is included as it provides work for a common hash interface for the channels.

Merge request reports

Loading