This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

Error -200609 When Using NI-DAQmx Output Tasks

Updated Aug 31, 2022

Reported In

Driver

  • NI-DAQmx

Issue Details

I am trying to write an analog/digital/counter output using the DAQmx Write VI, and sometimes I receive the following error: 

Error -200609 occurred at DAQmx Write (Analog 1D Wfm NChan NSamp).vi:6390001

Generation cannot be started, because the selected buffer size is too small. 

Increase the buffer size.
 


 
Why do I receive this error and how can I correct this problem?

Solution

There are 3 ways to resolve this issue depends on your application.

1. Writing multiple samples to the buffer at a time:


2. Writing single samples at a time with Hardware Timed Single Point (HWTSP)


3. Writing single samples at a time with On Demand

Additional Information

Error -200609 is caused when the amount of data being placed into an output buffer is too small. This typically occurs when a single value (per channel) is being inserted into an output buffer that is not configured for single-point DAQmx writes. This error is a result of the fact that Finite Samples and Continuous Samples sample modes require a minimum buffer size of 2.