LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Re: repeatability of words in an array

Yes, data will be coming from an instrument. Lets take an example data is coming from USRP and all the frequencies above threshold will be displayed in the Array A indicator and you are right data reservation will be correct terminology. I want that all the elements of Array A remain reserved in Array B. If I use only outer while loop as shown in pic below:

qureshi000_1-1725854868493.png

Data starts continuously writing in Array B as shown in pic below:

qureshi000_2-1725854918823.png

 

0 Kudos
Message 21 of 24
(206 Views)

The word "continuously" is very vague. You simply need to ensure that the loop only spins whenever new data arrives.

 

Currently, it spins millions of times per second creating duplicates and make you run out of memory quickly.

0 Kudos
Message 22 of 24
(201 Views)

Yes, You are right. It is spinning millions of times per second creating duplicates.

0 Kudos
Message 23 of 24
(196 Views)

Hi qureshi,

 


@qureshi000 wrote:

Yes, You are right. It is spinning millions of times per second creating duplicates.


Until now you only defined which data should be appended to array B.

Now you need to define when (at which time) those data should be appended…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 24 of 24
(178 Views)