- Sep 06, 2019
-
-
Jonathan Hanks authored
-
- Sep 05, 2019
-
-
Jonathan Hanks authored
fe_multi_stream_test can now write out individual models mbufs (the rmIpcStr structure) as well as a combined daq_multi_cycle_t structure. Remove fe_stream_test, rework the zmq/local_dc tests to use fe_multi_stream.
-
- Sep 04, 2019
-
-
Jonathan Hanks authored
The channel mix wasn't properly generating mid data rate range channels.
-
Jonathan Hanks authored
The test is to: * start a simulated IFO (via fe_multi_stream_test) * start daqd * read live data from nds * verify the data This updates the NDS2 client detection, reimplements fe_stream_check_nds, and adds some test harness logic.
-
- Aug 28, 2019
-
-
Jonathan Hanks authored
Adding a proposed clang-format style to the repository, along with a helper script. This is for evaulation. To use, "reformat_files *.c *.h". It just makes sure that the -i and -style="file" get added to the clang-format call.
-
- 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
-