Quantcast
Channel: Digital I/O topics
Viewing all articles
Browse latest Browse all 2183

PCI 6509 Change Detection

$
0
0

Hello,

I'm a noobie to DAQmx and I'm working on a PCI 6509 to exam a 4-channel device via C#. I prefer to trigger an event when all of these 4 digital inputs are TRUE . I've checked the user guide which refers:

" the NI 6509 does not report which line changed or if the line was rising or falling, After a change, you can read the input lines to determine the current line states".

 

However, these 4 channels might be set to 1 almost at the same time which means 4 events will raise in a very short interval. As I have no idea which line changes, I have to read all 4 lines 4 times during this, which could leads to performance issue(or not?).

  1. Is there any way that I can take advantage of interrupt/event to tell if these 4 channels have all experienced a rising edge?(this project is time crtical and loop reading seems to be resource consuming)
  2. If not, does any NI DIO device provide me the ability to tell which line changes without read them all and check?

Thank you!


Viewing all articles
Browse latest Browse all 2183

Trending Articles