Hi:
First, I would like to say I really admire you for developing a very specialized application without being a career software developer. The initial thought I have before even looking at your code is that different GPS devices communicate at different baud rates depending on the age and type of GPS that is actually utilized. Also the baud rate you use has to be in the fixed supported rates. (1200, 2400, 4800, 9600, 19200, 28800, 38400, 57600, 76800 and 115200 etc.. ) Does one of the rates above match the rate used in your program and also is the rate you have coded for the maximum rate that is directly supported by the gps in your pda? Example: COM Port: COM2 Baud Rate: 4800 Data Bits: 8 Parity: No Parity Stop Bits: 2 Bob From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of wksaalfeld Sent: Thursday, October 30, 2008 10:17 PM To: [EMAIL PROTECTED] Subject: [nsbasic-ce] serial comms in NSBasic to capture GPS NMEA data stream Hi All, I am a Wildlife Officer with the Parks and Wildlife Service NT Australia. I have a program that I have written for data logging sightings taken on our annual spotlight surveys of saltwater crocodile populations in the Northern Territory. NSBasic does an excellent job, particularly due to the speed at which sightings can be entered. The sightings are recorded with spatial information which I get from the PDA's inbuilt GPS via the GPS NMEA0183 data stream. I have a program that works in terms of reading the NMEA data stream but the code is not well written, at least it seems so to me, and it can often be 1 or 2 seconds before the program gets the lat/long position, rarely more. I would very much like to tighten up the subroutine in my program that gets the GPS data and if someone can supply me with a good reference, either web site or to a book, on serial comms that has been written for a non-programmer it would be appreciated. I have done a number of Google searches and looked at GPS code in the files link on this forum and the code I have written appears very similar. I have posted a copy of the program (it is very simple) in the files link (CrocSurv_05.nsb). One of the main requirements of the spotlight surveys is the capacity to enter sightings with as little as 2-3 seconds between records and with GPS position logged at commencement of data entry, not end. We do the surveys at night in small boats 4-5 m, moving at about 15-20 kph so there is not much time to identify and record each animal. For each animal we record species (there are only 2 and mostly it is Crocodyus porosus), position in river, and size. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nsb-ce" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en -~----------~----~----~----~------~----~------~--~---
