ComNav Vector G2 & G2B Installation & Operation Appendices
Document PN 29010078 V2.0 - 81 -
DRAFT #3 – 29 May 2009
Some sample script files we use when working with the G2 at ComNav are shown below.
Please feel free to use them in your own work with the G2!
For a description of the individual commands here, see Table 8 thru Table 13, and the GPS
Technical Ref
erence.
⇒ Tip: when using the various “status” scripts below, it’s often easiest if you first temporarily
disable all the G2’s currently updating Navigation data sentences, using the All Off or
Port A Off scripts. That way, you can “see” the status responses, and inspect them
carefully.
Note: if you do use either of the “Off” scripts, then none of the output
sentences enabled in the G2’s current power-on configuration
settings for Port A will show up, in the Query All response, since
those sentences are – at the time of the query – disabled. However,
unless you send a $JSAVE command to the G2 before you do a
power-off/on cycle, all those “current” sentences will re-start, after
power-on. Keep in mind that there is no way to determine the G2’s
saved configuration, except by observing what it does on power-up!
1) All Off.txt – shuts off all output sentences, on both ports:
$JOFF
$JOFF,OTHER
$PCSI,1,0
$PCSI,2,0
2) Port A Off.txt – shuts off all output sentences, on Port A:
$JOFF
$PCSI,1,0
$PCSI,2,0
3) Query All.txt – lists the G2’s important configuration & status parameters:
Note: in this & some other example scripts, there are two versions given,
depending on which generation of the G2 is being used (see
Appendix 3).
2
nd
& 3
rd
Generation 1
st
Generation
$JT
$JI
$JAPP
$JQUERY,GUIDE
$JSHOW
$JGEO,ALL
$JWAASPRN
$JATT,COGAID
$JATT,GYROAID
$JATT,TILTAID
$JATT,COGTAU
$JATT,HTAU
$JATT,HRTAU
$JATT,PTAU
$JATT,SPDTAU
$JATT,HBIAS
$JATT,PBIAS
$JATT,CSEP
$JATT,MSEP
$JATT,LEVEL
$JATT,NEGTILT
$JATT,ROLL
$JATT,HDMTRUE
$JATT,NMEAHE
$JT
$JI
$JAPP
$JQUERY,GUIDE
$JSHOW
$JGEO,ALL
$JWAASPRN
$JATT,GYROAID
$JATT,MAGAID
$JATT,TILTAID
$JATT,COGTAU
$JATT,HTAU
$JATT,HRTAU
$JATT,PTAU
$JATT,SPDTAU
$JATT,HBIAS
$JATT,PBIAS
$JATT,CSEP
$JATT,MSEP
$JATT,LEVEL
$JATT,NEGTILT
$JATT,ROLL
www.busse-yachtshop.de | info@busse-yachtshop.de