LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I configure the frequency generator for frequencies higher than 100kHz?

Hello all,

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,

Bert
0 Kudos
Message 1 of 3
(2,960 Views)
The solution for my problem is explained in another topic (topic title 'SPI interface' in the 'Multifunction DAQ' forum).
Thanks to Joris D.

Bert
0 Kudos
Message 2 of 3
(2,938 Views)