Visit our LabVIEW Wiki MINDSTORMS® NXT article
![]() |
Sep 19 2007, 04:30 PM
Post
#1
|
|
|
Enough LAVA to be dangerous Member Posts: 4 Joined: 15-November 06 Member No.: 6852 Using LabVIEW Since:1993 LV:7.1.1 ,8.0.1 ,8.20
|
Over on nxtasy.org they have been discussing GPS bluetooth hardware and the NXT. Yesterday, some LabVIEW code was shown to parse GPS data. My first reaction from looking at the block diagram shown was that it looked like C code transferred to G. I know all about this coding style because I used to do that all the time, before I got more comfortable in G. The author also mentioned the solution was inspired by RobotC code and gives his benchmark of 92 milliseconds on the NXT block.
I'm thinking the folks here could come up with some slick and quicker G solutions. It would be a great way to help the NXT community. I'm going to try to look into this more, but I thought I'd mention it here. Cheers! Tags
This content has not been tagged yet
|
|
|
|
| Ad |
Sep 19 2007, 04:30 PM
Post
#
|
|
|
Tags
This content has not been tagged yet
|
|
|
|
Sep 19 2007, 07:30 PM
Post
#2
|
|
![]() Extwemely Active Premium Member ![]() Posts: 1592 Joined: 23-January 05 From: Here Member No.: 1431 Using LabVIEW Since:2003 LV:7.0 ,7.1 ,.
|
It doesn't look that bad to me. I mean, yes, it probably could be improved, but the style looks reasonable and to be honest, which piece of code can't be tweaked and improved?
My understanding was that NXT has some performance issues which need to be taken into consideration. For all I know, this might be the most efficient way. -------------------- More than meets the eye...
Tags
This content has not been tagged yet
|
|
|
|
Sep 19 2007, 08:28 PM
Post
#3
|
|
![]() Extremely Active Member Posts: 357 Joined: 6-February 07 From: Homburg/Germany Member No.: 7689 Using LabVIEW Since:2004 LV:8.5 ,8.0.1 ,.
My Gallery
|
I use reading VISA to CR LF, then Spreadsheed string to array(with a comma as delimiter) to get an array of strings. After checking of the cheksum you can interpret your array elements to Lat. Lon and so on. I think it's very easy.
Can you post any code here, I want to look on? Eugen -------------------- Tags
This content has not been tagged yet
|
|
|
|
Sep 21 2007, 08:22 AM
Post
#4
|
|
![]() Very Active Member Posts: 165 Joined: 9-February 05 From: region Eindhoven, the Netherlands Member No.: 1555 Using LabVIEW Since:2008 LV:7.1.1 ,8.5.1 ,8.2.1
|
Hmm, I could try with my LabVIEW SLR(1) parser module... I curious how it performs against very optimized solutions.
Joris Tags
This content has not been tagged yet
|
|
|
|
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
11 | TomWP | 2117 | 23rd March 2004 - 07:00 PM Last post by: Michael_Aivaliotis |
|||
![]() |
7 | cheenu_2002 | 1480 | 7th September 2004 - 03:13 PM Last post by: Norm Kirchner |
|||
![]() |
8 | Sarah83 | 2020 | 2nd December 2004 - 09:07 AM Last post by: Sarah83 |
|||
![]() |
0 | Mike Ashe | 1450 | 22nd December 2004 - 09:47 PM Last post by: Michael Ashe |
|||
![]() ![]() |
| Time is now: 6th October 2008 - 02:18 PM |