28530
143
Zoom out
Zoom in
Previous page
1/182
Next page
Data interfaces
135
850-164692 / Rev.B
Data encapsulation
A standard encapsulation scheme is used for all data files. Each
datagram is preceded by a 4 byte length tag stating the datagram
length in bytes. An identical length tag is appended at the end of
the datagram.
long Length;
struct DatagramHeader
{
long DatagramType;
struct {
long LowDateTime;
long HighDateTime;
} DateTime;
};
--
< datagram content >
--
long Length;
All datagrams use the same header. The datagram type field
identifies the type of datagram. ASCII quadruples are used to
ease human interpretation and long term maintenance; three
characters identify the datagram type and one character
identifies the version of the datagram. The DateTime structure
contains a 64-bit integer value stating the number of
100-nanosecond intervals since January 1, 1601. This is the
internal ”filetime” used by the Windows NT operating system.
The data part of the datagram contains any number of bytes, and
its content is highly datagram dependent.
Common computers fall into two categories: Intel based
computers write a multibyte number to file starting with the
LSB (Least Significant Byte). HP, Sun and Motorola do the
opposite. They write the MSB (Most Significant Byte) to file
first. The byte order of the length tags and all binary fields
within a datagram is always identical to the native byte order of
the computer that writes the data file. It is the responsibility of
the software that reads the file to perform byte swapping of all
multibyte numbers within a datagram if required. Byte
swapping is required whenever there is an apparent mismatch
between the head and the tail length tags. Hence, the two length
tags may be used to identify the byte order of the complete
datagram.
The Intel processors allow a multibyte number to be located at
any RAM address. However, this may be different on other
processors; a short (2 byte) must be located at an even address, a
long (4 byte) and a float (4 byte) must be located at addresses
dividable by four. Hence, the numeric fields within a datagram
is specified with this in mind.
143


Need help? Post your question in this forum.

Forumrules


Report abuse

Libble takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Product:

For example, Anti-Semitic content, racist content, or material that could result in a violent physical act.

For example, a credit card number, a personal identification number, or an unlisted home address. Note that email addresses and full names are not considered private information.

Forumrules

To achieve meaningful questions, we apply the following rules:

Register

Register getting emails for Simrad ER60 at:


You will receive an email to register for one or both of the options.


Get your user manual by e-mail

Enter your email address to receive the manual of Simrad ER60 in the language / languages: English as an attachment in your email.

The manual is 3,03 mb in size.

 

You will receive the manual in your email within minutes. If you have not received an email, then probably have entered the wrong email address or your mailbox is too full. In addition, it may be that your ISP may have a maximum size for emails to receive.

The manual is sent by email. Check your email

If you have not received an email with the manual within fifteen minutes, it may be that you have a entered a wrong email address or that your ISP has set a maximum size to receive email that is smaller than the size of the manual.

The email address you have provided is not correct.

Please check the email address and correct it.

Your question is posted on this page

Would you like to receive an email when new answers and questions are posted? Please enter your email address.



Info