I would like to set up an interrupt in CVI/LabWindows..
This is what I have written so far... but it did not work.. somebody please help?
The problem is, it does not want to do the interrupt routine.. it just freeze there.. please help...
Init_DA_Brds(1, &BOARD);
err = ContinuousPulseGenConfig (1, "0", 1, 0.5,UNGATED_SOFTWARE_START,POSITIVE_POLARITY, &actFreq, &actDC,&ID);
/******* Configure PCI-6023 to trigger off internal clock ************/
err = DAQ_Config (1, 0, 0);
/******* Configure PCI-6023 for Double Buffering ************/
DAQ_DB_Config (1, 1);
/******* Initialize PCI-6023 to operate with interrupts ************/
err = Set_DAQ_Device_Info (1, ND_AI_FIFO_INTERRUP
TS, ND_INTERRUPTS);
/******* Register Interrupt when Voltage on AI3 rises above 4.0V ************/
err = Config_ATrig_Event_Message (1, 1, "AI3", 4.0, 0, 1, 0, 0, 0,BOGUS_EventHandle,BOGUS_EventMessage,HomeFla