In order to get access to new DQ channels from the NDS2 server, the NDS2 server needs to be told about the new channels and restarted. The procedure is as follows:
ssh mafalda
cd /users/jzweizig/nds2-mafalda
./build_channel_history
./install_channel_list
pkill nds2
# wait a few seconds for the process to quit and release the server port
./start_nds2
This procedure needs to be run every time new _DQ channels are added.
We need to set this up as a proper service, so the restart procedure is more elegant.
An additional comment from John Z.:
The --end-gps parameter in ./build_channel_history seems to be causeing
some trouble. It should work without this parameter, but there is a
directory with a gps time of 1297900000 (evidently a test for GPS1G)
that might screw up the channel list generation. So, it appears that
the end time requires a time for which data already exists. this
wouldn't seem to be a big deal, but it means that it has to be modified
by hand before running. I haven't fixed this yet, but I think that I
can probably pick out the most recent frame and use that as an end-time
point. I'll see if I can make that work... |