LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a fixed size array Producer-Consumer loop

Hello,

I already uploaded my code because of some issues I was facing. I improved my code a bit. I am reading samples from FPGA and on the PC side; I want to store only a specific number of elements. For example, if I want to store 10 elements in an array, after 10 elements I want to remove the oldest element and place a new one in its place how can I do that any suggestions. So in this way, I want to remove old elements one by one and place new ones keeping the array size constant.

 

I have attached my code with the post.

0 Kudos
Message 1 of 3
(1,722 Views)

Hi kazmi,

 

you really should know this when you are working with FPGA code:

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(1,682 Views)

Hello Gerd,

 

Solved it already thanks a lot for the reply.

0 Kudos
Message 3 of 3
(1,676 Views)