I would like to do the following with my NI-USB6501 boards:
- I connect some sort of switch to a channel on the board that I configure as a DI channel.
- Someone pushes the button (aka switch), 5 volts (for example) is generated on the channel
And this is wher 'im stuck: my applicaton needs to "sense" this change in voltage on the DI channel. I checked all the NIDAQMX functions, and searched the forums, but I didn't find a solution.
I guess my application will need to have an infinite loop in which it checks continuously for changes on the DI line. But: which NIDAQMX function will "sense" the change in voltage input ?
Thanks in advance for your help, once again,