03-14-2012 10:52 AM
Hi,
I am using a NI5641R board and I am programming it using the LabVIEW FPGA Module.
How can I set the IQ rate of the ADCs and of the DACs?
I am looking into the library that comes with the board but I cannot find any VI (or combination of VIs) to set the IQ rates.
Thank you
03-27-2012 07:06 AM
Probably, I have found the solution.
I post it for those who are interested. Of course, comments are welcome.
IQ rate at the output of the ADC (downconversion):
- use "ni5640R ADC Configure NCO.vi" VI to configure the sampling frequency (e.g. sample frequency= 100 MHz);
- use "ni5640R ADC Configure DDC.vi" VI to configure the decimation (e.g. decimation=4);
- than, the resulting IQ rate is: sampling frequency/decimation (e.g. 100/4=25).
IQ rate at the input of the DAC (upconversion):
- use "ni5640R DAC Configure for Quadrature Mode.vi" VI to configure the CIC Interpolation Factor (remember that there is an addictional fixed interpolation factor of 4);
- than, the resulting IQ rate is:: 200M/(4*CIC Interpolation Factor).