03-09-2016 08:04 AM
Hello,
I'm using a single PCIe-6612 card to read six TTL Signals from different sources with different frequencies (25 Hz-100 KHz).
For every Counter there is a counter task (DAQmxCreateCICountEdgesChan()) and i read it with DAQmxReadCounterScalarU32() which for the span of the measurements is enough.
What I need is to put a common Timestamp from a highfrequency generator/source to every counter. As there is no other external source in the system I'm trying to generate it from the DAQ board.
I'm using:
DAQmxCreateCOPulseChanFreq(taskHandleTick,"Dev1/ctr0", "", DAQmx_Val_Hz,DAQmx_Val_Low, 0.0, 1000, 0.01));
DAQmxCfgImplicitTiming(taskHandleTick, DAQmx_Val_ContSamps, 1000);
which generates signal with configurable frequency, but how can I read it as it is on the output of ctr0? Or is there a better why to do that? Any suggestions are highly appreciated
03-09-2016 11:00 AM
Found the answer here:
just needed the DAQmxSetCICountEdgesTerm(...)function