Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

error 200877 when trying to change the sample rate

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(), nullptrsampleRateDAQmx_Val_RisingDAQmx_Val_ContSampsgetDeviceConfig()->getScanBlockSize()));
uInt32 val = getDeviceConfig()->getScanBlockSize() * 125; DAQmxErrChk(DAQmxSetBufInputBufSize(getHandle(), val));

what am i missing?

thank you!

0 Kudos
Message 1 of 2
(2,353 Views)

Hi mael15,

 

I found one thread which is pretty similar to your problem:

 

http://forums.ni.com/t5/LabWindows-CVI/Problem-in-ANSI-C-Example-TDMS-ContAcq-IntClk-Error-200877/m-...

 

Does this help you?

0 Kudos
Message 2 of 2
(2,274 Views)