This example describes the acquiring collection and processing of data from the GPS receiver based on the NMEA 0183 protocol. The code can be used both on PC and CompactRIO. Works well with GPS receivers with or without built-in memory. Has a built-in odometer based on the own algorithm.
- Reliable location calculation and high stability in poor coverage or low signal conditions;
- Fast recovery and fault tolerance in cases of lost communication with the satellites;
- Fault tolerance from temporary failures of connection or desync with the receiver;
- Algorithm for recognizing and decoding all main set of strings of NMEA protocol;
- High speed GPS reciever support (5 Hz);
- Built-in odometer;
1. Download and unzip file.
2. Open GPS.vi
3. In the tab 'Main' set serial port of GPS and baudrate (specified in the documentation of GPS receiver).
4. Run vi.
5. In the tab 'Monitor' you can see all information from GPS.
6. Press 'Reset odometr' for clear counter of kilometres.
If you want to parse others NMEA strings (for example $GPGSV), you must open "GPS NMEA Main Processor (SubVI).vi" and add it in case.
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
can i use this program to interface with compact RIO 9022?...and compact RIO 9022 will integrate with GPS by using serial port, but to interface the labview with compact RIO, can i use bluetooth?
Yes, of course. You can use integrate serial port CompactRIO for connecting GPS receiver. On my system it works well.
i try used the GPS garmin via bluetooth..but not run in the moment..is it can use the bluetooth?..
https://buy.garmin.com/shop/shop.do?pID=423&ra=true(this garmin)
Make a pairing. In the system of your unit will operate as a com port.
can help me to give the link of free download of real time modul(labview 2011)..
Hello,
I am making a project master and i have to develop a system which is able to take aerial pictures (under a ULM airplane) gyrostabilized.
Is it possible to know what model of GPS module you used in your work and is it possible to use an another GPS module like the Fastrax UP501GPS?
Is it possible to work only with PC and GPS module, I don't have compactRIO?
Best regards
This code was tested on Garmin GPS18x-5HZ and other NMEA-compatible recievers .
Thank you but if i buy Fastrax UP501 GPS how can i connect it to my computer with LABVIEW?
do i need compactRIO?
You can use Fastrax UP501 GPS on PC without compactrio. You will need RS232 port on PC or converter USB-RS232 only. Goodluck!
Hello do you think GPS module Fastrax UP501 is good for my project ?
Do you know a website where i can buy the complete GPS module with RS232 connexion?
i have found this one: what do you think?:
http://www.elecfreaks.com/store/fastrax-up501-gps-receiver-module-with-antenna-gpsup501-p-236.html
If i understand i can conect it directly to my computer with RS232 and use your programm "GPS gather" directly with labview?
Do i need to do modify your work on labview? is the data "GPS_gather.zip" complete?
please help me
I think what GPS gather - it's complete, good idea!
From: politon <web.community@ni.com>
To: Fedor_Protasov <fedor.protasov@ni.com>,
Date: 16.11.2015 00:34
NI Community
GPS gather
new comment by politon View all comments on this document
Hello do you think GPS module Fastrax UP501 is good for my project ?
Do you know a website where i can buy the complete GPS module with RS232
connexion?
i have found this one: what do you think?:
http://www.elecfreaks.com/store/fastrax-up501-gps-receiver-module-with-antenna-g
psup501-p-236.html
If i understand i can conect it directly to my computer with RS232 and use
your programm "GPS gather" directly with labview?
Do i need to do modify your work on labview? is the data "GPS_gather.zip"
complete?
please help me
Reply to this email to respond to politon's comment.
ok if i understand i can buy the GPS module Fastrax UP501 with connexion cable RS232 for my computer and then i can use the "GPS_gather.zp" without the need to do modification?
do i need to modify in LABVIEW the model of GPS module? because i don't have the same model of
GPS receiver than in "FEDOS WORK"
Fedos wrote "GPS receiver based on the NMEA 0183 protocol."
The GPS module Fastrax UP501 is a "NMEA protocol 9600 baud" It means default speed 9600 bps.
But in datasheet it is written: Protocol: "NMEA 0183, 9600 baud".
In conclusion i think this model is compatible,what do you think?
Yes, it will work without modification.
Hello the Fastrax UP501 GPS module is very difficult to find on internet.
Therefore i want to buy "Adafruit Ultimate GPS Breakout - 66 channel w/10 Hz updates - Version 3" on this webpage:
https://www.adafruit.com/products/746
Do you think this ADfruit GPS is compatible with what i want to do? do you think it is difficult to build myself the connection cable rs232 or USB from GPS module to my computer?
in datasheet of adafruit it's written that:
"Direct Computer Wiring
GPS modules are great in that the moment you turn them on, they'll start spitting out data,
and trying to get a 'fix' (location verification). Like pretty much every GPS in existence, the
Adafruit Ultimate GPS uses TTL serial output to send data so the best way to first test the
GPS is to wire it directly to the computer via the TTL serial to USB converter on an Arduino.
You can also use an FTDI Friend or other TTL adapter but for this demonstration we'll use a
classic Arduino"
If i understand ihave to connect GPS module to ARDUINO card then connect the Arduino card to computer. But does this Labview programm "GPS_gather.zip2 will work with arduino card on LABIEW? help me guys
Thanks for sharing...I used this example in cRIO 9068 and GPS GU-158 and it worked very good.