Page 1 of 1

Prediction Node help for Newbie.

PostPosted: Tue Jul 25, 2017 8:29 pm
by pdunlevy
Hi,

I'm completely new to WD and trying to get understand how to use the prediction node. Is there any samples/libraries I could look at and learn from?

Specifically I want to do this:
UDP input node: Input received every 5 seconds starting at 0, up to 1500, then reset to 0 & repeat.
Range node: Change 0-1500 to 0-10500

With just that I get output the jumps in blocks of 7 (0, 7, 14, 21, ... , 10500, 0, 7), but I want to smooth that out and get 0,1,2,3,...etc

I got it nearly right with a Damping Timed Node, but it's not smooth enough so I thought the Prediction node might work. So far I can't figure out how to configure it to do that. I'm a complete Newbie so maybe I should be looking at an different Node? Any suggestions or pointers would be very much appreciated.

Thanks,
Paul.

Re: Prediction Node help for Newbie.

PostPosted: Mon Aug 28, 2017 3:06 pm
by chrisr
Is it ALWAYS in multiples of 7?

Re: Prediction Node help for Newbie.

PostPosted: Mon Aug 28, 2017 3:09 pm
by chrisr
Try a range node

INPUTS would be 0 - 10500 like you described.

and the Range would be 0 - 1500 ( multiple of 7 from 10500) try that it should give you what you're looking for.

Re: Prediction Node help for Newbie.

PostPosted: Fri Sep 01, 2017 2:55 pm
by chrisr
Paul, did that work for you?

you should have gotten a 0123456.... after the range node. Just checking!!

Have a great weekend.

Chris