transmit "Lat, Long" on com port from parsed NMEA string in real-time

Started by terra-g, May 14, 2009, 11:22:14 AM

Previous topic - Next topic

terra-g

Hi,

I would like to parse the Lat and Long from an NMEA GGA string coming on COM 1 and then transmit it on COM 2.  Is this possible?  If so, what are the steps/modules I require?  Do I need to use the DDE or OPC Server?

Thanks,

Terry

Arthur Grasin

Hello Terry,

Yes, it is possible. You need

You need:

1. The Enterprise or trial version of the logger;
2. Create 2 different configurations (COM1, COM2);
3. For COM1 activate the "Redirect data" filter plug-in (http://www.aggsoft.com/serial-data-logger/plugins/dataredirect.htm). This plug-in can send data from a parser variable to a port of another configuration;
4. If you need to combine a string from NMEA values, then activate the "Expressions" plug-in, place it before the the "Data redirector" filter plug-in and make a corresponding expression.
If you like my work, please take a few seconds and add feedback about our site or our software [here]

terra-g

OK, that is helpful.  How do I parse the NMEA string to give ONLY:
"GGA_Latitude, GGA_Longitude"
In that format?

Thanks again!

Arthur Grasin

If you like my work, please take a few seconds and add feedback about our site or our software [here]

terra-g

yes, NMEA logger.  I can see the variable names but I don't know how to stream ONLY:
"GGA_LATITUDE, GGA_LONGITUDE"
to the output COM port.

I don't want any other data streamed.  It's because my program only wants position data streamed in that format; it doesn't recognice NMEA.

Arthur Grasin

If you like my work, please take a few seconds and add feedback about our site or our software [here]