Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

generate interruption from digital input (daq 6221)

I want to know in my program when a digital input change state, but I´m programming in visual c++ with daqmx ver. 7.3, this software doesn´t support Chanel change detection, please, I need information???.
0 Kudos
Message 1 of 6
(3,559 Views)
Hi tig,

You can perform unstrobed change detection in DAQmx. The driver will notify your software upon a change of state on selected input lines. If you have DAQ support for C installed, you should find an example program for Change Detection from the following path:

C:\Program Files\National Instruments\NI-DAQ\Examples\DAQmx ANSI C\Digital\Read Values\Read Dig Chan-Change Detection

Hope this helps,
Lesley Y.
0 Kudos
Message 2 of 6
(3,548 Views)
Hi LYu, but I tried to use that function and I couldn't use because I have error -200077, now Can you help me with other idea to generate interuption form digital input??.

Thank's LYu
0 Kudos
Message 3 of 6
(3,537 Views)
Hi,

You are receiving this error because change detection is not supported in NI-DAQ 7.3 for our M Series boards. This function is going to be added in NI-DAQ 7.4, which is going to be released in a few months. Have a Great Day!

George
0 Kudos
Message 4 of 6
(3,523 Views)
Hi,

To make some clarification on previous post, this feature will be available for some of the digital boards. M Series will not be included. I hope there was no confusion, and have a Great Day!

George
Message 5 of 6
(3,510 Views)
Hi,

I understand you, but I don´t know why in specifications of 622X there is title "DI Change Detection (Port 0 Only)", for that reason I thought that I could used "change detection". Anyway thank you George
0 Kudos
Message 6 of 6
(3,508 Views)