Thanks for the info:
I found the solution earlier this week: I used: DAQmxSetBufInputBufSize(taskhandle, 1200)
I have the following code in my app, I show you this to make sure it is in the right order. It is working so I am just double checking with someone else. Also, I am grabbing 300 samples from 4 analog (voltage) channels for 3 seconds. I had my buffer at 3000 just to have some high number, but today I put it at 1200 just to fit exactly 1200 data points. After I have the 1200 I save them to a file (and other arrays).
DAQmxErrChk (DAQmxCreateTask("", taskhandle))
DAQmxErrChk (DAQmxCreateAIVoltageChan(taskhandle, channel, "", DAQmx_Val_Cfg_Default, minVoltage, maxVoltage, DAQmx_Val_VoltageUnits2_Volts, vbNullString))
DAQmxErrChk (DAQmxSetBufInputBufSize(taskhandle, 1200))
DAQmxErrChk (DAQmxCfgSampClkTiming(taskhandle, "", SampleRateTextBox.Text, DAQmx_Val_Rising, DAQmx_Val_AcquisitionType_ContSamps, samplesPerChannelPerRead))