Ksave (frame id 9, Kstartcal (frame id 10, On 7.3.10 – PNI SeaTRAX User Manual

Page 52: 9 ksave (frame id 9, 10 kstartcal (frame id 10

Advertising
background image

PNI Sensor Corporation

DOC#1018154 r02

SeaTRAX User Manual

Page 47

7.3.9

kSave (frame ID 9

d

)

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

coefficients to non-volatile memory. Internal configurations and user calibration

coefficients 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.

7.3.10 kStartCal (frame ID 10

d

)

Before proceeding with this section, ensure you are familiar with Section 5. Also, note

the following:

Multiple sets of calibration coefficients can be saved using kMagCoeffSet and

kAccelCoeffSet. These different coefficient sets can be used for storing coefficients

for varying conditions, such as when a door is open or closed, or when the

temperature varies, since the magnetic signature of the host system may change over

temperature.

Immediately after performing a successful calibration the new calibration coefficients

will be will be stored in volatile memory and immediately applied. Save this

coefficient set to non-volatile memory by sending kSave. If you do not want to use

this new coefficient set, either reboot the SeaTRAX (which will restore the prior

coefficients), switch to a different coefficient set, or reload the factory coefficients.

On powering up, the last saved calibration coefficients will be loaded.

This frame commands the module to start a user calibration. After sending this

command, the module ensures a PNI-established stability condition is met, takes the first

calibration point, and then responds with kUserCalSampCount. kUserCalSampCount

will continue to be sent after each sample is taken. Subsequent samples will be taken

when autosampling when the minimum change and stability conditions are met, or

manually after the kTakeUserCalSample is sent and the stability condition is met.) See

Section 5 for more information on the various calibration procedures.

Note: The payload needs to be 4 bytes. If no payload is entered, or if less than 4 bytes are
entered, the unit will default to the previous calibration method.

Cal Option

UInt32

Payload

Advertising