FIXED:timerCHOP crashes TD 12480

Hello Everyone,

WIN10 - 22H2 - 19045.6466

TD 12480

If the timer is initialized, i set the base1 to allow.cooking = True

All Good.

But when my code on “done” is activated ““base1 to allow.cooking = False”” TD Crashes

Crash is caused by the rectangle1 inside the base.

Best wishes

timerCrash.2.toe (4.0 KB)

Thanks for the example.
We’re working on a fix,

But to confirm, what are you trying to achieve with controlling the allowCooking flag in this case?
Setting Timer, Active : While Running stops downstream cooking when its done as is for example.

Cheers,
Rob.

Hello Rob and thank you for your reply.

Well, i was testing different ideas with different “loading bars”.

So turning off the ones i did not need was the idea and changing from one “design” to another.

Best wishes

Cool. The allowCooking flag is somewhat heavy, so you might get a more robust solution using Switch operators for example. The Timer CHOP is set to stop cooking when done, so any switch operators with reference to it would also stop.
We’ll keep working on a solution though.
Thanks for the example.
Rob

1 Like

I understand =)

My Solution was to change the OP.par.xx.mode = ParMode.CONSTANT

allowCooking = False

And if i need to enable it again.

OP.par.xx.mode = ParMode.EXPRESSION

allowCooking = True

So the error is just prevented and i can keep on testing.

Best wishes and great Job with TD

Right.
So I’d still recommend exploring options without changing allowCooking.
If you come up with a scenario where its still cooking, but you think it shouldn’t just share here and we’ll be happy to take a closer look.
In the meantime, your original crash will now be fixed in builds 2023.12610 and later.
Cheers.