The sampling is normally triggered by the transmitter rf pulse (from the sps). BurstCount samples are acquired and shipped to the cpu. This value is user programmable. It needs to be a multiple of 4096 bytes. A linux driver runs a dma chain that tells the echotek where to put the data. There are two buffers that the driver loads. The data taking software grabs a completed buffer from the kernel. It selects a portion of the input data and moves it to one of two output buffers. A tx section, height section, and noise section are selected. This selection is needed so the i/o rate to disc is manageable. The number of output buffers is currently set at two (but it can be increased). A separate thread takes the full output buffers and writes them to disc. The data files contain an ascii primary header followed by a set of records (or tables). Each record contains an ascii header followed by a number of ipps of data. This is typically 100 ipps. At 10 millisecs per ipp each record holds 1 second worth of data. Files are filled with an integral number of records until the 2 Gb limit. New files are created automatically. Data should be continuous across files.
see: 11aug05: out of order records in the 11aug05 test data.More test data was taken on 07sep05. This data did not show any of the jumps seen in the 11aug05 data.
see: 07sep05: test data shows no out of order records.The differences in the echotek card configuration for the two data sets was:
logfile are not being written?, ntpd not running system clock is 5 seconds fast. /etc/cron.daily is running slocate every morning at 3:01.
svn repos: /home/svn/radarSVN |
svn list
file:///home/svn/radarSVN/trunk
.files INSTALL bin/ build-dist configure icons/ lib/ radarTk/ src/ test/ |
working area /usr/local/radarTk |
cd /usr/local/radarTk svn info Path: . URL: file:///home/svn/radarSVN/branches Repository Root: file:///home/svn/radarSVN Repository UUID: 7d53ecaf-a2f4-0310-94ec-ef7151cc01ef Revision: 136 Node Kind: directory Schedule: normal Last Changed Author: rseal Last Changed Rev: 136 Last Changed Date: 2006-12-20 17:41:53 -0400 (Wed, 20 Dec 2006) Note: this was checked out of branches, not from the trunk. |
Occasionally the echotek code writes all buffers to disc rather than just the clp buffers.
The code to figure this is: