Quantcast
Channel: Digital I/O topics
Viewing all articles
Browse latest Browse all 2181

How to read the counter input edge source

$
0
0
DAQmxCreateCICountEdgesChan(taskHandle1,"Dev1/ctr0","",DAQmx_Val_Rising,0,DAQmx_Val_CountUp);
DAQmxReadCounterScalarU32(taskHandle1, 10.0, &data12, NULL);

with above two line we can read the counter input but by defaoult it uses PFI0 edge sorce if i want to read it with to PFI1 how can I do it please help. Thanks in Advance

Viewing all articles
Browse latest Browse all 2181

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>