beautypg.com

3 commands overview, Commands overview, Table 7-2: trax command set – PNI FieldForce Trax User Manual

Page 44

background image

PNI Sensor Corporation

DOC#1016505 r06

TRAX User Manual

Page 40

7.3 Commands Overview

Table 7-2 provides a summary of the basic commands available with the TRAX.

Table 7-2: TRAX Command Set

Frame ID

Command

Description

Dec

Hex

1

0x01

kGetModInfo

Queries the

device’s type and firmware revision.

2

0x02

kGetModInfoResp

Response to kGetModInfo

3

0x03

kSetDataComponents

Sets the data components to be output.

4

0x04

kGetData

Queries the TRAX for data

5

0x05

kGetDataResp

Response to kGetData

6

0x06

kSetConfig

Sets internal configurations in TRAX

7

0x07

kGetConfig

Queries TRAX for the current internal
configuration

8

0x08

kGetConfigResp

Response to kGetConfig

9

0x09

kSave

Saves the current internal configuration and any
new user calibration coefficients to non-volatile
memory.

10

0x0A

kStartCal

Commands the TRAX to start user calibration

11

0x0B

kStopCal

Commands the TRAX to stop user calibration

12

0x0C

kSetFIRFilters

Sets the FIR filter settings for the magnetometer &
accelerometer sensors.

13

0x0D

kGetFIRFilters

Queries for the FIR filter settings for the
magnetometer & accelerometer sensors.

14

0x0E

kGetFIRFiltersResp

Contains the FIR filter settings for the
magnetometer & accelerometer sensors.

15

0x0F

kPowerDown

Powers down the module

16

0x10

kSaveDone

Response to kSave

17

0x11

kUserCalSampleCount

Sent from the TRAX after taking a calibration
sample point

18

0x12

kUserCalScore

Contains the calibration score

19

0x13

kSetConfigDone

Response to kSetConfig

20

0x14

kSetFIRFiltersDone

Response to kSetFIRFilters

21

0x15

kStartContinuousMode

Commands the TRAX to output data at a fixed
interval

22

0x16

kStopContinuousMode

Stops data output when in Continuous Mode

23

0x17

kPowerUpDone

Confirms the TRAX has received a signal to power
up

24

0x18

kSetAcqParams

Sets the sensor acquisition parameters

25

0x19

kGetAcqParams

Queries for the sensor acquisition parameters

26

0x1A

kSetAcqParamsDone

Response to kSetAcqParams

27

0x1B

kGetAcqParamsResp

Response to kGetAcqParams

28

0x1C

kPowerDownDone

Response to kPowerDown

29

0x1D

kFactoryMagCoeff

Resets magnetometer calibration coefficients to
original factory-established values

30

0x1E

kFactoryMagCoeffDone

Response to kFactoryMagCoeff