- Aug 23, 2019
-
-
Jonathan Hanks authored
-
Jonathan Hanks authored
fe_stream_test is a single front end outputing a rmIpcStr to mbuf. fe_multi_stream_test can be used to simulate fe systems in bulk, it outputs to a dac_multi_cycle_t in mbuf, along with populating a ini directory and master file. This is targeted for daqd development and testing. This adds a fe_generator_support library which holds some common code between the two generators. This also adds another check to fe_stream_check, verifying the data crc.
-
- Aug 22, 2019
-
-
Jonathan Hanks authored
Fix usage message in local_dc. Remove commented out code in the makefile and associated .c code Looking for variables with ix_ prefix and removed an usused bit.
-
Jonathan Hanks authored
* Renamed the cmake target ix_xmit to dix_xmit. Copied in code from mx2ix.c, removed the mx specific bits. * Reformatted local_dc.c, explicitly checking for 64bit alignment in tests * fe_stream_check requires that the dataCycleSize is 8 byte aligned. * Adding a simple test program to the ix_stream area. ix_test -g <num> -s - sending/server side test ix_test -g <num> -c - recieving/client side test ix_test -g <num> [-c] -d - recieving side, dump first 64 bytes of data * dix_xmit waits for the input buffer to be valid before checking buffers. If you read the input mbuf before it is ready you will likely have invalid input and will make bad assumptions about buffer lengths and data strides. So wait until data is ready and then start up. * Moved ix_fb_rcv.c to dix_recv.c. Ran clang-format on the code. Reviewed the program arguments.
-
- Aug 21, 2019
- Aug 15, 2019
-
-
Jonathan Hanks authored
-
Rolf Bork authored
-
Jonathan Hanks authored
* Rewrote zmq_xmit.c to no longer do data concentration, it now depends on local_dc. * Removed some old test code that was not being used * Added a new test (hooked into ctest) to run several simulated FE computers, local_dc, zmq_xmit, and zmq_recv and then read the output from the zmq_recv output buffer and verify each channel.
-
- Aug 14, 2019
-
-
Jonathan Hanks authored
It was commented out so didn't impact anything. However it should not have been put in.
-
Jonathan Hanks authored
* Remove unneeded dolphin dependency * Remove unneeded makefile target * Put correct names in omx_recv.c * Removed dead code ifdef #0'ed away. * Update to help messages. * Removed the dc restart code as it wasn't doing anything.
-
Jonathan Hanks authored
Rolf took the mx2ix code, pulled the dolphin code out to make mx2rcv. This change moves the code to the mx_stream directory and renames the file to omx_recv.c.
-
-
cherry-picked from rcgtest branch
-
- Aug 13, 2019
- Aug 12, 2019
-
-
Keith Thorne authored
-
- Aug 08, 2019
-
-
Jonathan Hanks authored
-
Keith Thorne authored
-
Jonathan Hanks authored
When resyncing to the IOP, reset the counter for all models. This helps mx_fe skip models that have not been started (ie their mbuf is unitialized). Corrected some index values. The ixDataBlock dcuheaders where indexed with the wrong value, and could cause a bad tpBlockSize to be caculated if a required model was stopped (this happens when the ii index != the db index) which can manifest itself with the process aborting after seeing an overflow.
-
- Aug 07, 2019
-
-
Keith Thorne authored
-
Rolf Bork authored
inconsistent tab/space indentation errors when run.
-
- Aug 06, 2019
-
-
Jonathan Hanks authored
Missing return values and return types keep daq from building on debian 10.
-
- Aug 03, 2019
-
-
Jonathan Hanks authored
-
Jonathan Hanks authored
This tool can scan a rmIpcStr based mbuf continually and print some information out. It was written to help debug fe or fe_stream_test issues.
-
Jonathan Hanks authored
Fix a mixup of index variables. TP size was be calculated with the wrong models (possibily uninitialized memory) data.
-
Jonathan Hanks authored
This handles the case where a model is not running at startup and we create an mbuf for it. The contents are uninitialized and undefined. Simply setting an impossible cycle counter for all models (not just the IOP) protects us from processing uninitialized mbufs. The buffers will not be seen as ready until a model runs and sets a proper cycle counter.
-
- Aug 02, 2019
-
-
Jameson Rollins authored
Implement local_dc See merge request cds/advligorts!5
-
Jonathan Hanks authored
update systemd service files for new daqd architecture See merge request cds/advligorts!8
-
Jonathan Hanks authored
Remove the requirement for -DDEV_BUILD, its tests can be used for any cmake based build.
-
- Aug 01, 2019
-
-
Jameson Rollins authored
We now have a single daqd service, and separate services for all the new front end transport components ({zmq,omx,dix}_{xmit,recv}, local_dc, etc.). The assumption for all the transport services is that the /etc/advligorts/env file exists and defines environment variables specifying the command line arguments for each service, e.g.: ZMQ_XMIT_ARGS=-e eth0 -s x1tst The daqd service expects configuration at /etc/advligorts/daqdrc.
-
Jonathan Hanks authored
mdl perm fix See merge request cds/advligorts!7
-
Jonathan Hanks authored
missed python2to3 See merge request cds/advligorts!6
-
Jameson Rollins authored
these are not executables
-
Jameson Rollins authored
-
- Jul 31, 2019
-
-
Jonathan Hanks authored
Local_dc reads RT model data from mbuf (rmIpcStr) concentrates the data into one block and stores it in an output mbuf (daq_multi_cycle_data_t). In a standalone system this would be the data concentrator. On a larger system, this prepares data for a streamer process. This also adds a basic test for local_dc which starts several local simulated FE streams, concentrates their data and checks that each channel is available in the output with the expected values. This removes fe_data_concentrator. This updates code in fe_stream_test. This adds a new fe_stream_check, renaming the old (and disabled) one to fe_stream_check_nds. This also enables cmake based testing. !!Warning the tests fail unless mbuf and gpstime are enabled!!
-
Jameson Rollins authored
Update zmq_recv to no longer use IX. Move it to the zmq_stream dir. See merge request cds/advligorts!4
-
Jonathan Hanks authored
Moved a bit of old zmq code to an 'attic' directory in the zmq area. Ripped out the dolphin bits from zmq_recv_ix_xmit_delay.cc and renamed it zmq_stream/zmq_recv.cc. Moved ix_stream/recvr_utils.hh to zmq_stream as it was some debug code for zmq_recv_ix_xmit.
-
Jameson Rollins authored
Change FindDolphin.cmake to look for libs in /opt/DIS/lib as well as lib64 See merge request cds/advligorts!3
-
- Jul 30, 2019
-
-
Jonathan Hanks authored
-