Into DigPulseTrain-Cont-PauseTrig example I saw this configuration for a continuous digital pulse train based on an external digital pause trigger, but I would like to know how to define this channel based on ticks. And another to base it on time.
DAQmxErrChk (DAQmxCreateCOPulseChanFreq(taskHandle,chan,"",DAQmx_Val_Hz,idle,0.0,freq,duty));
DAQmxErrChk (DAQmxSetTrigAttribute(taskHandle,DAQmx_PauseTrig_Type,DAQmx_Val_DigLvl));
DAQmxErrChk (DAQmxSetTrigAttribute(taskHandle,DAQmx_DigLvl_PauseTrig_Src,triggerSource));
DAQmxErrChk (DAQmxSetTrigAttribute (taskHandle, DAQmx_DigLvl_PauseTrig_When,pauseWhen));
DAQmxErrChk (DAQmxCfgImplicitTiming(taskHandle,DAQmx_Val_ContSamps,1000));
Thanks