Results 1 to 3 of 3

Thread: urgent!!! pls help mi..abt serial port

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2000
    Posts
    9
    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!

  2. #2
    Guest
    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.

  3. #3

    Thread Starter
    New Member
    Join Date
    Sep 2000
    Posts
    9

    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
  •  



Click Here to Expand Forum to Full Width