10-04-2005 05:05 AM
DAQmxCreateTask ("",taskHandle);
DAQmxCreateCICountEdgesChan (*taskHandle,counter,"",DAQmx_Val_Falling, 50, DAQmx_Val_CountUp);
DAQmxReadCounterScalarU32 (pro_success, -1, &value, NULL);
but it always yields wrong readings,and i tried to use the example VC_CntDigEv and also gave me wrong readings. some time the counter count with step 3 or 5 or random,more over i tried to generate the pulse with Bush bottum but the same wrong results yielded.I approsciate any idea about this problem.
Mohsen
10-07-2005 02:09 AM
10-25-2005 09:27 AM
10-26-2005 03:28 PM