|
-
Jan 17th, 2000, 05:05 PM
#1
Thread Starter
New Member
Does anybody know if and how I can get the status of the input line on comm port 1, using either an API call or some other method.
Thanks
Elroacho
-
Jan 17th, 2000, 07:25 PM
#2
Member
Go to this URL, it's here in VB-World and it's explane how to display or check port settings:
http://www.vb-world.net/tips/tip124.html
http://www.vbsquare.com/tips/tip287.html
I think they are the same.
Glad to help,
Kiron
-
Jan 17th, 2000, 08:15 PM
#3
Thread Starter
New Member
Thanks for the help, however it’s not quite what I required. My actual problem is I have written two VB applications (only prototypes at the moment) which run on separate PCs connected via Comm port 1. One of the applications performs a break event on its output line for a set duration. The other application can detect this using the OnComm error event. What I’m trying to do, is time the duration of the break on the receiving PC. The problem is there’s no event that detects when the break on the line is removed. I have an idea that I may be able to use an API call to detect the status of the receive line but I fear this may take to long as the time scale is in milliseconds.
Sorry for the original lack of info
Kevin Preston.
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
|