beautypg.com

Other information, .esb format, Block structure – Dataman 520 Series User Manual

Page 90

background image


DATAMAN oscilloscope

User’s Guide

8. Other information

8.1. .esb format

The data in the .esb format is saved in binary form without compression. The file
consists of the information block. The format of the block depends on its type. The
following eight types are defined:

integer

(integer)

floating-point

(double)

integer array (intarray)

boolean array (boolarray)

floating-point array (doublearray)

fixed-length integer array (fintarray)

boolean

(boolean)

acquired data (acqdata)

8.1.1. Block structure

Each block starts with 8 bytes which determine the block length in bytes (32 bit value
written in the first 4 bytes) and information about the block contents (32 bit value
written in the last 4 bytes). In case the block contains the information which the
application doesn’t need the application can skip this block (by using the known block
length).

Block structure is follows:

Integer

4 bytes

4 bytes

4 bytes

block length (12)

information code

value


Double

4 bytes

4 bytes

8 bytes

block length (16)

information code

floating-point value (double)


IntArray

4 bytes

4 bytes

4 bytes

4 bytes

4*n bytes

block

length

information

code

array

length (n)

array length

2 (n)

array

contents


Array length and array length 2 must be the same. In case they are not, the file is
corrupted.

BoolArray

- 90 -

This manual is related to the following products: