Do not pass the "Actual sample period" between the loops. This blocks the second loop that will wait indefinitely for the first one to stop that's called "dependency".
Instead, create an "Actual sample period" indicator in the first loop, then create a local variable of this indicator, put it in the second loop and wire to the div nodes.
If you want to explore other solutions to the loop synchronization problem, you could have (latter !) a look to the "Queue" function.
Keep wiring !
CC
Chilly Charly (aka CC)