LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

gps

Hiii,

in my project i would place GPS timestamps.But i don't know how to get GPS in my labview programing 

could you please tell me ?

0 Kudos
Message 1 of 8
(4,043 Views)

Using LabVIEW to Acquire GPS Data 

Certified LabVIEW Developer
There are only two ways to tell somebody thanks: Kudos and Marked Solutions

GCentral
0 Kudos
Message 2 of 8
(4,014 Views)

+ By a GPS that talks NMEA183C (which is standard, and if it doesn't talk NMEA183C it will be mostly useless).

+ Look for a good NMEA183C driver or make one (it's not that hard).

+ Wire the GPS to the computer.

+ See if it works...

+ Don't learn to program LabVIEW like they do in that link...

 

The NMEA183C protocol is pretty simple. Just linefeeds, '$' and then some header string with data. It's a good step-in protocol to get familiar with driver development.

0 Kudos
Message 3 of 8
(4,009 Views)

Thank you for your response.

And I have one PPS module 

0 Kudos
Message 4 of 8
(3,975 Views)

Thank you for your response.

I have PPS module GY-NEO6MU2 which can be used as a GPS module? and how to interface this module to the DAQ assistant?

Could you please tell me

0 Kudos
Message 5 of 8
(3,972 Views)

In a Forum devoted to a Programming Language or paradigm (e.g. "LabVIEW"), a picture is about the least helpful thing to post.  Code (meaning your VI) is good, a clear description of what the code should do is good, expected inputs and outputs are good (and are possibly the only exception to "no pictures", but only if you are doing Image Processing!).

 

Bob Schor

0 Kudos
Message 6 of 8
(3,960 Views)

@Nagendra.P wrote:

Thank you for your response.

I have PPS module GY-NEO6MU2 which can be used as a GPS module? and how to interface this module to the DAQ assistant.


Can this GPS module be used as a GPS module? Yes, that is it's reason for existing.

 

Glancing over the specification, it has a UART (serial) interface, SPI or USB... So it would be a matter of getting a SPI adaptor or finding out how to wire it. NMEA is mentioned...

 

The 1 PPS is just icing on the cake. Not all GPS modules have that. If it does, you can use it. Note that the 1 PPS typically happens 200 ms before the NMEA reports a new time.

0 Kudos
Message 7 of 8
(3,950 Views)

@Nagendra.P wrote:

Thank you for your response.

I have PPS module GY-NEO6MU2 which can be used as a GPS module? and how to interface this module to the DAQ assistant?


The DAQ Assistant has absolutely nothing to do with this module. The chip on it has a serial interface that can be configured as either a 3.3V logic UART, SPI, I2C or USB interface. Which one your module uses is not entirely clear but from the connector on the upper edge I would guess it is a 3.3V UART. So you would need a serial interface for  your computer that supports a 3.3V logic interface. There are USB to seria port converters like that which connect to your computer as a virtual serial port and provide on the other side a low voltage logic interface with 3.3V. The normal USB serial adapters provide a fully RS-232 compatible interface with 9 to 12V logic levels that surely would damage your board.

 

Once you have such an interface you use NI VISA functions to communicate with the module which uses the NMEA protocol. This is a fairly simple ASCII text protocol where a number of information including the coordinates and timestamp are transmitted as a comma separated string.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 8 of 8
(3,938 Views)