ArcPad Scripting Object Model
Sentence Property
See Also  Send comments on this topic.
GPS Object : Sentence Property

Glossary Item Box


Returns the last NMEA sentence received from the GPS. Either the complete NMEA sentence or a particular data field can be requested.

Property type

Read-only property


variable = object.Sentence ( [FieldIndex] )

Return Type



FieldIndex is an optional argument that specifies the index of the data field to return. The default value is 0, which returns the entire NMEA sentence. For example, if the incoming NMEA string was $GPGGA,235213.998,3403.4660,N,11711.7838,W,0,00,50.0,365.9,M,,,,0000*2F, then GPS.Sentence(2) would return 235213.998 (the value of the second data field).

See Also

© 2012 All Rights Reserved.