MScomm & IRMan 
Author Message
 MScomm & IRMan

I am trying to communicate with an infra red receiver, an IRMan on a
com port with MSComm. I can activate and communicate with it but can't
seem to get the OnComm event to trigger when the IRMan receives a
remote signal - I have to manually collect it using MScomm1.Input in a
timer. I have set RThreshold = 4. The following....

Private Sub MSComm_OnComm ()
   If MSComm1.CommEvent = comEvReceive then
       buffer = MSComm1.Input
   end if
end

....doesn't seem to work
Any ideas?

Babber



Fri, 30 Jul 2004 20:51:08 GMT  
 MScomm & IRMan
I have just got code from knowledge base and tried it. I am actually using
Richard Grier's XMComm because I only have learning edition. The code does
not work when MSComm is replaced with XMComm. Is this a limitation within
XMComm compared to MSComm?

Cheers

Babber


Quote:
> I am trying to communicate with an infra red receiver, an IRMan on a
> com port with MSComm. I can activate and communicate with it but can't
> seem to get the OnComm event to trigger when the IRMan receives a
> remote signal - I have to manually collect it using MScomm1.Input in a
> timer. I have set RThreshold = 4. The following....

> Private Sub MSComm_OnComm ()
>    If MSComm1.CommEvent = comEvReceive then
>        buffer = MSComm1.Input
>    end if
> end

> ....doesn't seem to work
> Any ideas?

> Babber



Sat, 31 Jul 2004 02:15:34 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. MSComm & Winsock

2. MSComm & Loops

3. MSComm & Carrier detect

4. Unicode & mscomm.input

5. MSComm control & Digi port expansion units

6. Timestamps & MSComm

7. Help with Understanding MSComm & VB6

8. MSComm & sending Bytes

9. parallel to serial & mscomm problem

10. A Challange: Byte Arrays & MSCOMM controls

11. Help please with MSComm & modem dialing

12. Help please with MSComm & dialing modem

 

 
Powered by phpBB® Forum Software