Hi Shmulik,
Thank you for posting on the National Instruments forums.
What you can do is use DAQmx functions to monitor the digital line and when the digital line goes from 0 to 1 programmatically call an interrupt in windows. If you have the DAQmx driver installed and included support for C, you can find examples programs:
C:\Program Files\National Instruments\NI-DAQ\Examples\VisualC
Or if you have Measurement Studio installed:
C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\DotNET1.1
You can also find resources by searching on www.ni.com where we have many resources for developing applications.
Calling an interrupt in windows through c++ is beyond the scope of National Instruments support.
Thank You,
Nick F.
Applications Engineer