09-23-2005 10:02 AM
09-23-2005 10:22 AM
Jeff,
Hi again. This one stumped me for a while too when I was transitioning to DAQmx. It may be documented somewhere, but it didn't make itself obvious.
Counter input operations use a different triggering method/mechanism that's referred to as an "arm start" trigger. I work in LV so I don't know the C syntax, but try searching for "arm start" in your docs.
(For other readers: in LV, this cannot be setup with the regular DAQmx Trigger vi. You must use a DAQmx Trigger Property Node and specify your settings there.)
-Kevin P.
09-23-2005 02:22 PM
Thanks again Kevin for pointing me in the right direction .
For anyone interested, a digital edge arm start trigger for counter input tasks can be configured in C using:
DAQmxSetArmStartTrigType(taskHandle, DAQmx_Val_DigEdge);
The trigger source terminal and active edge can then be modified with:
DAQmxSetDigEdgeArmStartTrigSrc() and DAQmxGetDigEdgeArmStartTrigEdge().
09-26-2005 11:44 AM