ArcPad Scripting Object Model
WriteSentence Method
See Also  Send comments on this topic.
String
Required. A String that specifies the text to write.
AUX Object : WriteSentence Method

Glossary Item Box

Description

Writes a string and newline character to the AUX 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).

Syntax

object.WriteSentence ( String )

Parameters

String
Required. A String that specifies the text to write.

Return Type

Long

Remarks

WriteSentence is useful when you need to write a NMEA string to the AUX 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 AUX port. It is the script's responsibility to handle situations where less data was written out to the AUX port than was sent via the WriteSentence method.

See Also

© 2013 All Rights Reserved.