Query commands – PNI Legacy Comm Board User Manual
Page 15
PNI Corporation 133 Aviation Blvd., Suite 101, Santa Rosa, CA 95403-1084 USA;, Fax: (707) 566-2261
For the most current specifications, please visit our website at:
www.pnicorp.com
Page 15 of 42
QUERY COMMANDS
c? (Compass Update)
Retrieves the compass heading. Based upon the setting for the Data Output Forma (sdo)
command and the Compass Units (uc) command. Refer to “pollfreq” on page 21.
Note: For modules that do not have an onboard processor (for example, the MicroMag), the
CommBoard will calculate and output this data
Syntax:
c?
Response Format:
$c{hdg}*
Valid Values:
hdg = 0 to 359.99
if uc = d
hdg = 0 to 6399
if uc = m
error x (Error Code List)
Retrieves a description of the error code entered from the CommBoard. Refer to “Error Codes”
on page 11.
Syntax:
error x
error ffff
Response Format:
$error x: (description) *
Valid Values:
x
the error number following the “E” in the response string
ffff
lists all error codes
m? (Magnetometer Update)
Retrieves the corrected X, Y, and Z axis magnetometer data. Corrected data is that which isused
to calculate heading. The Z sensor output is not available on all modules. Refer to the specific
module data sheet for more information.
Note: For modules that do not have an onboard processor (for example, the MicroMag), the
CommBoard will calculate and output this data
Syntax:
m?
Response Format:
$Xn.nYn.NZn.n*
Valid Values:
xn.n
CommBoard
Query Commands