Hello,

After creation of a factory sensors with Channel Definitons, like:

#1:Pingtime[ms]
Avg(Channel(12641,0),Channel(2147,0),Channel(2474,0))

I get this error code:

The validation of at least one of the new objects failed because of the following: Error in channel "Pingtime [ms]" (1) : ) expected. (code: PE2002)

Another factory sensor using same syntax with another channels are working. All Sensor-ID's and Channel exists. But in such a case antother error message would appear.

Steffen


Article Comments

Hello,

The average-function can only work with two source channels. Please correct this in your definition. If you need more than 2 source values, try rewriting this into an addition of the values, followed by a division by the number of values.

best regards.


Apr, 2015 - Permalink

This worked for me:

#4:Average ping [ms]
avg(Channel(2713,0),avg( Channel(2457,0),Channel(2710,0) ))

Nov, 2015 - Permalink

The avg-function in the Factory Sensor is only intended for two values. Please do not use more than two, this may lead to wrong results.


Nov, 2015 - Permalink