gpsNMEA (Functionblock) |
Top Previous Next |
This returns the NMEA strings that correspond to the last call to gpsFix. The following NMEA strings will be returned:
•RMC. •VTG. •GGA. •GSA.
The information returned by gpsNMEA must be considered invalid when the mode returned by gpsFix is equal to 1. In this case, the data should be discarded by the application. Also consult the relevant literature for more information about NMEA verbs interpretation.
Input: None.
Output: RMC : STRING String containing the RMC verb.
VTG : STRING String containing the VTG verb.
GGA : STRING String containing the GGA verb.
GSA : STRING String containing the GSA verb.
Declaration: FUNCTION_BLOCK gpsNMEA;
Example: INCLUDE rtcu.inc |