- 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.
-
- Jun 09, 2020
-
-
Rolf Bork authored
hangups for up to 61msec.
-
Jameson Rollins authored
Make awg prefer TARGET environment variable and clean up behavior WRT param paths and model rates. See merge request cds/advligorts!117
-
awgtpman now prefers to use the TARGET environment variable for the target directory. If not present, /opt/rtcds/<site>/<ifo> will be used. If neither TARGET nor SITE and IFO are set, awgtpman will refuse to load and print a helpful error. awgtpman will look in $TARGET/target/gds/param for the parameter files to get the model rate. awgtpman will now fail with a helpful error when the model rate cannot be found. If the '-r' option is set, then awgtpman will uses exclusively the command line arguments to determine model rate and won't check the param files. awgtpman will ignore command line arguments for setting the model rate unless '-r' is given.
-
- Jun 08, 2020
-
-
Jameson Rollins authored
still needed by the binary
-
Jameson Rollins authored
calls "make World" and "make installWorld" respectively.
-
Jameson Rollins authored
drop openmx and update dolpin drivers
-
Jameson Rollins authored
Prevent install from updating testpoint.par with epics-only models. See merge request cds/advligorts!116
-
- Jun 05, 2020
-
-
Erik von Reis authored
tests if kernel module was created before updating testpoint.par. This prevents epics only models from ending up in testpoint.par.
-
Erik von Reis authored
Daqd not exiting issue 96 See merge request cds/advligorts!115
-