Hi everyone,
I am looking for a possibility to generate a finite buffered counter output with varying pulse widths, using the X-Series. I am working in C / Python.
I want to output two pulses triggered to an external signal. The first pulse should be short, the second pulse long.
The following code outputs only two identical pulses. How can I modify it to output two different pulses?
CreateCOPulseChanTicks(channel,"","100MhzTimebase",DAQmx_Val_Low,0,300,300)
CfgImplicitTiming(DAQmx_Val_FiniteSamps,2) #output two pulses
CfgDigEdgeStartTrig(src,DAQmx_Val_Falling) #external signal
SetStartTrigRetriggerable(True) #retrigger
Best Regards,
Stefan