Subject: Wanted to buy Visual Basic
From: rotaryeng
Date: 4/1/2012, 4:16 PM
To: AAAA Put this in the To box


As part of this 8051 ignition system I am working on is I would like to send the
timing and the dwell time to a display in the cockpit on a tablet or netbook
computer. I have a program written in visual basic that reads out the data from any
GPS receiver trough the USB port. Does anybody have a Visual Basic software package
they are willing to sell?

Here  is the source code to the VB program.

VERSION 5.00
Object = "{648A5603-2C6E-101B-82B6-000000000014}#1.1#0"; "MSCOMM32.OCX"
Begin VB.Form frmGPS
   Caption         =   "Read GPS"
   ClientHeight    =   2355
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   ScaleHeight     =   2355
   ScaleWidth      =   4680
   StartUpPosition =   3  'Windows Default
   Begin VB.Timer tmrTimer
      Left            =   1080
      Top             =   1800
   End
   Begin VB.TextBox txtDisplay
      Height          =   1455
      Left            =   240
      TabIndex        =   0
      Text            =   "Text1"
      Top             =   240
      Width           =   4095
   End
   Begin MSCommLib.MSComm MSComm1
      Left            =   240
      Top             =   1680
      _ExtentX        =   1005
      _ExtentY        =   1005
      _Version        =   393216
      InputLen        =   128
   End
End
Attribute VB_Name = "frmGPS"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
  txtDisplay.Text = "" 'Enable Port
  MSComm1.PortOpen = True 'Open port
  MSComm1.Output = "0" + Chr(13)  'Configure Port as Input
End Sub

Private Sub tmrTimer_Timer()
  txtDisplay.Text = txtDisplay.Text + Chr(13) + MSComm1.Input
End Sub

This is an excellent start. VB is much easier to learn than C.
I will also write a VB program that re-flashes the ignition system and the injector
system. This is exactly what the new car manufactures do when they discover a bug in
the computer that controls the engine. You take your car into the dealer and he
re-flashes the computer with the latest software.

This kind of software will also be necessary for any EFIS system that uses a tablet
or net book computer for cockpit display of engine parameters and condition.

----------------------------------------------------------------------------

This is what the VB program must do to get the 8051 to talk back and re-flash itself.
This is for the AVR version of the CMOS 8051. The Silicon Labs version may be
different. I don't know yet.

Paul Lamar

Paul,

Have you look into this?

http://wxbasic.sourceforge.net/

Henry Nee

The problem is most people use windows.
We will be there next week. Robin wants to relax for a week after SnF.
Keep your eye out for a copy of VB and XP.
Maybe easier to find in Shenhzen. Do you think we can get a day pass to
go there?

Paul Lamar

I believe I have both an original XP installation package AND a developers visual
basic package. Have to check in the Hangar, today. I may have thrown it out during
the move.

C. Smith

Thanks Craig.

Paul Lamar
-- The Rotary Engine News Letter. Powered by Linux. ACRE NL web site. http://www.rotaryeng.net You Tube key word PaulLamar2 Copyright 1998-2012 All world wide rights reserved.