LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

GPS and Xbee

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

0 Kudos
Message 1 of 17
(3,709 Views)

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. 


Learning LabVIEW since January 2013
0 Kudos
Message 2 of 17
(3,683 Views)

Found this myRIO and GPS demo the other day.
http://www.youtube.com/watch?v=SebcpkbYBd4

I build web apps for LabVIEW
http://chrislarson.me
0 Kudos
Message 3 of 17
(3,678 Views)

How does he get -1 in his property node.  It only lets me to go to zero.

0 Kudos
Message 4 of 17
(3,636 Views)

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,

Matthew B.
Offering Manager
NI
0 Kudos
Message 5 of 17
(3,607 Views)

@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!00.png

 

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.


"Should be" isn't "Is" -Jay
Message 6 of 17
(3,601 Views)

Ok guys I ran the code as 0, and now i'm getting following error:

error.png 

0 Kudos
Message 7 of 17
(3,582 Views)

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

0 Kudos
Message 8 of 17
(3,581 Views)

That usually means you have a connection problem:

 

  • Wrong COM Port
  • Wrong Serial cable (NULL modem / Straight patch)
  • Wrong port settings
  • External device turned off/not configured/

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 themSmiley Wink


"Should be" isn't "Is" -Jay
0 Kudos
Message 9 of 17
(3,556 Views)

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!

0 Kudos
Message 10 of 17
(3,540 Views)