Communicating with an ECU
Ira Emus
ira at extrasensory.com
Mon Nov 27 21:37:15 GMT 2000
At 04:57 AM 11/28/00 -0700, you wrote:
> > utility that will effectively internally connect the modem and the serial
> > port on the target machine. That way, I can communicate with the ECU
> > hanging on the serial port of the remote machine by running the calibration
> > program on our machine linked by modem to the modem and ECU on the other
> > machine. Does anyone know any way of getting W-95 or 98 to achieve this or
> > failing that, can anyone recommend a good Windows programming book ?
You should be able to write this in a few lines of VB. I could do it in DOS
in a few minutes, but it wouldn't work with WinModems and might not work
with some PCMCIA modems.
If you have the modem set to auto answer and you're using VB, this should
be about 90% of what you need to know:
ser1.settings = "9600,N,8,1"
ser2.settings = "9600,N,8,1"
ser2.portopen = true
ser1.portopen = true
while true do
if ser2.inbuffer > 0
ser1.output = ser2.input
endif
if ser1.inbuffer > 0
ser2.output = ser1.input
endif
end
ser2.portopen = false
ser1.portopen = false
----------------------------------------------------------------------------
To unsubscribe from diy_efi, send "unsubscribe diy_efi" (without the quotes)
in the body of a message (not the subject) to majordomo at lists.diy-efi.org
More information about the Diy_efi
mailing list