08-24-2025 12:32 PM
Hello, I learning to use Counter Continuous Pulse Output on USB-6363 OEM. I used DAQmx Create Virtual Channel (VI) CO pulse time.
Though OK, I need to know what is the source (or time base) the counter is used to generate the Pulse train.
My goal is to create 3 synchronized continuous pulse outputs (ctn0,1,2) with defined delays and duty cycles for each.
Thanks!
08-26-2025 06:25 AM
By default the counter tasks will use the built-in 100 MHz timebase of the DAQ card (or possibly one of the slower timebases that's derived by dividing down the 100 MHz one.) You probably don't need to specify a timebase explicitly for your usage in generating pulse trains. Look at the shipping examples for pulse train generation and you'll see that those don't specify a timebase either and they work just fine.
To sync up 3 pulse trains, they should be configured for a start trigger from a signal you can control so that you can be sure all tasks are started before you assert the trigger. Often this can be on of the DO lines that also has a PFI designation for use by the counters. It sounds like you'll also need to make use of the 'initial delay' setting that the shipping examples (unfortunately) do not illustrate.
-Kevin P
09-02-2025 09:07 AM
Thank you!
This is very helpful.