beautypg.com

Ksetacqparamsdone (frame id 26 d), Kgetacqparams (frame id 25 d), Kgetacqparamsresp (frame id 27 d) – PNI FieldForce Trax User Manual

Page 52: 3 data components, Ksetdatacomponents (frame id 3d), Data components, Table 7-5: component identifiers, Ksetdatacomponents, Kgetacqparams, Ksetacqparamsdone

background image

PNI Sensor Corporation

DOC#1016505 r06

TRAX User Manual

Page 48

Note that the inverse of the SampleDelay is somewhat greater than the actual

sample rate, since the SampleDelay does not include actual acquisition time.

kSetAcqParamsDone (frame ID 26

d

)

This frame is the response to kSetAcqParams frame. The frame has no payload.

kGetAcqParams (frame ID 25

d

)

This frame queries the unit for acquisition parameters. The frame has no payload.

kGetAcqParamsResp (frame ID 27

d

)

This frame is the response to kGetAcqParams frame. The payload should contain the

same payload as the kSetAcqParams frame.

7.5.3

Data Components

kSetDataComponents (frame ID 3

d

)

This frame defines what data is output when kGetData is sent. Table 7-5 summarizes

the various data components and more detail follows this table. Note that this is not a

query for the device's model type and software revision (see kGetModInfo). The first

byte of the payload indicates the number of data components followed by the data

component IDs. Note that the sequence of the data components defined by

kSetDataComponents will match the output sequence of kGetDataResp.

Example: To query for heading and heading status, the payload should contain:

Table 7-5: Component Identifiers

Component

Component ID

Format

Units

Decimal

Hex

kHeading

5

0x05

Float32

degrees

kPitch

24

0x18

Float32

degrees

kRoll

25

0x19

Float32

degrees

kHeadingStatus

79

0x4F

UInt8

value

02

Heading ID

05

ID Count

Payload

18

Pitch ID

ID Count

UInt8

ID 1

UInt8

Payload

ID 2

ID 3

UInt8

UInt8

……….