IF-RIO

cancel
Showing results for 
Search instead for 
Did you mean: 

Help with "Output Scale Factor" in "Frequency Translation" Example (5640R)

Hi:

I've been modifying the "Frequency Translation" example to have a Variable Phase Offset and a Variable Gain.
Until now (after quite some effort) I've been able to modify the program to have a variable NCO Phase Offset by directly writing into the registers of the ADC.

Now I want to have a variable gain by connecting a control directly into the "Output Scale Factor" (OSF) pin from the "ni5640r DAC Configure for Quadrature Mode.vi"

I've been working with the "ni5640r DAC Configure for Quadrature Mode.vi" in other examples such as "Input and Output".  In such program, when the OSF increases, I can see a signal in the oscilloscope which also increases in amplitude.

Unfortunately, this is not the case in the "Frequency Translation" example: I connected a control to the OSF pin, and when runing the program, everything works perfectly.  I can see in the HOST the spectrum of a sine wave which i am feeding directly to the INPUT, and i can also see the "frequency translated" wave generated in the OUTPUT of the FPGA, with the aid of an oscilloscope.  

The problem is that when the program is running at a given  OSF, any change in its value, KILLS the output signal.  I've tried a lot of different solutions, but still I can't get over ths obstacle. 

Any suggestions?
0 Kudos
Message 1 of 2
(5,839 Views)
HI antonio,
i have some problem to generate modulated wave.plz help me
see my problem in this URL:
http://forums.ni.com/ni/board/message?board.id=ifrio&thread.id=647
Thanking you so much

0 Kudos
Message 2 of 2
(5,452 Views)