- Jan 04, 2018
-
-
Jonathan Hanks authored
If built without zmq present the src/zmq_stream will not be built and the daqd builds will use a run_number_client that always returns a run number of 0. This is in response to a request to build the daqd variants w/o having a hard zmq dependency. The change has been done to both the CMake and autotools build systems. git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4625 6dcd42c9-f523-4c6d-aada-af552506706e
-
Jonathan Hanks authored
Use the new flag -n/--dry-run if you just want to calculate the offsets. git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4624 6dcd42c9-f523-4c6d-aada-af552506706e
-
Jonathan Hanks authored
Forward port of r4609. use leap second data from ietf-leap-seconds package as default for calc_gps_offset.py for setting offset in the gpstime kernel module git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4623 6dcd42c9-f523-4c6d-aada-af552506706e
-
Jonathan Hanks authored
Export timing card status, gps offsets, gps time, ... via sysfs. This includes exporting the type of gps_offset needed via /sys/kernel/gpstime/offset_type so that a userspace program can determine how to calculate the proper gps offset. Updated the calc_gps_offset.py program to have a --status and --auto/-a flags to show card status and determine the type of gps_offset to produce. git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4621 6dcd42c9-f523-4c6d-aada-af552506706e
-
Jonathan Hanks authored
Also renamed /dev/symmetricom /dev/gpstime git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4619 6dcd42c9-f523-4c6d-aada-af552506706e
-
Jonathan Hanks authored
Remove the throw() from full_frame to allow it to crash with the default handler and show better debug output git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4618 6dcd42c9-f523-4c6d-aada-af552506706e
-
Jonathan Hanks authored
Also adjusts the build system to use the vendored copy of the zmq bindings if the zmq.hpp file cannot be found. git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4616 6dcd42c9-f523-4c6d-aada-af552506706e
-
Rolf Bork authored
git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4615 6dcd42c9-f523-4c6d-aada-af552506706e
-
Rolf Bork authored
Starting to add what used to be /proc/model/status info to be output as EPICS records. git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4614 6dcd42c9-f523-4c6d-aada-af552506706e
-
Rolf Bork authored
Separated controller.c cnd moduleLoad.c code into separte code for IOP and User app. This is part of a compile option cleanup process. Also, all references to /proc files is now removed in favor of moving those outputs to EPICS records. git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4613 6dcd42c9-f523-4c6d-aada-af552506706e
-
- Dec 21, 2017
-
-
Rolf Bork authored
git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4604 6dcd42c9-f523-4c6d-aada-af552506706e
-
- Dec 19, 2017
-
-
Jonathan Hanks authored
Fix a segfault in dataviewer that happens with the LIGONDSIP variable is not set. The updated script prints an error message and aborts. git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4599 6dcd42c9-f523-4c6d-aada-af552506706e
-
Jonathan Hanks authored
Reworked the cmake logic to better represent the dependencies in the gds code, including the rpc generated files. This should allow parallel builds to work with cmake. git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4598 6dcd42c9-f523-4c6d-aada-af552506706e
-
- Dec 08, 2017
-
-
Jonathan Hanks authored
The rcv build of daqd had code to read cycle count information from an array of rmIpcStr structures. 1. This was unneeded in this build of daqd 2. The array was never initialized and resulted in invalid pointers 3. It only ran in production due to optimization recognizing a unused variable and removing the bad read. This code breaks the producer.cc out to producer_rcv.cc and removes the unneeded rmIpcStr structures and accesses. git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4593 6dcd42c9-f523-4c6d-aada-af552506706e
-
Jonathan Hanks authored
Still needs access to config/cmake/FindZMQ.cmake, but it can be configured by itself. git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4591 6dcd42c9-f523-4c6d-aada-af552506706e
-
Jonathan Hanks authored
Still needs access to config/cmake/FindZMQ.cmake, but it can be configured by itself. git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4590 6dcd42c9-f523-4c6d-aada-af552506706e
-
- Dec 05, 2017
-
-
Rolf Bork authored
git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4582 6dcd42c9-f523-4c6d-aada-af552506706e
-
- Dec 01, 2017
-
-
Jonathan Hanks authored
If development files for libXpm or libXt are not installed the cmake process would crash. The detection variables are not defined at all if they are not found. Rework the tests, such that it works as it should, the cmake finishes and dataviewer is not built if dependencies are not found. git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4578 6dcd42c9-f523-4c6d-aada-af552506706e
-
Jonathan Hanks authored
As requested by Keith: - The run_number database should have date/time (or GPS) stamps for each record. (added) - There should be an EPICS variable that displays the current "run number" (FW1_CONFIGURATION_NUMBER) - Ability to save the database to arbitrary location (so it can be backed up) (Added the -f flag to run_number_server) - Example 'systemd' service file for run_number_server installation git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4577 6dcd42c9-f523-4c6d-aada-af552506706e
-
Jonathan Hanks authored
Forward port r4572. More work on the ECR to allow arbitrary .md5 file locations for frame checksums. The profiler now creates one level of directory (the gps time) if needed. git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4576 6dcd42c9-f523-4c6d-aada-af552506706e
-
Jonathan Hanks authored
git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4575 6dcd42c9-f523-4c6d-aada-af552506706e
-
- Nov 28, 2017
-
-
Jonathan Hanks authored
git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4570 6dcd42c9-f523-4c6d-aada-af552506706e
-
- Nov 27, 2017
-
-
Jonathan Hanks authored
Added a test_run_number_client that can be used to call the run_number server with arbitrary values. Added more verbose output (when flagged with -v) output to the run_number server. Added a test mode to the run_number server to have it crash/quit on a request to enable testing of that failure mode. git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4568 6dcd42c9-f523-4c6d-aada-af552506706e
-
- Nov 20, 2017
-
-
Keith Thorne authored
git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4563 6dcd42c9-f523-4c6d-aada-af552506706e
-
- Nov 18, 2017
-
-
Jonathan Hanks authored
Added a python program (and tests) to be used to calculate the proper gps offset to use with the symmetricom/gpstime driver. The program needs access to a gps leap second file as provied by the ietf-leap-seconds package. Then it can be queried to determine what the offset should be. To calculate the offset for a spectricom card that does not get the year in the IRIG-B signal calc_gps_offset.py -y -l leap-seconds.list To calculate the offset for a system with NO timing card: calc_gps_offset.py -s -l leap-seconds.list Optionally you can specify a day for which you want the offset to be calculated (defaults to today). It is specified with the '-t' option with the date in the YYYY-MM-DD form, ie '-t 2017-1-1'. The idea is that this command can be put in startup scripts to calculate the offset that needs to be written to /proc/gps_offset. git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4555 6dcd42c9-f523-4c6d-aada-af552506706e
-
- Nov 16, 2017
-
-
Jonathan Hanks authored
git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4554 6dcd42c9-f523-4c6d-aada-af552506706e
-
Jonathan Hanks authored
The symmetricom-4.4 driver now builds cleanly on kernel 3.0.8-4.9. A new set of interfaces has been added to a gps_offset to be set from user space. The goal is that a new year/leap second should not require a new code release, simple an update to the offset and a restart of models. Adds a /proc/gps_offset entry and a internal kernel interface 'long ligo_get_gps_offset(void)' which is consumed by the spectracom driver in the IOPs, allowing the IOP to receive the offset as configured in the system. git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4553 6dcd42c9-f523-4c6d-aada-af552506706e
-
- Nov 11, 2017
-
-
Jonathan Hanks authored
Added a program to check the output of the daqd against the FE simulated channels. git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4551 6dcd42c9-f523-4c6d-aada-af552506706e
-
- Nov 09, 2017
-
-
Jonathan Hanks authored
Fixes to gps handling. Use the data stream as the clock, the zmq data transfer has more jitter than the mx, so sometimes transfers go long, sometimes short, allow for that. This version is the first that could be arrange the data well enough for frames to be written. Still needs some correctness testing. Lots of printf/cout debugging code will need to be removed. git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4550 6dcd42c9-f523-4c6d-aada-af552506706e
-
Jonathan Hanks authored
2 is Running. If this is not set then the daqd_dc sets the data state to bad. git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4549 6dcd42c9-f523-4c6d-aada-af552506706e
-
- Nov 04, 2017
-
-
Rolf Bork authored
git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4548 6dcd42c9-f523-4c6d-aada-af552506706e
-
Jonathan Hanks authored
Fixed the crc error, added lots of debugging output while trying to understand failures in daqd_dc_zmq with the simulated fe test. There are still errors, this is partially to snapshot where I was investigating. git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4546 6dcd42c9-f523-4c6d-aada-af552506706e
-
- Nov 03, 2017
-
-
Jonathan Hanks authored
git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4545 6dcd42c9-f523-4c6d-aada-af552506706e
-
Jonathan Hanks authored
git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4544 6dcd42c9-f523-4c6d-aada-af552506706e
-
- Nov 02, 2017
-
-
Jonathan Hanks authored
git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4543 6dcd42c9-f523-4c6d-aada-af552506706e
-
- Oct 31, 2017
-
-
Jonathan Hanks authored
The goal is to have a program that can be run instead of a FE model, that produces a known (and adjustable) rate of known data to provide an easy way to test the data flow in daqd. This code does not build yet. git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4542 6dcd42c9-f523-4c6d-aada-af552506706e
-
- Oct 27, 2017
-
-
Jonathan Hanks authored
With flex <= 2.5 yyin/yyout are pointers, with 2.6+ they are member objects of the generated lexer. Adapt the build system to detect which is in use, and the code to work with both variants in flex. Among other items allows daqd to build on both Debian 8 & 9. git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4538 6dcd42c9-f523-4c6d-aada-af552506706e
-
- Oct 26, 2017
-
-
Jonathan Hanks authored
git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4537 6dcd42c9-f523-4c6d-aada-af552506706e
-
- Oct 18, 2017
-
-
Rolf Bork authored
Updated heartbeat back to FE code to use reqAck instead of status, as previously done in mx_stream apps. git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4533 6dcd42c9-f523-4c6d-aada-af552506706e
-
- Oct 17, 2017
-
-
Rolf Bork authored
git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4532 6dcd42c9-f523-4c6d-aada-af552506706e
-