DspExport overview

DspExport works as follows:

  • When it receives a socket connection request, it establishes a connection to the radar server computer (RVP10SRV) and initially allows multiple connections.

  • DspExport handles the INFO, SETUP, and OPEN commands.

  • When the OPEN command is sent, an exclusive connection for I/O to RVP10SRV is established.

    If a second OPEN request arrives while the first is still active, it fails, and returns the message Device allocated to another user.

The source code and examples for DspExport and the dsp library are provided with the RVP release software. DSP Files
Example File
DspExport ${IRIS_ROOT}/src/rda/dsp
dsp library ${IRIS_ROOT}/base/dsp_lib

In the library, the example codetalks to DspExport in the OpenSocket.c, dsp_read.c, and dsp_write.c files.

tip Search for the string SOCKET to see how the code differs between SCSI interface and socket interface.
  1. To check if DspExport is running, type:
    $ ps –aef | grep DspExport

    DspExport is usually configured to run all the time.

  2. You can start the application from the terminal window by typing: DspExport
  3. For detailed logging, start the daemon with the –v option
  4. The default port is 30740.

    To use another port, start it with an option such as –port:12345.

  5. To view the options, type –help.