11-11-2006 11:54 AM
11-11-2006 08:30 PM
11-12-2006 01:54 PM
alright mauricio, i have the DAC_0_data and the DAC_0_txenable I/O nodes set up, and a true/false control is wired to the DAC_0_Txenable. i'm not too sure what the Txenable is doing, but i think i can find out. My issue is with the generation of the sine wave using DDS. So the sine look-up tables and phase accumulator should generate an output that goes to the DAC_0_data block, which can be read in the Host VI. There is an input to the DDS that concerns me though, called "Message," that apparently contains the frequency that the sine wave will be generated at. I'm not sure what sort of signal this would be, or how to generate it in the timed loop that I created that runs on a DAC_0_IQ clock. What sort of signal should this "message" be? I'm sorry if it seems like i am posting too frequently, but i'm learning a lot about the IF-RIO and things are becoming much clearer than they were. So thanks a lot for your help
11-12-2006 09:16 PM
The screenshots that I sent you were for doing FM Modulation, that's why the control was called "message". In your case, this will be a constant value, usually called "frequency tuning word" or "phase increment", which determines the frequency of the sine. You can find more info about DDS here: http://en.wikipedia.org/wiki/Direct_Digital_Synthesis. One last comment, the DAC takes in interleaved I and Q values, which means that in the first clock cycle (the one in which you assert TxEnable) you must provide the DAC Data with the first I value, the next clock cycle with the Q, the next with the second I, and so forth.