02-17-2014 03:27 AM
Hey guys I am using labview for a school probject and as part of it I have to transfer data of the location from a myrio using a GPS sensor.
Does anyone know any good places on where to start as far as information about this? It's kinda diffcult to find anyinformation on this, without using arduino, which I am not. I am just using the myrio.
Thank you
Bobbie
02-17-2014 06:13 AM
GPS usaly is send over as NMEA string. ( http://en.wikipedia.org/wiki/NMEA_0183 )
there are examples for the serial protocol.
If I am not mistaken most Xbee modules also interface as serial protocol.
02-17-2014 06:20 AM
Found this myRIO and GPS demo the other day.
http://www.youtube.com/watch?v=SebcpkbYBd4
02-19-2014 11:21 PM
How does he get -1 in his property node. It only lets me to go to zero.
02-20-2014 12:06 PM
Hi bobWalt,
It's really hard to see, but I'm pretty certain there's a coercion dot on there. The Text.ScrollPos property node is an unsigned integer, so a -1 will be coerced to 0.
Best Regards,
02-20-2014 12:15 PM - edited 02-20-2014 12:20 PM
@Matthew-B wrote:
Hi bobWalt,
It's really hard to see, but I'm pretty certain there's a coercion dot on there. The Text.ScrollPos property node is an unsigned integer, so a -1 will be coerced to 0.
Best Regards,
try that again Matthew
wiring the -1 to the scroll pos property, and letting it be coerced intentionally, is a common work-around to always scroll to last line. This often contains the most recient information when you append to a string rather than prepend.
02-20-2014 11:22 PM
Ok guys I ran the code as 0, and now i'm getting following error:
02-20-2014 11:24 PM
I looked up the error as shown above but i am not getting the following timeout error:
http://digital.ni.com/public.nsf/allkb/874B379E24C0A0D686256FCF007A6EA0
02-21-2014 03:29 PM
That usually means you have a connection problem:
Looking at the vi: the first thing you do is read from the port. Most devices don't just "spew data" out a serial port. What is the device and have you read the user's manual? User's manuals are like text books- you won't learn much about the subject without reading them
02-23-2014 05:20 AM
Wrong Serial cable (NULL modem / Straight patch)
for clairification what does the mean?
and the gps in question is a adafruit ultimate gps breakout see below
http://www.adafruit.com/products/746#Technical_Details
I intially did get one reading out of it. And then when i returned to the code i kept getting the error above.
Bobbie!