09-18-2006 01:25 PM
09-19-2006 04:11 PM
Hello turkey,
Once the DAQmx Read VI is called, it has to return the number of samples that are requested, and if they are not received a timeout error will occur as you have noticed. Since it seems that changes are not occurring after the stop button has been pressed, you will always see this error. As you mentioned, you can use another digital line to create a change so that the timeout error does not occur. In addition, you could use a shorter timeout value than the default 10 seconds (if this will work with your application) so the loop stops faster and then programmatically clear this particular error.
Let us know if you have additional questions.
Regards,
Laura
09-20-2006 05:16 AM
It is important to me if there is someone thinks like me. As you said probable solutions are to shorten timeout duration or trigger it using one of output ports. I prefer to use second solution first of all. Because this is part of a vision project and cycle times of loops are very important.
Thank you very much...