I have two CHOP-streams, one that receives its cooked inputs earlier during a frame than the other. How can I synchronize both streams, such that the earlier CHOP only updates its value once the “slower” CHOP has cooked?
How is the fast and slow computation being done? If they are done using CHOPs, then things are already synchronized for you. Anything using the output from null1 and null4 will only start doing it’s work once null1 and null4 have finished cooking.
Hey, the slow computation part uses a script which fills a table, which is later converted to a CHOP. I think the problem is, that the script breaks the dependency link.
Yeah, depending on when the script executes it may occur before or after the other node tries to use what it’s filling. Probably the best way right now to handle this is make sure the script executes first by cooking/running it in a Execute DAT onFrameStart() callback.
Thanks for your suggestion. The problem is, that the script is not always supposed to run, but if it runs, it should be in sync with the rest of the computation graph. I think I need to tell the table DAT something like: “You are going to be filled by this script op, so create a fake dependency and wait for the script op finish cooking before you push your content to the next node”. Can this be done somehow?
trying to replicate this here in order to find a solution - are there 2 individual events triggering the changes? Can you share the section of the network?
I wonder also if the fast CHOP chain could somehow reference the slow CHOP chain to establish a dependency?