Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
2 ratings:
 4.5 out of 5     Rate this Document

Using DAQ Assistant for Analog Output Returns Error -200547

Primary Software: Driver Software>>NI-DAQmx
Primary Software Version: 8.0
Primary Software Fixed Version: N/A
Secondary Software: N/A
Hardware: Multifunction DAQ (MIO)>>M Series, Multifunction DAQ (MIO)>>E Series, Multifunction DAQ (MIO)>>S Series

Problem:
My program uses the DAQ Assistant for either finite or continuous analog generation. I have configured my program to stop the analog generation at some point and then to start it again. When I restart the analog output, the application runs the one time before returning error -200547. Why do I receive this error?

Solution:
Error -200547 indicates that the write buffer has overflown:



You are receiving this error because the analog output task in the DAQ Assistant does not start again after it has stopped. The DAQ Assistant uses the ‘first call?’ VI to configure and start the task the first time that the DAQ Assistant is called in a program, but the DAQ Assistant does not use this VI again.

Therefore, when you stop the DAQ Assistant once and try restart it, the DAQmx Start VI never gets called again. You do not immediately receive error -200547 from the DAQ Assistant because the first run loads a buffer as normal. The second time the DAQ Assistant runs this program, the output buffer overflows because the task has never started. Then, you receive error -200547.

To correct this issue, use the standard DAQmx VIs instead of using the DAQ Assistant.

Related Links:

Attachments:


Error200547.JPG


Report Date: 03/15/2006
Last Updated: 04/07/2006
Document ID: 3VEKS601

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit