取消
显示结果 
搜索替代 
您的意思是: 

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 项奖励
11 条消息(共 14 条)
2,724 次查看

@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 项奖励
12 条消息(共 14 条)
2,706 次查看

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 项奖励
13 条消息(共 14 条)
2,507 次查看

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 项奖励
14 条消息(共 14 条)
2,491 次查看