From 0895a14db722377e12b54ccaf1ecfc9f3815812c Mon Sep 17 00:00:00 2001 From: Jonathan Hanks <jonathan.hanks@ligo.org> Date: Mon, 2 Nov 2020 12:16:38 -0800 Subject: [PATCH] Updates to cps_recv to better match the daqd. Data crc's are calculated on cycle 15. The channel list is sorted and given new sequence numbers the same way the daqd is. --- src/pub_sub_stream/dc_stats.hh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/pub_sub_stream/dc_stats.hh b/src/pub_sub_stream/dc_stats.hh index db14b9a3f..35e342773 100644 --- a/src/pub_sub_stream/dc_stats.hh +++ b/src/pub_sub_stream/dc_stats.hh @@ -119,6 +119,11 @@ public: } private: + /*! + * @brief sort the channels in a way that is compatible with daqd + */ + void sort_channels( ); + dc_queue::value_type get_message( simple_pv_handle epics_server ); int process_channel( int& ini_file_dcu_id, -- GitLab