12-16-2008 10:42 PM
Hola a todos, tengo el siguiente problema:
Tengo un GPS que es parte del stack de una PC-104 y no dispone de un puerto de comunicaciones COM, pero si dipsone de una direccion de Registro, entonces usando la funcion In Port del Labview he podido capturar la trama en HEX, pero lo que necesito es presentar esta informacion en el formato NMEA como este:
$GPGGA,123519,4807.038,N,01131.000,E,1,08,0.9,545.4,M,46.9,M,,*47 y sus demas sentencias
He adjuntado una simalacion que recrea como el registro va entregando los datos, en esta simulacion el dato del registro leido que esta en HEX a sido convertido a String. Alguien me podria decir como puedo hacer para obtener una presentacion en formato NMEA?
12-16-2008 10:57 PM
12-17-2008 07:27 AM
Hi,
I have the following problem: I have a GPS that is part of a stack of PC-104 and it does not have a port COM communications , but it have an Data Register, then using the function In Port of LabVIEW I have been able to read the data in HEX, but I need to present this Data in NMEA format like this:
$ GPGGA, 123519,4807.038, N, 01131.000, E, 1,08,0.9,545.4, M, 46.9, M,, * 47 and its other formats
I have attached a simalacion that recreates the how the Dara Register deliver the data, in this simulation the data read in HEX has been converted to a String. Someone I could say as I do for a presentation in NMEA format?
12-17-2008 11:40 AM
12-17-2008 01:54 PM - edited 12-17-2008 01:56 PM
Hi WSalas,
Using the same idea of Wiebe, I did little changes in your code and I found some NMEA information and some corrupted data as Wiebe found.
I replaced "$" and "Ú" by Line feed and Carriage Return, to highlight the NMEA Information. See attached the VI, I hope it may help you.
Regards,