beautypg.com

4 set-up commands, 1 module information, Kgetmodinfo (frame id 1d, 0x01) – PNI FieldForce Trax User Manual

Page 45: Kgetmodinforesp (frame id 2d, 0x02), 2 module configuration, Ksetconfig (frame id 6d, 0x06), Set-up commands, Module information, Module configuration, Kgetmodinfo

background image

PNI Sensor Corporation

DOC#1016505 r06

TRAX User Manual

Page 41

31

0x1F

kTakeUserCalSample

Commands the TRAX to take a sample during
user calibration

36

0x24

kFactoryIAccelCoeff

Resets accelerometer calibration coefficients to
original factory-established values

37

0x25

kFactoryAccelCoeffDone

Respond to kFactoryAccelCoeff

79

0x4F

kSetFunctionalMode

Puts TRAX in Compass Mode or AHRS Mode

80

0x50

kGetFunctionalMode

Queries for Compass Mode or AHRS Mode

81

0x51

kGetFunctionalModeResp

Response to kGetFunctionalMode

110

0x6E

kSetResetRef

Establishes criteria for the reference magnetic
field.

119

0x77

kSetMagTruthMethod

Sets if dip angle & radius establish mag truth
(standard) or additional criteria (tight).

120

0x78

kGetMagTruthMethod

Queries for standard or tight truth method.

121

0x79

kGetMagTruthMethodResp

Response to kGetMagTruthMethod

7.4 Set-Up Commands

7.4.1

Module Information

kGetModInfo (frame ID 1

d

, 0X01)

This frame queries the device's type and firmware revision number. The frame has no

payload.

kGetModInfoResp (frame ID 2

d

, 0X02)

The response to kGetModInfo is given below. The payload contains the device type

identifier followed by the firmware revision number.

Note that the Type and Revision can be decoded from the binary format to character
format using the ASCII standard. For example, the hex string “00 0D 02 54 52 41 58
31 32 30 38 C7 87” can be decoded to read “TRAX 1208”. A Hex-to-ASCII
converter can be found at:

http://www.dolcevie.com/js/converter.html

7.4.2

Module Configuration

kSetConfig (frame ID 6

d

, 0X06)

This frame sets internal configurations in the TRAX. The first byte of the payload is

the configuration ID followed by a format-specific value. These configurations can

Type

UInt32

Revision

UInt32

Payload