LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Accumulator in FPGA

I need help to do a specific accumulator.
Data is retrieved in FPGA by an array of 2 consecutive sample

I need to do an accumulator with input N, N+1, N+2, N+3, etc.

If the input is only 1 sample, the function exist un FPGA module. Here, the problem is that I retrieve 2 samples each time.
How do an accumulator with theses inputs ?

0 Kudos
Message 1 of 4
(3,315 Views)

Hi Minikisscool,

 

you might do the math on your own without any specific "Accumulator" function.

Or you might call the Accumulator function twice in a loop…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(3,296 Views)

In LabVIEW standard, I have the code, but in FPGA, i use a Single-Cycle Timed Loop in FPGA acquisition...

0 Kudos
Message 3 of 4
(3,273 Views)

Hi Minikisscool,

 

in "standard" LabVIEW you should use autoindexing on the loop input tunnel too!

 

Maybe you need something like this in LV-FPGA:

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(3,268 Views)