For example, you can configure loop A to execute first and generate data. You then can configure loop B to process that data when an iteration of loop A finishes. To ensure that both loops use the same start time as the basis for their execution, you can synchronize the start time of the Timed Loops.
Create the following diagram to synchronize the start of two or more Timed Loops that are executing on a single device.
Customize the gray sections for your unique programming goals.
If the start times of your Timed Loops do not align, verify that you did not add one Timed Loop to more than one synchronization group. By default, Synchronize Timed Structure Starts deletes a Timed Loop from its current group and adds it to the group you specify in synchronization group name on the node that executes last. If you set replace to False and a Timed Loop you specify in timed structure names is already a member of another group, the node returns an error to indicate that it could not add the Timed Loop to the synchronization group.