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

Calculating RMS value of data samples in RT

Hi

Thanks for your reply.

 

In order to latch the present value until next value is calculated I should use a shift register right. I am not sure how I can use "result valid" boolean. Thanks.

0 项奖励
11 条消息(共 14 条)
914 次查看
Yes, feedback node or shift register.  you could also use conditional structure and global or indicator. Kind of hard to recommend without knowing more about what you are doing.
Stu
0 项奖励
12 条消息(共 14 条)
912 次查看

Hi,

Did you mean case structure instead of conditional structure? Thanks.

0 项奖励
13 条消息(共 14 条)
899 次查看
yes, you could use a case structure to hold on to the value if it's valid, or to ignore it otherwise
Misha
0 项奖励
14 条消息(共 14 条)
885 次查看