I would like to monitor all inputs on the PCI-6528 during a certain amount of time (not only one read), such that an eventual digital HIGH can be captured during that period in my C# application. I would also like to know which port and line got the HIGH value if that is possible.
Currently, I have a created a channel using DIChannel:
digitalRead.DIChannels.CreateChannel("Dev0/port0:2", "", ChannelLineGrouping.OneChannelForAllLines);
And I now want to read the ports and then be able to capture any digital HIGH value. How can this be done?
Also a second question: when I read the inputs, the value 128 is read when it is a digital HIGH. Why is the input measured to be 128 and not 1?
Thanks.