It is possible to use SNACS just for signal generation and the (optional) application of a channel model. Further processing of the tracking could be performed by other software defined receivers. This example shows the example of GPS signal generation, the application of the channel impulse response (CIR) file which was generated in Example 04 and the subsequent output to a binary data file.
You can start it by running
cd snacs/trunk/release ./SNACS-release -f ../../examples/example_08/example_08_gps.cfg
This is a screenshot of the running simulation:
The signal can easily be read into a MATLAB variable using the fread command:
signal = fread(fileID, samples, data_type);
Of course, the parameters have to correspond to the SNACS configuration file.
You can use the MATLAB script read_binary_file_example08.m to plot the results:
This is the complete MATLAB script:
It is also possible to process the file with the software defined receiver (SDR) by K. Borre, D. Akos et al. The SDR ships with the book "A Software-Defined GPS and Galileo Receiver: A Single-Frequency Approach" (http://www.amazon.com/Software-Defined-GPS-Galileo-Receiver-Single-Frequency/dp/0817643907/ref=sr_1_1?ie=UTF8&s=books&qid=1269958375&sr=8-1)
For this SDR, you have to set the right parameters in the file GNSS_SDR/initSettings.m:
[...] settings.fileName = ... 'snacs/examples/example_08/snacs_gps_and_channel_output.bin'; % Data type used to store one sample settings.dataType = 'schar'; % Intermediate, sampling and code frequencies settings.IF = 15e6; %[Hz] settings.samplingFreq = 40e6; %[Hz] [...]
This is the complete SNACS configuration file: