The MP3car.com Store The MP3car.com Store    

Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Coders Corner

Reply
 
LinkBack Thread Tools Display Modes
Old 02-28-2006, 02:55 PM   #1
Constant Bitrate
 
ThEScReW's Avatar
 
Join Date: Nov 2004
Location: Kortrijk/Belgium
Posts: 169
GPS help please

Hi, i have this file :

http://users.pandora.be/FloristVanst...Gerdy/NMEA.rar

And with that source of reading out the gps (written in VB6) I would like to measure the acceleration of the car, the usage of fuel ( by entering minimum, maximum and averige usage before first use) Range of kilometers left with the fuel, .....


You know, but the problem i have, vb is a long time ago for me and i don't know why i cannot make a good program.

Normally the program here will work, but the real good functions are not added yet.

When i ad them, i have a problem, it tells me that the MSCOMM port gives an error .....

Can a coder help me or code it for me

Thank you
__________________
ThE ScReW's CarPuter :-)
ThEScReW is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 03-24-2006, 10:13 AM   #2
Newbie
 
Join Date: Mar 2005
Posts: 39
for to find which is the error, you can try to use the code:

In Oncom event.

bye

Luca

Private Sub MSComm1_OnComm()
On Error Resume Next
Select Case MSComm1.CommEvent
' Error
Case comEventBreak ' Ricevuto un segnale di interruzione.
Case comEventFrame ' Errore di frame.
Case comEventOverrun ' Perdita di dati.
Case comEventRxOver ' Overflow buffer di ricezione.
Case comEventRxParity ' Errore di parità.
Case comEventTxFull ' Buffer di trasmissione pieno.
Case comEventDCB ' Errore imprevisto durante il recupero di DCB.
' Events
Case comEvCD ' Modifica della linea CD.
Case comEvCTS ' Modifica della linea CTS.
Case comEvDSR ' Modifica della linea DSR.
Case comEvRing ' Modifica dell'indicatore del segnale telefonico.
Case comEvReceive ' Ricevuto il numero di caratteri RThreshold.

Case comEvSend ' Il buffer di trasmissione include il numero di caratteri specificato da SThreshold.
Case comEvEOF ' È stato trovato un carattere EOF nel flusso di input.
End Select
end sub
luca.decarlo is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PPC Car GPS and MP3 mini How To hotrod_nut General Hardware Discussion 1 02-25-2008 01:24 PM
Cell Phone GPS EBFoxbat GPS 5 09-14-2005 06:45 AM
Delou Routis GPS USB install issues, please help... jedi7001 GPS 8 03-26-2005 10:29 AM
few gps questions fuctup GPS 2 03-02-2005 01:40 AM
Finished Building my GPS, now some ?s for the GPS gurus Dominik GPS 9 10-25-2004 01:34 AM


All times are GMT -5. The time now is 01:48 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics