LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

refresh rate updation

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

 

0 Kudos
Message 1 of 11
(3,261 Views)

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.

0 Kudos
Message 2 of 11
(3,239 Views)

its a 16 bit look up table to generate a sine wave..

0 Kudos
Message 3 of 11
(3,223 Views)

What kind of hardware is this?

0 Kudos
Message 4 of 11
(3,219 Views)

FPGA

0 Kudos
Message 5 of 11
(3,192 Views)

Please check these files......

0 Kudos
Message 6 of 11
(3,189 Views)

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

Message 7 of 11
(3,175 Views)

You've already started a thread on this.

 

Duplicate Post

0 Kudos
Message 8 of 11
(3,157 Views)

Look up table is LUT

0 Kudos
Message 9 of 11
(3,134 Views)

Hallo Sunu, 

 

hast du aktuell irgendwelche konkreten Fragen, die du beantwortet haben möchtest?

 

Regards, Fabian

0 Kudos
Message 10 of 11
(3,121 Views)