|
-
September 28th, 2003, 11:43 PM
#1
help plz :'( basic noob serial programming question
Hi ppl, I was searching though the forum and can't seems to find an answer, so I decide to post my noob question:
I wrote 2 program, 1 transmit data while the other one receive data. I bought a RS232 adaptor and solder pin 2 and 3 together so that it becomes a loop back cable to the same port (If I transmit from port 1, I should receive from port 1).
However, when I start tranmitting on 1 program, and start the receiver program, vb always ask me to debug the following:
1 If MSComm1.PortOpen = False Then
2 MSComm.PortOpen = True
3 End If
"Error 8005: Port already open (on Line 2)
Its confusing the **** out of me
Thx in advance for the help ^^
Fenix
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|