11-09-2006 09:07 AM
Hi Kevin,
I should have mentioned that there is a ni560R Reset DAC VI that you should use. Try using that VI and let me know how it goes.
- Mauricio
11-09-2006 09:25 AM
OK, I did two Write Node VIs for the DAC, the first one sets Reset TRUE, the second one sets Reset FALSE. I assumed it was a one-shot find of thing. I still had the fixed phase offset, also I tried adding two ADC0 Reset nodes to toggle the reset after the ADC NCO VI in the Receive Frequency case. I ran the Host, but the VI timed out on a FIFO read operation. I set both of the ADC0 Resets to FALSE, and when I ran it the two DAC outputs were phase-aligned. Can you give me any more information on this?
Thanks,
Kevin
11-09-2006 09:26 AM
11-10-2006 07:55 AM
Mauricio,
That did the trick! I am in phase and unaffected by input frequency changes. However, after making this change, I am unable to run both the FPGA vi and the Host VI. The FPGA VI runs OK the first time I start up LabVIEW, but when I tried to start the Host, I got a Communications Error dialog. When I stopped the FPGA VI and tried to restart it, I got the same error for the FPGA VI. Is there something I need to configure in the Host VI?
11-10-2006 08:04 AM
11-10-2006 10:13 AM
Hi Kevin,
You should never run the FPGA VI by iteslf. The first subVI in the Host VI opens and runs the FPGA for you. I can't really comment on the behavior you're seeing because I'm not sure what exactly happens when you explicitly run both.
- Mauricio
11-14-2006 08:13 AM
OK - I'm ready to take the next step for our application. Thanks to your help, I've been able to produce the matched filters with the response that we are looking for. Now we need to do some signal processing and conditioning in real time, and I'd like some advice on the best way to accomplish this, because it seems like there may be different was to do it.
What I would like to do, is periodically (somewhere around 100 -1000 Hz rate) determine the phase difference between my two input signals, and adjust the phase of one signal to match that of the other. Once the phase is adjusted, I'd like to match the amplitude of the two signals.
It seems like there are hardware features that could perhaps be taken advantage of in doing this. The NCO can be programmed with a phase offset, the DAC has a Scale Factor, and there is AGC circuitry available (which might be able to perform the amplitude matching for me?
Right now, I am using the Simultaneous Programming feature of the board to create the deterministic, matched phase on startup. Will I be able to deterministically adjust the phase using the phase offset of the NCO, i.e. can this happen 'on the fly'? Or is there a better way to do some of these things, such as in the FPGA?
Regards,
Kevin
11-15-2006 02:02 PM
06-22-2007 11:15 PM
Hello Mauricio
I tried to close Costas loop by the first mechanism you proposed (set ADC phase offset then SoftSync), but without success. May be the reason lies in bit <2> Clear NCO Accumulator? Do you know the exact difference between start sync and hop sync?
I still hope the proposed mechanism should work
Thanks in advance
06-25-2007 03:58 AM
hi
I'd like to simplify the question. We have Analog Input and Output example with minor additions (see attached). The baseband input is simply 16x(1+0*i). I see a single point on constellation plot and its polar angle varies each time I start and stop host vi. I expect the cheange of the polar angle of the point after altering the DDC phase on the fly, but nothing occurs.
Thanks in advance