Ksetdatacomponents (frame id 3, Table 7-3: component identifiers, 3 ksetdatacomponents (frame id 3 – PNI SeaTRAX User Manual

Page 45

Advertising
background image

PNI Sensor Corporation

DOC#1018154 r02

SeaTRAX User Manual

Page 40

decoded to read “TCTA s901”, where “TCTA” indicates the device is the SeaTRAX,
and “s901” indicates the firmware revision.

7.3.3

kSetDataComponents (frame ID 3

d

)

This frame defines what data is output when kGetData is sent. Table 7-3 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 pitch, the payload should contain:

When querying for data (kGetData frame), the sequence of the data component output

follows the sequence of the data component IDs as set in this frame.

Table 7-3: Component Identifiers

Component

Component

ID

d

Format

Units

kHeading

5

Float32

degrees

kPitch

24

Float32

degrees

kRoll

25

Float32

degrees

kTemperature

7

Float32

˚ Celsius

kDistortion

8

Boolean

True or False

(Default)

kCalStatus

9

Boolean

True or False

(Default)

kAccelX

21

Float32

G

kAccelY

22

Float32

G

kAccelZ

23

Float32

G

kMagX

27

Float32

T

kMagY

28

Float32

T

kMagZ

29

Float32

T

2

Heading ID

5

ID Count

Payload

79

Pitch ID

ID Count

UInt8

ID 1

UInt8

Payload

ID 2

ID 3

UInt8

UInt8

……….

Advertising