When measuring frequency using a DAQmx counter task, the task will timeout and return Error -200284 occured at an unidentified location, when measuring a frequency of 0 Hz. In LabWindows/CVI, this can be avoided with custom error handling. In the error callback within your main while loop, create an if statement comparing a created int error to the error # you're experiencing. If they match, do nothing, effectively ignoring the error. Then, in the else statement, have all the normal error handling that is present in the included NI examples.
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.