- Jun 28, 2020
- Jun 25, 2020
-
-
Erik von Reis authored
Adding more epics diagnostics to the daqd See merge request cds/advligorts!127
-
Jonathan Hanks authored
PRDCR_UNIQUE_DCU_REPORTED_PER_S -> the number of dcus that reported at least once in the last second PRDCR_TOTAL_DCU_REPORTED_PER_S -> the count of dcus that reported in the last second. In good conditions this should be 16*PRDCR_UNIQUE_DCU_REPORTED_PER_S PRDCR_TOTAL_DATA_RATE_KB_PER_S -> the total data rate over the last second in kb (excludes < 1kb of headers a second) PRDCR_TP_DATA_RATE_KB_PER_S -> the data rate of test point data over the last second in kb PRDCR_MODEL_DATA_RATE_KB_PER_S -> the data rate of the regular model data over the last second in kb PRDCR_OPEN_TP_COUNT -> the count of test points opened sampled once per second
-
- Jun 24, 2020
-
-
Jonathan Hanks authored
checkdaqconfig.py: Added unit tests. Accepts hardcoded paths in master templates. See merge request cds/advligorts!126
-
Erik von Reis authored
-
Erik von Reis authored
added some unit tests for checkdaqconfig.py. Now accepts hardcoded paths in master template, but will look in expected paths if the paths in the file are dummies (template variables for example).
-
- Jun 23, 2020
-
-
Jonathan Hanks authored
Add script for archiving daq configs when using multiple DAQs. See merge request cds/advligorts!125
-
adding script for archiving daq configs when using multiple DAQs. Script uses a hash to dermine when to update archives. Manages separte pointers for each DAQ.
-
- Jun 22, 2020
-
-
Rolf Bork authored
-
Jonathan Hanks authored
Will not install modules with dcuid >= 256. Closes #125 See merge request cds/advligorts!124
-
Rolf Bork authored
-
Rolf Bork authored
-
- Jun 19, 2020
-
-
Rolf Bork authored
required to compile IOP to run at 128K and user apps to receive data at this higher rate.
-
Rolf Bork authored
control models running with the higher rate IOP. To make this change, certain defines were moved from header files to the feCodeGen itself to avoid introducing more ifdefs in the code.
-
Erik von Reis authored
-
- Jun 18, 2020
-
-
Erik von Reis authored
Closes #128, the daqd exits if a gds broadcast list is specified with channels that do not exist. Closes #128 See merge request cds/advligorts!123
-
Jonathan Hanks authored
-
Jonathan Hanks authored
fix path to run number state See merge request cds/advligorts!120
-
- Jun 17, 2020
-
-
Rolf Bork authored
built with no I/O chassis flag.
-
Erik von Reis authored
More work on #96. Correctly set the trender stop flag when stopping the trender. See merge request cds/advligorts!121
-
Rolf Bork authored
Changed heartbeat loop to eliminate race condition at end of second See merge request cds/advligorts!122
-
Jonathan Hanks authored
Update the test to check if daqd stops on a timestamp jump to give a proper return value on success.
-
- Jun 16, 2020
-
-
Erik von Reis authored
changed heartbeat loop to eliminate race condition where end-of-epoch test for epoch 15 might succeed immediately, triggering rapid heartbeats every 10 ms for the next 60+ ms.
-
Jonathan Hanks authored
-
Jonathan Hanks authored
The stopping_now_ flag should be set to true to signal trender threads to stop. Also move some stack based variable sized arrays onto the heap in std::vectors to remove a place that the stack can be overflowed. Added a test to ensure the daqd stops when there is a jump in the data, and updated the live test daqdrc to start the trender thread to highlight issues with stopping.
-
- Jun 15, 2020
-
-
Jonathan Hanks authored
Make gds broadcasts work See merge request cds/advligorts!119
-
Jonathan Hanks authored
Historically, there have been two main types of broadcasts in daqd, the DC data stream (the 10Gb udp broadcast) and the GDS frame transfer. When DATA_CONCENTRATOR was defined only the DC data stream is used. This mode has been removed from the daq architecture. So the only remaining broadcast mode should be the GDS frame transfer. The big difference between the two broadcast methods is the data source. For the DC stream the source is the main circular buffer. For the GDS the data source is a frame file that the framer_io function mmaps and pushes as a block of memory. There were several modes of operation for the daqd, and DATA_CONCENTRATOR was picked when collapsing the daqd down to one binary. So remove support for the DC data stream. * Removes support for broadcasting testpoints * Removes the udp broadcast logic for the DC stream * Removes a number of #if DATA_CONCENTOR macro guards * Removes a number of #if GDS_TESTPOINT macro guards The final flow of the broadcast data is now as follows: the parser sees the request for the net-writer with a broadcast address. This triggers a net writer to be created, a producer thread to start, a circular buffer to be created. The producer copies data from the main circular buffer and unlocks the main circular buffer it puts into the new circular buffer with a nowait put operation (which is allowed to fail). Nothing has ever emptied this, so a consumer thread is not launched (it didn't do anything anyways).
-
Jonathan Hanks authored
-
Jameson Rollins authored
For some reason the systemd unit parsing does not pick up the STATE_DIRECTORY environment variable, so we have to expand manually.
-
- Jun 12, 2020
-
-
Rolf Bork authored
-
Rolf Bork authored
-
Rolf Bork authored
-
Rolf Bork authored
-
Rolf Bork authored
-
Rolf Bork authored
From the user perspective, key changes are in the model Parameter block settings: - An IOP model should now be designaeted with iop_model=1 - Previously set by adcMaster=1 - A user control application should have the adcSlave=1 parameter removed. - If iop_model=1 is not in the Parameter block, then RCG assumes this is a user control application model. - IOP models that send/rcv timing over the Dolphin network - The transmitter model Parameter block needs dolphin_time_xmit=1 - A recevier IOP model Parameter block needs dolphin_time_rcvr=1
-
Jonathan Hanks authored
Partial cleanup of the code to change the verbage and names in comments and code. See merge request cds/advligorts!118
-
Jonathan Hanks authored
Work to remove slave from the code. This is not a complete cleanup, but it goes through * src/daqd * src/gds * src/gdsConfig * src/mx_stream
-
- Jun 11, 2020
-
-
Rolf Bork authored
Code to allow models to continue running up to 61msec in event of a Dolphin network hangup. Required additional IOP Parameter setting to be invoked.
-
- Jun 10, 2020
-
-
Jonathan Hanks authored
Change an || to an &&, so the loop that waits for work or a stop signal exits when one of those conditions is met.
-