09-23-2020 03:20 AM
Hi.
I'm using LabVIEW FPGA with a FlexRIO PXIe 7971R and an adapter 5783. My goal is to implement a window to scale my acquired signal before doing a FFT in a SCTL. For my case, something as close as possible to a rectangular window would be perfect (the energy vs time distribution is extremely uneven and i want a good signal-to-noise ratio)
I saw that the Scaled Window Express VI have a implementation option: Show coefficient index terminal
I looked at the LabVIEW help and I did not found what is was.
https://zone.ni.com/reference/en-XX/help/371599P-01/lvfpga/fpga_scaled_window/
My questions are:
What does it do? How does it work?
What is the range of coefficient?
Can i change it to be close to a rectangular window but also to keep the "Apodization" effect at the borders of my signal?
Thank you deeply
Solved! Go to Solution.
10-09-2020 08:31 AM
Any Express VI can be converted to a SubVI and Block Diagram can be observed to know the functionality.
Since 5783 handles single sample per clock cycle at 100MHz, this VI may be reusable. It simply does store window data at compile by using "Configure Look-Up Table 1D", which is another ExpressVI you may also can convert it to SubVI.
If window coefficients are desired to be variable with same bitfile, "NI 5783 - Getting Started (FPGA).vi" Example VI is helpful. The example shows how to use BlockRAM as a circular buffer. This implementation can be reused to generate same window coefficients repeatedly.
Another example of circular buffer by BlockRAM is also shown on example code for Integrated IO FlexRIO such as PXIe-5745.
If any better Windowing IP is desired such as 4-wired handshake support, etc, it is not available with default function palette and may be accomplished with helps by software integrators.
Hope this helps.
11-10-2020 08:43 AM
Thank you!