3.3.3 RVP10 socket interface
RVP10SRV is configured to listen on a network port. It is ready to interface to a host computer
through the network using the
DspExport
program. When the IRIS Radar software is
installed on the same RVP10SRV computer, it is pre-configured to communicate with
RVP10SRV processes through the native interface, bypassing the socket interface.
RVP10SRV includes built-in utilities such as
Setup
,
dspx
, and
Ascope
. See
IRIS and RDA
Utilities Guide (M211316EN)
.
Because RVP10SRV can only have one program controlling it at a time, using a local program
such as
dspx
blocks network access.
3.3.4 RVP10SRV socket protocol
The socket interface supports the commands in appendix
RVP10 programming interface
.
All messages going both ways consist at the lowest level of an 8-character decimal ASCII
number, followed by a block of data. The decimal number indicates how many bytes follow.
Generally, all data transfers are initiated by the host computer by sending a block of data,
consisting of a command word followed by the
|
character, followed by optional data.
It responds to all commands with either an
Ack|
, indicating acknowledgment that the
command was
OK
, or
Nak|
, indicating that there was an error. For
Nak|
, the reply always
includes a string indicating what the error was. For Ack, there is optional data following.
On initial socket connection request
DspExport
provides a response of either
Nak|
,
indicating the connection failed and why, or
Ack|
, followed by some connection information.
The
Ack|
string is in the form of name/value pairs, for example:
Ack|CanCompress=1,Model=RVP10,Version=10.0
Your program can evaluate, or ignore, these keywords.
CanCompress=1
indicates that the
DspExport
computer supports compression. The host computer can then choose to use
compression. When you first connect, you are in the "info only" mode. This means that the
server only responds to
INFO
and
OPEN
commands.
DspExport
supports the following commands:
• Read command (
READ
)
• Write command (
WRIT
)
• Read Status command (
STAT
)
• Set Information command (
INFO
)
• Read data available command (
RDAV
)
• Open the connection for I/O (
OPEN
)
RVP10 Hardware Quick Guide
M212758EN-A
16
RESTRICTED
Содержание RVP10
Страница 1: ...M212758EN A RESTRICTED Hardware Quick Guide Digital Receiver and Signal Processor RVP10...
Страница 4: ...RVP10 Hardware Quick Guide M212758EN A 4 RESTRICTED...
Страница 32: ......
Страница 33: ......
Страница 34: ...www vaisala com...