Avner,
Your question should be posted under "Measurement Devices >> Digital I/O" instead of "Real-Time DAQ" because the 6527 is a digital board. The category "Real-Time DAQ" is reserved for 7030 Real-Time devices.
To answer your question, you can use DAQ Occurences in LabVIEW to 'wake up' code when certain hardware events occur, such as a change in polarity of the digital lines on the 6527. If you are using a non-LabVIEW compiler, the functions are DIG_Change_Message_Config and DIG_Change_Message_Control. For more information on these functions, please read the NI-DAQ Functions Reference Manual, which can be found at www.ni.com/manuals.