RSView Averaging


Thread Starter


Ok I am trying to use rsview to average a row of 10 integers. The hard part is omitting the zeros. if one of the integers report as zero the divisor should change. Is it possible to keep a running average on 10 tags using only the expression logic in rs view?

Gerald Beaudoin

Not sure if it can be done in RSView but... the ControlLogix processors have some great instructions in the function blocks for doing things like that. The SSUM, selective sum, is perfect for eliminating those zeros.

Gerald Beaudoin