Sorry to waste some of your time ,here are the details.
I'm waiting for the PCI Interrupt events which define in the VISA Driver Develop wizard by using 16 Sequences in the step that design for detecting interrupts. In order to detect the right interrupts gernerated by my PCI DAQ,after the WaitForEvent return I need to know which squence has taken.
Indeed,each squence checks one flag that may stand for EndOfScan event or BufferOverRun or DMA ect,so I need to know the right squence to do the right service.
Is this enough?Ican't post my file on here because it not allowed by my company,I must abey the rules.If needed ,I can't post some similar VI here,which contains no hareware imformations(eg.no regester address map).
At last,thanks for all your help:)