LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a FIFO array?

Hi J-Spin,

 

Many thanks for the helps. I get a good result. Beside this, do you know how to put the FIFO SubVI inside a Table Control.

0 Kudos
Message 11 of 14
(2,127 Views)

@GaBrieLLiao wrote:

... do you know how to put the FIFO SubVI inside a Table Control.


That question makes absolutely no sense. Can you clarify what you mean by that?

 

(A table control is a front panel object (typically indicator) and cannot contain code.)

0 Kudos
Message 12 of 14
(2,109 Views)

hey sean 

how did you get your thing working

can you explain it ?

 

i need to add values continuously to a fixed size fifo array 

 

all helps are welcomed

0 Kudos
Message 13 of 14
(1,910 Views)

AnVajpeyi wrote:

i need to add values continuously to a fixed size fifo array 


You also need code to remove the oldest element from the buffer, right? (else it won't be "fixed size" :D.

 

simplest would be to keep a fixed size array in a shift register and keep track of the insert point. Read the oldest value from the insert point before overwriting it with the newest value. There is also the data queue ptbypt tool. What have you tried so far?

0 Kudos
Message 14 of 14
(1,894 Views)