Asynchronous Output - Simrad EY500 Instruction Manual

Portable scientific echo sounder
Table of Contents

Advertisement

Simrad EY 500
- B1 sample angle data
- W1 sample power data
- V1 sample S
v
- P1 sample TS data
The disk storage is basically the binary type of telegrams. The main changes
made moving from ASCII to binary telegram format are:
- Numeric quantities are represented by the appropriate binary type, and text
strings remain unchanged.
- Output telegrams do not include carriage returns or line feeds.
- All output telegrams start with a two character header and a time tag
separated by a comma just as the ASCII version of the telegrams.
- All telegrams have a four-byte length field in front giving the number of bytes
in the current telegram.
The telegrams are described in the next paragraphs using C programming
language structures. The size of the various C types are:
- char
8-bit integer
- short
16-bit integer
- long
32-bit integer
- float
32-bit floating point IEEE 754
Structure members of type array are defined with their maximum size. During
real data transfer their actual size depends on EY 500 parameter settings and
data statistics. Many computers can only access two-byte quantities at even
addresses and four-byte quantities at addresses dividable by four. A few
telegrams therefore include a dummy fill parameter in order to facilitate
communication with these computers. Note that binary quantities are
transmitted in Intel byte order (least significant byte first).

2.2 ASYNCHRONOUS OUTPUT

struct Text {
char Header[2];
char Separator1[1];
char Time[8];
char Separator2[1];
char Text[256];
};
12
data
/* parameter request */
/* "PR" */
/* "," */
/* hour, minute, second, hundredth */
/* "," */
/* parameter path and value */
P3404E/A

Advertisement

Table of Contents
loading

Table of Contents