Communication protocol
9-3
9.4 HP-01
COMMANDs
Following are Commands to control and set various operating modes of the HP-01
Magnetometer, that can be distinguished in two main categories:
•
Query Commands: ?
•
Setting Commands: S
The commands have this format:
#H1Qcommand(parameters)*
where:
#
= command string start
H1
= header string always present (model identifier)
Q
=
?
for query commands
S
for setting commands
Command
= command string
(parameters)
= setting parameters value (where present)
*
= command string end
All commands, except for
#H1?SPC*
, produce a reply which contains the
command itself.
Example:
#H1?SPA*
Reply:
SPA=0
.
In the case of an unrecognized command (available commands are
?
and
S
),
HP-01 replies with
Command
ERROR.
Example
:
#H1&SPA*
Reply:
Command ERROR
In the case of a wrong command field, HP-01 replies with the received command
followed by
ERROR
string
.
Example
:
#H1?SIPA*
Reply:
SIPA ERROR.
Query COMMANDs
Syntax
Function
#H1?BAT*
Battery voltage.
#H1?DCE*
Filter output 3dB@1Hz
#H1?FLD <f>*
3-axis field value at <f>Hz (Verbose).
#H1?FLP<a> <fs>,<fe>*
Wide band field (channel power) over [<fs>,<fe>]Hz span on axis <a>.
#H1?FLS<a> <f>*
Field value at <f>Hz on axis <a>.
#H1?FLW<a> <fs>,<fe>*
Wide band field over [<fs>,<fe>]Hz span on axis <a>.
#H1?GDC <a>*
DC field on axis <a>.
#H1?IDN*
Instrument identifier and firmware version.
#H1?MAX<a>*
Peak's amplitude and frequency on axis <a>.
#H1?RDF*
Data and Spectrum availability (query-specific).
#H1?RDY*
Data and Spectrum query command (global).
#H1?RNG*
Current sensor range (Automatic, Low or High).
#H1?SPA*
Current span id (0,1,2, or 3).
#H1?SPC*
Binary spectrum data.
#H1?TMP*
Temperature and humidity.
Setting COMMANDs
Syntax
Function
#H1SDCE*
Enable DCE mode (0,1, or 2)
#H1SSPA*
Current span id (0,1,2, or 3).
#H1SRNG*
Current sensor range (Automatic, Low or High).
#H1SZESI*
Initiate sensor zeroing
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 ...