i have some issues on my TD osc project, i’m sending through an OSC out DAT values from a curve, the condition that im using on my OSC out DAT is Whileon. Looking through Protokol i noticed that i can’t send clean 0 values or negative values, but if i use on values change all values are sended but if there’s some still values in time i can send it only once.
i don’t know if i explained right but my question is: there’s a method to send clean 0s in whileon condition or in the other hand is possible use value changes but sending constant value though the time ?
that’s my setup, the final output of my values will be stepper motors or brushless motors.
Working on plc (to receive and translate output values), we noticed that OSC out CHOP send unwanted values complicating plc coding, this problem doesn’t happen when using this OSC out DAT setup.
That’s why, for now, i’m restricted to use DAT instead CHOP.
There’s a way to force the DAT to fire 0 too insted >0 values only?
the whileOn callback will execute every frame that a channel’s value is >0 hence a value that is 0 or below will not trigger the whileOn callback.
Do you need to always send all values or only if the value changed?
One simple adjustment could be to just use the same code from the whileOn callback in the whileOff callback which would now catch all values 0 or below.
You could also consider using a Execute DAT instead and run your code slightly adjusted from the onFrameStart callback.
Thanks a lot Markus!, using while off condition make it works as I figured it, i feel a bit dumb to not try this before, thanks again for ur work in this community