LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

ChanPerLine vs. ChanForAllLines

Hello, sorry for the late answer.

I would like to generate a signals with my analog digital card from National Instruments. So I have a lot of digital connections. Some of this connections are digital inputs and some digital outputs. I use the digital inputs as interrupts. So when a digital input gets a High (1) signal, I stop the generation of my signal. For such a “interrupt” I use the event Change Detection that recognize the change of such a connection. So I do not use whole lines (for example line0:7, 0-7)

instead I use only one connection with one incoming signal. I have some more of these interrupts. Each interrupt represent a failure case. Now I have a limited number of digital connections in my A/I board for example 30 digital inputs. 

So what I want to do is to get access with the change detection on some of this connections. At the moment I use connection 28,29,30 because it is not possible for me to get access to individual connections who do not represent a line on the A/I board. If the choosen connections are not a line, it is not possible to do the change detection on more connections. Thats the problem I have. For example I would like to use the connection 10, 15 or 20. This example represent not a line (a line would be 10,11,12 or 15,16,17 or 17,18,19,20). Now you said to me that it is possible to get access to the connection via a binary mask but I do not know how I can write such a binary mask in combination with my change detection. Is it even possible to get access  to individual connections with the Change Detection? Hope it is a little bit clearly now.

 

Best Regards

 

0 Kudos
Message 11 of 11
(530 Views)