06-06-2017 06:16 AM
hi everyone,
i am not sure if this is the right forum. i develop a c++ program that should be able to change the sampleRate for a USB-6210. when i do this, i get a -200877 error (see attachment).
while the message explains a lot, a cannot solve the problem doing this:
DAQmxErrChk(DAQmxCfgSampClkTiming(getHandle(), nullptr, sampleRate, DAQmx_Val_Rising, DAQmx_Val_ContSamps, getDeviceConfig()->getScanBlockSize()));
uInt32 val = getDeviceConfig()->getScanBlockSize() * 125; DAQmxErrChk(DAQmxSetBufInputBufSize(getHandle(), val));
what am i missing?
thank you!
06-16-2017 08:49 AM
Hi mael15,
I found one thread which is pretty similar to your problem:
Does this help you?