Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

PCI-6509 example program doesn't run

I can compile the "Write Dlg Chan-Watchdog Timer.dsw" sample program, but when I run it I get errors. Please help me to understand what I am doing wrong.
0 Kudos
Message 1 of 2
(2,335 Views)
Anna,

When I tested this example with the PCI-6509, I did not receive any errors. However, if I intentionally delayed the resetting of the watchdog timer, I was able to generate the -200644 error. The following function performs this reset:

DAQmxErrChk( DAQmxControlWatchdogTask(wdTaskHandle, DAQmx_Val_ResetTimer));

Did you make any modifications to the example? To troubleshoot this issue further, you should try increasing the watchdog timer's timeout using the following function:

DAQmxErrChk (DAQmxCreateWatchdogTimerTask(device,"wd",wdTaskHandle,timeout,physChan,expirationState,NULL));

Spencer S.
0 Kudos
Message 2 of 2
(2,335 Views)