View Single Post
  #6   Report Post  
Who Me?
 
Posts: n/a
Default

Wout B wrote:

I checked out your website, but didn't see any instructions regarding
the "simple script" you mention. Can I assume that this kind of
information would come with the unit if I order one? I am thinking of
the one with USB connection as well.



Who(ever),
It is there, under "Click here for more information" where the
filtering/editing function is described. Here is the link anyway:
http://brookhouseonline.com/pdf%20fi...%20Editing.pdf


Thanks for the link - my mistake :-)


Following is the script that "converts" the RMC sentence from the GPS into a
VHW sentence:

*S,2,GPRMC,VWVHW
*D,2,GPRMC,1
*D,2,GPRMC,2
*D,2,GPRMC,3
*D,2,GPRMC,4
*R,2,GPRMC,5
*R,2,GPRMC,6
*I,2,GPRMC,8,N
*D,2,GPRMC,8
*D,2,GPRMC,9
*R,2,GPRMC,10
*R,2,GPRMC,11
*E

You (and anyone else interested) can copy and paste it into Notebook, save
it and upload the .txt file to the multiplexer, after you got one :-)


Thank you, order placed via Paypal :-) I think we get airmail delivered
to Australia, but maybe the planes only arrive once per week . . .


Here is the result:
Original GPS sentence:

$GPRMC,145306.79,A,0214.64149,S,13726.27309,E,5.0, 315.0,080405,5.0,W*55

Becomes (produced by mux):

$VWVHW,,,,,5.0,N,,*2D

So 5.0 knots speed over the ground has become 5.0 knots speed through the
water.
With this, who wants (an always fouling) speed instrument anymore?


Very nice.


Now, if you also want to send the mux output to a laptop, AP or repeater
instrument, of course you don't want to lose the original RMC sentence. The
above script converts the RMC received via channel 2. If you connect your
GPS to e.g. channel 1 and 2, the RMC on channel 1 remains unaltered. Use the
*W directive in the script to suppress any double sentences.


Very clever, thanks.


I hope this helps.


I'm sure it will.

Thanks again,

Who.