12-21-2007 05:51 PM
Hi.
I am using 6704 AO and 6289 AI boards.
For 6704 I output a single value on four channels, for 6289 I read a single
value from four channels.
The .vi files with the corresponding tasks for AO and AI are attached.
You can also see the AO task structure in the .PNG picture file enclosed.
The problem for both the AO and AI tasks:
if I use "Wait Until Done" vi after the "Start" one, I get
the following error (see the "Wait Until Done error.PNG"):
"""
Error -200560 occurred at DAQmx Wait Until Done.vi:1
Possible reason(s):
Wait Until Done did not indicate that the task was done
within the specified timeout.
Increase the timeout, check the program, and make sure
connections for external timing and triggering are in place.
"""
What is the reason for this error?
How can it be avoided?
Is there any guarantee that if I do not use the "Wait Until Done" vi
and call the "Stop" vi immediately after the "Start" one I
will actually get the AO values at the output of the 6704 and my 6289 will have
time to read the values?
Thanks in advance!
12-21-2007 08:50 PM
12-21-2007 08:54 PM
12-28-2007 05:25 PM