|
-
Oct 12th, 2000, 12:05 PM
#1
Thread Starter
New Member
hi, i'm connecting my PC to a projector, using the MSComm to send and receive data. How do I know if my data is successfully being send fr PC to projector? I tried sending :
MSComm1.output = chr(&H31) & chr(&H24) & chr(&H01)
then the projector is supppose to reply, but how do i get the reply? the reply is in what format? how should i write the code for the reply? my data is in hexadecimal form.
thanx very much!
-
Oct 12th, 2000, 12:17 PM
#2
the control has an event called ONCOMM.
Use something like this inside the event:
MyString = MSCOMM1.Input
'now mystring contains the reply from the projector.
All you have to do is look at the tools you are working with.
-
Oct 12th, 2000, 12:31 PM
#3
Thread Starter
New Member
help..cont...
i tried that :
MsgBox MSComm1.Input
the msgbox pops up but show nothing. does that means the projector did't reply? how to check if projector reply, other then using MSComm1.InBUffetCount?
is there any other way?
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
|