Gill Instruments Ltd
APPENDIX E
RCOM Binary File Format
1. Binary File Header
Description
Number
of
bytes
Usual
data
type
Comments
file_type
1 unsigned
char
0=ASCII
tabular,
1=Binary
tabular,
2=ASCII micro-met 3=Binary micro-met
file_version
1 unsigned
char
Numeric
type
1
unsigned char
O=R3 or R3A, H = HS, S= Single axis
serial_number
4 unsigned
long
Numeric
average 1
unsigned
char
Numeric,
1
to
250.
wind_report_mode
1
unsigned
char
0=UVW
cal,
1=
UVW
uncal,
2=Polar cal, 3= Polar uncal, 4 = axis
string_format
1
unsigned char
0 = Binary, 1= ASCII pad, 2= ASCII unpad
ascii_terminator 1
unsigned
char
0
=
CR,
1=
CRLF
echo
1
unsigned
char
0
=
off,
1
=
on
message_mode 1
unsigned
char
0
=
continuous,
1
=
polled
confidence tone setting
1
unsigned char
0 = on, 1 = off, 2 = disabled
axis alignment setting
1
unsigned char
0 = axis, 1= spar
speed_of_sound_report_mode
1
unsigned char
0 = off, 1= speed,
2=sonictemp
K,
3=sonictemp
C
absolute_temperature_report_mode
1
unsigned char
0= off, 1 = K, 2 = °C
analogue_input_
1_on
1 unsigned
char
0
=
off,
1
=
on
analogue_input_
2_on
1 unsigned
char
“
analogue_input_
3_on
1 unsigned
char
“
analogue_input_
4_on
1 unsigned
char
“
analogue_input_
5_on
1 unsigned
char
“
analogue_input_
6_on
1 unsigned
char
“
analogue_output_scale
1
unsigned char
0=10m/s, 1= 20m/s, 2= 30m/s, 3= 60m/s
analogue_output_wrap 1
unsigned
char
0
=
360°,
1=
540°
file
create
time 4 unsigned
long
file
create
time
in
seconds
since
00:00:00
GMT,
January
1970
2. Binary Data
HS-50 Research Anemometer
Page 65
Issue 02
Doc. No. 1199-PS-0032
November 2004
Summary of Contents for HS-50
Page 2: ......