Results 1 to 5 of 5

Thread: Trigger an event with a digital input

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2002
    Posts
    4

    Trigger an event with a digital input

    I have a Digital I/O card. Is there any way to have an Input change trigger an event or is the only solution to use Timer and keep testing the input?

    The card is a PCI-DIO24 board, VB6sp5, Win2000

    Thanks.

  2. #2
    Hyperactive Member
    Join Date
    Nov 2001
    Location
    Catalonia
    Posts
    397
    I have not used this card but I am using other cards for digital and analogic inputs and outputs.

    Most of them include and ActiveX which allow you to use its events in Vbasic and also you can configure its inputs as level or edge triggered.

    If the card does not allows you to get an event from the input value change then you will need to use the timer.
    Josep Mª

  3. #3
    PowerPoster
    Join Date
    Aug 2002
    Location
    NY, NY
    Posts
    2,139
    Yep, VB isn't flexible at all when it comes to hardware: you must have an interface to it such ocx or dll.
    Roy

  4. #4

    Thread Starter
    New Member
    Join Date
    Jul 2002
    Posts
    4
    Are you saying that the I/O card would half to support this?

    Thanks again.
    Lance

  5. #5
    PowerPoster
    Join Date
    Aug 2002
    Location
    NY, NY
    Posts
    2,139
    What this means is that you a software that is compatable with your hardware. If you don't have it - simply forget about unless you want to contact manufaturer (consider some investment).
    Roy

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