AGG Software Forums
September 19, 2024, 08:05:29 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome on our forum!
 
   Home   Help Search Login Register  

Pages: [1]
  Print  
Author Topic: transmit "Lat, Long" on com port from parsed NMEA string in real-time  (Read 25063 times)
terra-g
Newbie
*

Karma: +0/-0
Posts: 3


View Profile
« on: May 14, 2009, 02:22:14 PM »

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
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
*****

Karma: +0/-0
Posts: 806



View Profile WWW
« Reply #1 on: May 14, 2009, 02:47:22 PM »

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.
Logged
terra-g
Newbie
*

Karma: +0/-0
Posts: 3


View Profile
« Reply #2 on: May 14, 2009, 03:22:57 PM »

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

Thanks again!
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
*****

Karma: +0/-0
Posts: 806



View Profile WWW
« Reply #3 on: May 14, 2009, 05:22:44 PM »

What our logger do you use? NMEA logger?
Logged
terra-g
Newbie
*

Karma: +0/-0
Posts: 3


View Profile
« Reply #4 on: May 14, 2009, 05:52:03 PM »

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.
« Last Edit: May 14, 2009, 05:55:36 PM by terra-g » Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
*****

Karma: +0/-0
Posts: 806



View Profile WWW
« Reply #5 on: May 14, 2009, 06:10:47 PM »

Please, look for attached images. I've verified it.


* s1.jpg (46.2 KB, 441x405 - viewed 12 times.)

* s2.JPG (44.99 KB, 467x456 - viewed 12 times.)

* s3.JPG (22.79 KB, 468x300 - viewed 15 times.)

* s4.JPG (22.06 KB, 348x223 - viewed 13 times.)
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines