Using a NI DAQ USB-6363 to generate clock signal

Hi,
I'm trying to use this DAQ to generate the clock signal to my chip since noticing this DAQ can be used as a frequency gnerator.
I read from datasheet that the base clocks of this DAQ are 20 MHz, 10 MHz and 100 kHz while the divisors are from 1 to 16. I would like to use this to generate a 2 MHz clock signal.
My question is that should I use addClock connection or add counter channel to generate this clock signal. Is there any specific channels I should add to access this
generator and any examples on this?
Thank you,
KD

3 Comments

Did you ever solve this issue. I am having a similar problem. My sample rate falls between 100kHz and 20 MHz and I cannot figure out how to set a different rate.
I used labview in stead of MATLAB to generate the clock, which is way more easier.
If you only need to generate a pulse waveform of a certain frequency, you can use an output channel with PulseGeneration measurement type:

Sign in to comment.

Answers (0)

Products

Asked:

on 16 Oct 2019

Commented:

on 8 Feb 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!