Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Respond to event (state change) on digital input line of 6503 board.

I have a 6503 board and I would like to respond to a state change on a digital input line. I am using C++ for the first time for test development. I am used to using CVI, where I have used InstallComCallback to do something similar on the PC serial ports. How do I do something similar in C++ for the 6503 board?
Currently I am using the CWDIO object in my C++ project to control the 6503 lines.
0 Kudos
Message 1 of 2
(2,772 Views)
Hello

You should check out the daq event message 7, which generates a callback whenever a digital pattern is detected or not. You wont be using CWDIO for this, since it wont be able to provide you with the events. You can also check out this link as an example. It uses C, so it might be easier than trying to us the CW controls

I hope this helps

Thanks

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 2
(2,772 Views)