I have a 6025E card. Is there a way that when a digital line changes I get
an interrupt or callback instead of having to constantly poll for changes?
Thanks
LV
I currently do this:
int CVICALLBACK SafetyTimerCntDwn (int panel, int control, int event,
void *callbackData, int eventData1, int eventData2)
{
switch (event)
{
case EVENT_TIMER_TICK:
// 1.- Emergency Button
iStatus = DIG_In_Line (DAQ_Board1, PortC, ChanPanicSW, &PanicStatus);
ErrorCheck ("On func: DIG_In_Line PortC ChanPanicSw Query", iStatus,
GetDAQErrorString Status));
if (PanicStatus == 1){
DoCancelCntDown(2);
break;
}
....etc...