11-25-2013 11:19 AM
I have to actually change the scan rate with changes in frequency....My scan
rate is calculated as follows.
scan rate=40Mhz/16*fin
for example for an incoming frequency of 10 khz, my scan rate would be 250
If suppose the incoming frequency is changed, I want the scan rate to be
changed automatically so that the frequency of the look up table is updated.
How should this be done please help
11-25-2013 07:43 PM
scan rate of what?
what lookup table?
http://zone.ni.com/reference/en-XX/help/371361J-01/glang/numeric_functions/ has info on various numeric functions you might need.
11-26-2013 02:55 AM
its a 16 bit look up table to generate a sine wave..
11-26-2013 03:00 AM
What kind of hardware is this?
11-26-2013 04:49 AM
FPGA
11-26-2013 04:53 AM
Please check these files......
11-26-2013 07:14 AM
First of all, Hello at all
Please cooperate in a more professional way.
LabVIEW FPGA programming is not LabVIEW programming.
Getting Started with the FPGA Module
http://zone.ni.com/reference/en-XX/help/371599J-01/lvfpgahelp/fpga_getting_started/
FPGA PXI 7854R
The LoopTimer FPGA VI should placed in a sequence before the main code for a correct behavior.
In the Options from this vi you can chance the first setting from tics to ms, so that you can calculate your LoopTiming/Scan Rate in Hz.
To determine the frequency from the incoming signal, i would suggest to make a FFT with the signal and search for the maximum.
The next step is to validate the count of tics, which your code need and whether the time exceed the "Scan Rate".
I don't understand what you mean with your "LOT" ? Is this a memory Block or a Register? ( In your project I miss 3 vi´s)
Please explain your idea more precisely.
Best Regards
Simon
11-26-2013 08:30 AM
11-26-2013 09:25 AM
Look up table is LUT
11-26-2013 09:37 AM
Hallo Sunu,
hast du aktuell irgendwelche konkreten Fragen, die du beantwortet haben möchtest?
Regards, Fabian