For my SPI application I'm using a sample clock generated by using the frequency generator of the USB 6229 oem card. I use the default output PFI
line from the frequency generator (PFI14 for USB 6229 oem). I use the function DAQmxCreateCOPulseChanFreq to generate a frequency.
Everything works fine. However I still have not figured out how I can
generate frequencies higher than 100kHz with the frequency generator.
I
tried for example to output a clock of 200kHz, but the clock I received
on the scope is then 630kHz. I don't have a clue where that number
comes from.
According to the DAQ M series user manual it should be possible to
choose between 2 input clocks (20MHz and 100kHz). In my case it seems
to be connected to the 100kHz. How can I configure this to be the 20MHz clock? The
function DAQmxCreateCOPulseChanFreq doesn't seem to have a parameter to choose between the 2 clocks. Thx,