From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Monitor multiple ports at the same time on PCI-6528

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.

 

0 Kudos
Message 1 of 1
(2,194 Views)