- Mar 30, 2020
-
-
Jonathan Hanks authored
Remove zmq See merge request cds/advligorts!66
-
Jonathan Hanks authored
The zmq streamers where kept around as a off the shelf method to move data for small (test) systems. However the pub/sub code appears to work better, and has no distribution limitations either. So remove the zmq code in favor of the pub/sub.
-
Jonathan Hanks authored
-
Jonathan Hanks authored
-
Jonathan Hanks authored
Replaced zeromq with a boost::asio based tcp client/server.
-
Erik von Reis authored
Daqd investigations See merge request cds/advligorts!65
-
Jonathan Hanks authored
Mostly replacing magic numbers with symbolic constants and expanding comments.
-
- Mar 26, 2020
-
-
Jonathan Hanks authored
This is to help properly track lifetimes of the work queues. Put in a wrapper around pthread_create to allow specifying an arbitrary job to run in the guise of a std::function. This keeps the flexibility (scheduler, stack size, ...) of pthreads but gives the us the ability to call more than just a void* (*)(void*). With these changes the work queues have been moved out of object scope for both the producer and the daqd objects. A few small static routines that were used to start worker threads in the producer/daqd are removed.
-
- Mar 25, 2020
-
-
Jonathan Hanks authored
Added some debugging output to the cycle continuity checks and adjusted code so that the glitch warnings are terminations for daqd.
-
- Mar 20, 2020
-
-
Jonathan Hanks authored
Broke the code out into its own header for easier testing. Updated the code to allow catching up if it falls behind, not just jumping to the front if there is a data gap.
-
- Mar 19, 2020
-
-
Jonathan Hanks authored
-
Jonathan Hanks authored
Updated the work queue to use C++11 constructs, and to use compile time determined sizes. Moved the dcu_move_address structure to the global scope and into the producer.hh file.
-
- Mar 18, 2020
-
-
Jonathan Hanks authored
-
- Mar 17, 2020
-
-
Jonathan Hanks authored
-
Jonathan Hanks authored
-
Jonathan Hanks authored
-
Jonathan Hanks authored
It now catches the processing time of all the received dcus. So it is a superset of the crc time.
-
Jonathan Hanks authored
Removed a producer cycle measurement that was recently added as the epics reporting variant was fixed. Updated the crc timing measurements.
-
Jonathan Hanks authored
Add the crc checks to the ctest batch of tests.
-
Jonathan Hanks authored
-
Jonathan Hanks authored
The checksum_crc object needs to have the add method called to import data. The recv time was being written to the recv time pv and the full cycle time pv. Updated a checksum test to make sure the new and old code produce the same checksum.
-
Jonathan Hanks authored
-
- Mar 14, 2020
-
-
Jonathan Hanks authored
Look for gaps in the transmission stream.
-
Jonathan Hanks authored
-
- Mar 11, 2020
-
-
Jonathan Hanks authored
-
Jonathan Hanks authored
Renamed pub_xmit and sub_recv to cps_xmit/recv. See merge request cds/advligorts!62
-
Jonathan Hanks authored
cps is cds pub sub
-
Jonathan Hanks authored
Omx investigations and pub_sub code See merge request cds/advligorts!61
-
Jonathan Hanks authored
-
Jonathan Hanks authored
* removing some console output. * Moving in a latched max spread value to epics * Fixing the mean calculation for dcu_mean and spread_mean epics variables. * Adding a late and very_late message epics pv to denote various forms of dropped messages. * Renamed DROPPED_MESSAGES to UDP_DROPPED_MESSAGES.
-
Jonathan Hanks authored
switched the test for pub_sub to tcp and added a delay to allow subscriptions to be received before checking on results.
-
Jonathan Hanks authored
Ran clang format.
-
Jonathan Hanks authored
-
pub/sub is not read for structure compaction, remove the reference to struct_compact.hh form recv_buffer.hh
-
Jonathan Hanks authored
-
Jonathan Hanks authored
Introduce a make_unique place holder for C++11 support.
-
Jonathan Hanks authored
Do not do a variable initialization in a lambda capture, that is C++14.
-
Jonathan Hanks authored
Added some EPICS output to sub_recv.
-
Jonathan Hanks authored
-
Jonathan Hanks authored
discarded messages are messages that are so late they don't fit in the buffer.
-