06-18-2013 12:04 AM
06-18-2013 12:08 PM
I give up.
We've wasted 21 posts trying to solve the error -200457 at the addition VI. Did you EVER have a problem there?
Now you are saying you have an error -200547 at the DAQmx Write.
We can't help you solve a problem if you never clearly define what problem you have.
06-18-2013 12:53 PM
Sorry for the confusion. I always had the error 200547 at DAQmx write. Can you please help me with that ?
06-18-2013 01:06 PM
I can understand transposing the digits. But you did originally say at the Add.VI which is certainly completely different than DAQmx Write.
Read the help text for the error. (Open up Explain Error on the help menu.) It should tell you all you need to know.
06-19-2013 04:20 AM
I am still not able to rectify that error. The error is
"Error -200547 occurred at DAQmx Write"
Possible reason(s):
DAQmx Write failed, because a previous DAQmx Write automatically configured the output buffer size. The buffer size is equal to the original number of samples written per channel, so no more data can be written prior to starting the task.
Start the generation before the second DAQmx Write, or set Auto Start to true in all occurences of DAQmx Write. To incrementally write into the buffer prior to starting the task, call DAQmx Configure Output Buffer before the first DAQmx Write.
06-19-2013 08:34 AM
You are continually writing numbers into the DAQmx Write, but you never start the task until the loop ends. Is that what you want?
The write buffer is set to the size of the first write. So when you write the second group, the buffer overflows because you have yet to start actually outputting any of the values.
06-19-2013 11:22 PM
VI is working properly now (after some minor modifications). Thanks a lot for your help