I'm currently trying to figure out how to hook change detection into the event structure for a process that has to monitor a few Digital Input lines going into a USB6525, and asyncronously pass this information over to other processes.
In other words, I want a line on the 6525 going high to generate an event within an event structure.
I'm not sure if the way I'm trying to do it is even possible:
Here's what I have in place
http://i.imgur.com/dMQYy2Z.png
I found a few pages that seem to mention DAQmx based event generation-
http://www.ni.com/white-paper/4102/en/ (this one just does a read in a while loop, which I'm guessing just waits until a change occurrs, reads it, then restarts the loop. So it's not really hooking into the event structure...)
http://www.ni.com/white-paper/5384/en/ (Under the "Software Events" section there's "Signal Event—Occurs when the specified hardware signal occurs. Supported signals include the counter output event, change detection event, sample complete event, and the sample clock." I was thinking this is what I have in place, but driving the line (P1.0) high does not generate this event.)
Has any of you folks managed to do this before? What am I doing wrong here?
Thanks
-pat