06-30-2008 03:41 PM
06-30-2008 03:56 PM
07-01-2008 09:10 AM
07-01-2008 09:20 AM
There must be a way to collect a finite amount of data over an extended period of time without using a while loop.
07-01-2008 10:01 AM
Here is the message for the "Explain Error" for that error code.
"Error -200284 occurred at an unidentified location
Possible reason(s):
Measurements: Some or all of the samples requested have not yet been acquired.
To wait for the samples to become available use a longer read timeout or read later in your program. To make the samples available sooner, increase the sample rate. If your task uses a start trigger, make sure that your start trigger is configured correctly. It is also possible that you configured the task for external timing, and no clock was supplied. If this is the case, supply an external clock."
It did exactly what I was saying. It timed out after 10 seconds and hadn't received all of its requested data yet. Increase the timeout value. But better yet, if you are talking collecting minutes worth of data, you should be using a while loop and collect samples periodically. That way you can show the data as you receive it, and also give th program a chance to respond to other events like hitting a stop button.
07-01-2008 10:04 AM
07-01-2008 11:39 AM - edited 07-01-2008 11:43 AM

07-01-2008 11:44 AM
Alright. Thanks for the help.
Eric