Writes a string and newline character to the GPS port. A NMEA checksum is automatically appended to the end of the string before sending (that is, a * followed by a 2 character hex value).
object.WriteSentence ( String )
- Optional. A String that specifies the text to write.
WriteSentence is useful when you need to write a NMEA string to the GPS port. The checksum is calculated automatically by ArcPad and appended to the output string. The return value contains the number of characters actually written to GPS port. It is the script's responsibility to handle situations where less data was written out to the GPS port than was sent via the WriteSentence method.