LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

help with superstar2 GPS receiver

hello every1,

I have a superstar2 gps receiver...I am trying to get the binary data into LABVIEW 8...but I get only junk characters(encoded binary) into labview..when I run the simple read and write binary.vi file....But if I rightclick on the read binary file then I get to choose the hexadecimal option...the readings are in hex form ..but how do I get binary format...

0 Kudos
Message 1 of 10
(3,610 Views)

Take the raw string and pass it into a "String to Byte Array" function.  Then, index out the U8s and use "Number to Boolean Array" to get the booleans.  Concatenate all the booleans to get your binary data.  You may have to reverse the arrays to get them in the right order. 

Hope this helps.

-Khalid

0 Kudos
Message 2 of 10
(3,596 Views)
hello every1,

I am trying to get gps data into labview file(readgpspositionvelocity.vi) file...but the flow control option in it..i am not sure which one to use..is it the XON-XOFF or RTS/CTS option(in hyperterminal the flow control option is hardware)..the gps receiver i have is superstar2 and the data format is nmea format..any help would be greatly appreciated..
0 Kudos
Message 3 of 10
(3,589 Views)
The Superstar II Manual seems to indicate on page 29 that you should use "no handshaking".
Robert Mortensen
Software Engineer
National Instruments
0 Kudos
Message 4 of 10
(3,571 Views)
hi there,

Thnax for replying..yes there is no flow control actually ...I tried running the basic serial read and write VI file option in Labview but still I am not able to get the gps data into labview..I am trying to plot the X,Y,Z coordinates in Labview but nothing comes up on the chart..I am attaching the file along...any help would be greatly appreciated.....

-innovator81

0 Kudos
Message 5 of 10
(3,561 Views)
I'm afraid you have a lot of work ahead of you.  The data coming back from your instrument in string format is quite complex.  You will need to know the exact format of this data and parse it accordingly.  I have seen some applications that parse data in NMEA (National Marine Electronics Association) format (which I assume is what your device is using) and it takes a bit of work to extract the information and present it in a suitable format.  Unfortunately I don't know of any freely available examples that do this.  Perhaps other members of the community will be able to post some code for you.
Robert Mortensen
Software Engineer
National Instruments
0 Kudos
Message 6 of 10
(3,550 Views)
Could you please post this in version 7.1?  I have some GPS VIs that might help.
0 Kudos
Message 7 of 10
(3,541 Views)

hello there,

Thanx for replying..It would be great if u could post any gps files online so that I could go through them...I dont have the older version of labview so I cant upload that file in labview 7 version.......

-innovator81

0 Kudos
Message 8 of 10
(3,528 Views)
You should look at this discussion: http://forums.ni.com/ni/board/message?board.id=170&message.id=158841&query.id=74988#M158841  There are a number of VI's posted there by myself and someone else.  For future reference, you can chose "Save as Previous" to convert your 8.0 files to 7.1 files.
0 Kudos
Message 9 of 10
(3,516 Views)
hello every1,

Thanx for replying...I tried using the below attached files which were found on that particular link..and it worked fine...but I want to get this data into graph plotting format(i.e in the form of X,Y and Z format).It would be great if some1 could help me out with this issue..

-thanx
innovator81
Download All
0 Kudos
Message 10 of 10
(3,480 Views)