09-04-2007 02:26 PM
DAQmxCreateTask(
"Position",&NI_taskHandle);DAQmxCreateCIAngEncoderChan(NI_taskHandle,
"Dev1/ctr0","",DAQmx_Val_X4,TRUE,0.0,DAQmx_Val_AHighBHigh,DAQmx_Val_Ticks,1024,fTicks,"");DAQmxCfgSampClkTiming(NI_taskHandle,"/Dev1/PFI34",1000.0,DAQmx_Val_Rising,DAQmx_Val_ContSamps,1);
2. What is the reason for the Error Code -200141
(Data was overwritten before it could be read by the system. If Data Transfer Mechanism is Interrupts, try using DMA. Otherwise, divide the input signal before taking the measurement)
Thank you for our help!
09-06-2007 03:10 AM