- Jun 15, 2020
-
-
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
-
- May 08, 2020
-
-
Jonathan Hanks authored
-
Jonathan Hanks authored
Update the daq parser to consume a port number as well as a broadcast interface name. * This introduces a address:port parsing call into the net_writer code to allow it to handle both the port information as well. * Removes a minor memory leak, by moving from strdup w/o a free to a std::string. * As we no longer transmit data via daqd data concentrators this removes the DC code path from the net_writer broadcast section. * Also removes to unneeded constants.
-
- Apr 08, 2020
-
-
Jonathan Hanks authored
* The socket has been renamed from pipe to daqd_socket * Defaults to a working dir of /var/run/nds * socket path is then /var/run/nds/daqd_socket * jobs dir is then /var/run/nds/jobs * Set the --socketdir option on nds to specify the working dir
-
- Nov 22, 2019
-
-
Jonathan Hanks authored
-
Jonathan Hanks authored
-
Jonathan Hanks authored
-
- Jun 09, 2017
-
-
Jonathan Hanks authored
Plus some additions to help with adding atomics to handle some race conditions (not actually enabled yet). git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4371 6dcd42c9-f523-4c6d-aada-af552506706e
-
- Apr 29, 2016
-
-
Keith Thorne authored
Bug 472, 513 - create proper error message strings for errno. Created udp_reciever.cc/hh to pull that code out of producer.cc git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4201 6dcd42c9-f523-4c6d-aada-af552506706e
-
- May 05, 2015
-
-
Keith Thorne authored
Requests 691, 854 - DAQ build finds EPICS, framecpp, names threads, can set real-time priority, CPU affinity - check README in src/daqd git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4003 6dcd42c9-f523-4c6d-aada-af552506706e
-
- Feb 18, 2014
-
-
Rolf Bork authored
git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@3613 6dcd42c9-f523-4c6d-aada-af552506706e
-
- Aug 15, 2013
-
-
Alexander Ivanov authored
git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@3451 6dcd42c9-f523-4c6d-aada-af552506706e
-
- Aug 12, 2013
-
-
Alexander Ivanov authored
room for up to 170 DCUs. Added total DCU count checking. git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@3437 6dcd42c9-f523-4c6d-aada-af552506706e
-
- Feb 04, 2013
-
-
Alexander Ivanov authored
names of the raw minute trend archive directories. git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@3254 6dcd42c9-f523-4c6d-aada-af552506706e
-
- Aug 10, 2012
-
-
Alexander Ivanov authored
fuill-res, second trend and minute trend data. Example daqdrc commands: scan archive "obsolete","","",1; configure archive "obsolete" channels "/opt/rtcds/tst/x1/target/fb/obsolete.cfg"; obsolete.cfg is: [datatype] full [Signals] X1:IOP-SAM_ADC_DUOTONE_OUT_DQ 32bit_float 128 <end of file> Note new third parameter "128", which is a channel rate specifier. git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@3002 6dcd42c9-f523-4c6d-aada-af552506706e
-
- May 24, 2012
-
-
Alexander Ivanov authored
git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@2926 6dcd42c9-f523-4c6d-aada-af552506706e
-
- May 22, 2012
-
-
Alexander Ivanov authored
cleaned up compiled warnings. git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@2917 6dcd42c9-f523-4c6d-aada-af552506706e
-
Alexander Ivanov authored
git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@2916 6dcd42c9-f523-4c6d-aada-af552506706e
-
- Oct 14, 2010
-
-
Alexander Ivanov authored
git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@2121 6dcd42c9-f523-4c6d-aada-af552506706e
-
- Aug 26, 2010
-
-
Alexander Ivanov authored
git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@2044 6dcd42c9-f523-4c6d-aada-af552506706e
-
- Apr 30, 2010
-
-
David Barker authored
git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@1874 6dcd42c9-f523-4c6d-aada-af552506706e
-