Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

PCI-6281 How to use80 mHZ timebase for A/d and D/A sample clocks

Does anyone know how to use the 80 mHZ internal clock as the timebase for my A/D and D/A sample clocks rather than the default 20 mHZ timebase?

I am using straight NI-DAQmx version 8.3 with C code. No Lab View, no Measurement Studio.

I have an application which uses the D/A to generate a sequence that is collected by the A/D.  The D/A is clocked out at an integral multiple of the A/D clock.  In order to maintain this integral relationship I can only use a limited set of Sample Clock Timebase Divisor pairs (as returned by DAQmxGetSampClkTimebaseDiv).  This means that am further from my desired base frequency than normal.  For example, using the degault 20 mHZ timebase, if I want a 2000 hz center fequency, the closest I can get is 2003.205 hz.

I cannot find anyway to use the 80 mHZ internal clock as the timebase for my A/D and D/A sample clocks.  If I could, it would be possible to get closer to my desired center frequency.
0 Kudos
Message 1 of 2
(3,342 Views)
Post is responded to in the multifunction DAQ forumn.

PCI-6281 How to use80 mHZ timebase for A/d and D/A sample clocks

Have a good one.

Michael D
Applications Engineering
National Instruments
0 Kudos
Message 2 of 2
(3,329 Views)