From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Setting NI5641R ADC/DAC IQ rate

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

0 Kudos
Message 1 of 2
(2,254 Views)

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).

0 Kudos
Message 2 of 2
(2,204 Views)