Communication protocol
9-9
?RDF
Flag availability query command. The
reply
is
in
the
format:
RDF=0+0x1
(x_rdy)
+0x2
(y_rdy)
+0x4
(z_rd
y)
+0x08
(spectr_rdy)
First 3 least-significant bits refer to new
data availability (new data since last
FLD
or
FLS
or
FLW
or
GDC
queries are
available). 4th least-significant bit refers to
new spectrum availability (new spectrum
since last
SPC
query are available).
Queries about total field (e.g.
FLST
or
FLD
) reset all first 3 least-significant bits.
Example:
#H1?RDF*
Reply
: RDF=8
Spectrum ready (0b1000)
Example:
#H1?RDF*
Reply
: RDF=4
z-data ready (0b0100)
Example:
#H1?RDF*
Reply
: RDF=15
x, y, z -data and spectrum ready
(0b1111)
?RDY
Spectrum and Data availability query
command. The reply is in the format:
RDY=x
where:
Y:
new spectrum and data are both
available
N:
no spectrum and no data are available
(since last
SPC, FLD, FLW, FLS, or GDC
queries)
Example:
#H1?RDY*
Reply
: RDY=Y
?RNG
Sensor range query command.
The reply is in the format:
RNG=x
Where
x
reports on the span
A
: Automatic range
H
: High range
L
: Low range
Example:
#H1?RNG*
Reply:
RNG=L
?SPA
Span mode query command.
The reply is in the format:
SPA=x
where:
x
is an index to indicate the span
0
: 1000Hz span, 3Hz resolution
1
: 100Hz span, 1Hz resolution
2
: 30Hz span, 0.3Hz resolution
3
: 20Hz span, 0.2Hz resolution
Example:
#H1?SPA*
Reply:
SPA=0
?SPC
Spectrum query command. The reply is
the structure containing the spectrum info.
See Spectrum Structure Paragraph.
Example:
#H1?SPC*
?TMP
Temperature
and
humidity
query
command. The reply is in the format:
TMP=t;h
where:
t
is the temperature in °C
h
is the humidity in %
Example:
#H1?TMP*
Reply:
TMP=29.49;45.1
Summary of Contents for HP-01
Page 14: ...1 6 General Information This page has been intentionally left blank ...
Page 21: ...HP01 TS software 3 3 Fig 3 4 Installation folder Fig 3 5 Ready to install ...
Page 38: ...4 16 Description This page has been intentionally left blank ...
Page 42: ...5 4 Firmware Update This page has been intentionally left blank ...
Page 50: ...8 4 Accessories This page has been intentionally left blank ...
Page 64: ...9 14 Communication protocol This page has been intentionally left blank ...
Page 66: ...Suggerimenti Commenti Note Suggestions Comments Note ...