Results 1 to 5 of 5

Thread: parallel port input

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2006
    Posts
    3

    parallel port input

    i have a rf receiver (ttl level output) that i want to connect in the parallel port input pin..i think it's 10,11,12,13,15 if i'm not mistaken..i want to make a counter that will be triggered when one of the input pin receives signal..im using visual basic 6.0..please help me guys..

  2. #2
    Fanatic Member sessi4ml's Avatar
    Join Date
    Nov 2006
    Location
    Near San Francisco
    Posts
    958

    Re: parallel port input

    There is a bit on the LPT1 port you will need to make high.
    This tells the PC there is something out there.
    Then you can print the the port.
    Use a RS232 break-out box
    http://www.datalinkcom.net/accessories/232BOB1.html
    To change bits, loomat my ASCII table....

  3. #3
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: parallel port input

    there is a dll that will do a lot for you search inpout32.dll

    also see
    http://madan.wordpress.com/parallel-port/
    http://www.control.com/thread/1026224290
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  4. #4

    Thread Starter
    New Member
    Join Date
    Dec 2006
    Posts
    3

    Re: parallel port input

    thank you guys for all the information..i'll to work with this information and come bach here mark it as solved..tnx!

  5. #5

    Thread Starter
    New Member
    Join Date
    Dec 2006
    Posts
    3

    Re: parallel port input

    i finally solved the problem!
    thanks to all of you!

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