useing NI-USB6216 to measure a displacement sensor
iwith vs2015,useing C++
Q1:after DAQmxErrChk (DAQmxCreateCILinEncoderChan (gTaskHandle, "Dev1/ctr0", "", DAQmx_Val_X4, 0, 0, DAQmx_Val_AHighBHigh, DAQmx_Val_Meters, 0.004, 0.0, ""));
there need to be a DAQmxCfgSampClkTiming?
Q2:after DAQmxStartTask,which read sentence should i use?DAQmxReadCounterF64 or DAQmxReadCounterScalarF64 or other read sentence?