Main siteMain site  ForumForum  ForumSearch  Private messageEmail contact  RegisterRegister  Log inLog in 
Topic: Average Float Time Transform
Reply to topic
Author Message

Joined: Apr 15, 2019
Posts: 67

PostPosted: Jul 1, 2019 1:09 AM    Post subject: Average Float Time Transform

I have an F_TimeTransform and I'd like to take the Average over the last 1.0 second. I'm getting NaN when I output the value to an F_Debugger element. I can set other values, like MIN, MAX, VARIANCE and I see numbers. Any idea why this may occur? I've tried changing the other settings in the element but there's no change.

Time Period: 1.0
Synchronizing value: 0
Down Sampling: not checked
Pre processing: not checked
Processing function: AVERAGE

Joined: Oct 22, 2007
Posts: 721

PostPosted: Jul 1, 2019 9:52 AM    Post subject:

Unless this is a bug, a NaN on the output is usually caused by a NaN or Infinity value on the input. Only one NaN on the input can completely change the entire output (when it is kept in buffer like it is the case with TimeTransform). So check if that happens.

If not, then try to create a snippet and send it to me.
Reply to topic