10-24-2007 10:22 AM
10-24-2007 11:10 AM
Adding a few more notes:
I am using labView 8.2.1
Daqmx 8.3.0f3
10-25-2007 03:22 PM - edited 10-25-2007 03:22 PM
Message Edited by Paul C. on 10-25-2007 03:22 PM
10-26-2007 08:29 AM
Paul,
I am not sure the accuracy fo the 5kHz clock. I will test that later today. For devloping this application I have been using an SRS15 MHz FGEN which has much less than 25ppm accuracy, but the clock I will actually use in the project will be less accurate.
In the end I need to generate a series of digital triggers that are synched with this 5kHz clock. So I planned to generate a fast clock fromt he 5kHz clock and use it as the digital output clock. Then my digital outputs should be synched to the original 5kHz clock.
In my hardware I was using a PXI6289 but I do have a 7811R on hand as well. I have tried doing this with FPGA and it has then same problem as the demo that I have been talking about. So I think what I am going to try this morning is going from generating a frequency pulse train to specifying clock ticks and make sure that it ends a little before so that it can be retirggered and as lock as the number of clock ticks is only a small percentage of the 50KHz frequency then it will not really be noticed too much in the digital signal. At least this is what I am hoping.
I am interested in the PLL solution becuase it does not require FPGA. Do you have any examples to get me started?
10-29-2007 06:32 PM
10-29-2007 09:21 PM
Paul,
I sucsesfully made a 50kHz signal from a 5kHz signal using an 7811R and LabVIEW FPGA. Basically the code looks for the rising edge of the 5kHz on one of the digial inputs. Then outputs 4 pulses at a rate of 50kHz. Then 1 half cycle at 50kHz and then last half cycle using clock ticks and I optimized the clock ticks so that the card would not miss a trigger. I then used this clock succesfully as the digial output clock of my 6289 and the digital outs are synched to the 5kHz clock. I used a digital start trigger for the digital output to ensure synchronization of the digital out the 5kHz.
This works pretty well. There is about 100ns of gitter, which I measured with an Oscope.