Results 1 to 2 of 2

Thread: GPS help please

  1. #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

  2. #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

Similar Threads

  1. PPC Car GPS and MP3 mini How To
    By hotrod_nut in forum General Hardware Discussion
    Replies: 1
    Last Post: 02-25-2008, 01:24 PM
  2. Cell Phone GPS
    By EBFoxbat in forum GPS
    Replies: 5
    Last Post: 09-14-2005, 06:45 AM
  3. Replies: 8
    Last Post: 03-26-2005, 10:29 AM
  4. few gps questions
    By fuctup in forum GPS
    Replies: 2
    Last Post: 03-02-2005, 01:40 AM
  5. Replies: 9
    Last Post: 10-25-2004, 01:34 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •