04-03-2019 03:12 PM
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 ?
04-03-2019
11:58 PM
- last edited on
12-02-2024
01:58 PM
by
Content Cleaner
04-04-2019 02:04 AM
+ 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.
04-07-2019 12:53 PM
Thank you for your response.
And I have one PPS module
04-07-2019 12:59 PM
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
04-07-2019 02:26 PM
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
04-08-2019 02:08 AM
@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.
04-08-2019 06:11 AM - edited 04-08-2019 06:14 AM
@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.