Pamtc,comp,go – Airmar LB150 User Manual
Page 45

LB150 WeatherStation Technical Manual revision 0.013
Proprietary and Confidential
PRELIMINARY - DRAFT
42
$PAMTC,COMP,GO
Summary
Initiate a user calibration sequence for the internal compass sensor.
Syntax
$PAMTC,COMP,GO*hh
The user calibration sequence for the LB150 is as follows:
1.
The weather station is installed on the vehicle. The unit under test is powered
up.
2.
The $PAMTC,COMP,GO*hh
station’s NMEA 0183 input channel to initiate user calibration mode.
3.
During the user calibration process, the vehicle is rotated slowly (driven in a
circle) and the sensor calculates the resulting coefficients. Once the weather
station has determined that enough data has been collected for the purpose of
calculating the coefficients, it transmits the following sentence:
$PAMTR,COMP,XXXX,
<1>,<2>,<3>,<4>,<5>,<6>,<7>,<8>,<9>*hh
. Where
XXXX is “PASS” or “FAIL”.
4.
If PASS was transmitted, then the offsets that are now in use and saved in
EEPROM are the newly calculated ones.
Reply
The weather station will reply immediately with:
$PAMTR,COMP,INPROCESS,
<1>,<2>,<3>,<4>,<5>,<6>,<7>,<8>,<9>*hh
Where fields <1> through <9> contain the data from the weather station’s
nonvolatile EEPROM, as defined in the “Q”, Query Command.
Upon successful completion the weather station will reply with:
$PAMTR,COMP,PASS,
<1>,<2>,<3>,<4>,<5>,<6>,<7>,<8>,<9>*hh
Or, upon failure it will reply with:
$PAMTR,COMP,FAILx,
<1>,<2>,<3>,<4>,<5>,<6>,<7>,<8>,<9>*hh
Where x indicates the type of failure, 1 = Timeout, 2 = Tilt Error, or 3 = Other
Error.