Hello

I want to send test data to the serial (or parallel) port via Visual Basic.

I found some source code and tried it but it did not work. I then used a DOS diagnostics program called PC Check to test the serial port, this included using a loopback plug. The test also failed on the loopback test.

I know the serial port works fine because I am conected to COMM1 right now with a modem.

I tested my PC (NT based) at work and the loopback test also failed. None of the "experts" at work could answer my query.

This led me to the conclusion that there is something I am missing with both of these approaches

Any ideas would be very much appreciated, thanks



Geoff
Posted on 2004-01-24 11:34:32 by Geoff
Posted on 2004-01-24 11:48:15 by Hiroshimator
Thanks man !!

very useful

Geoff
Posted on 2004-01-24 12:34:29 by Geoff
Hey Geoff. :)

Accessing ports in VB is pretty straightforward stuff. Post/email some more info about the difficulties you are running into. (Maybe the code snippet you are trying to use.

Carry on!
golem :)
Posted on 2004-02-12 08:40:00 by golem
The SERIAL port in VB is simple, just use the Comm port control.


That's what it does.


Parallel ports are gonna get complicated depending on which OS you have. Lakeview Reseach has some great resources for this stuff, surf em out.
Posted on 2004-02-18 08:44:30 by Ernie