beautypg.com

Kgetmagtruthmethod (frame id 120d, 0x78), Kgetmagtruthmethodresp (frame id 121d, 0x79), 3 saving settings – PNI FieldForce Trax User Manual

Page 50: Ksave (frame id 9d, 0x09), Ksavedone (frame id 16 d, 0x10), 5 measurement commands, 1 setting the reference magnetic field criteria, Saving settings, Measurement commands, Setting the reference magnetic field criteria

background image

PNI Sensor Corporation

DOC#1016505 r06

TRAX User Manual

Page 46

kGetMagTruthMethod (frame ID 120

d

, 0X78)

This frame queries the setting of the Mag Truth Method. It has no payload.

kGetMagTruthMethodResp (frame ID 121

d

, 0X79)

This frame is the response of kGetMagTruthMethod and the payload is the same as

for kSetMagTruthMethod.

7.4.3

Saving Settings

kSave (frame ID 9

d

, 0X09)

This frame commands the TRAX to save internal configurations and user calibration

to non-volatile memory. Internal configurations and user calibration are restored on

power up. The frame has no payload. This is the ONLY command that causes the

device to save information to non-volatile memory.

kSaveDone (frame ID 16

d

, 0X10)

This frame is the response to kSave frame. The payload contains a UInt16 error code:

0 indicates no error; 1 indicates an error when attempting to save data to memory.

7.5 Measurement Commands

7.5.1

Setting the Reference Magnetic Field Criteria

Prior to operating the TRAX in AHRS mode it is necessary to establish the criteria for a

known distortion-free local field. This should be done with the TRAX installed in the

host system, as the distortion presented by the host system is constant and will be

compensated for by the TRAX algorithms.

Error Code

UInt16

Payload

MagTruthMethod

UInt8

Payload

MagTruthMethod Payload Value:
“1”: Standard
“2”: Tight
“3”: AutoMerge