In our system, we need two fastino channel to control two module at the same time. So I packaging them in two function to control that two fastino channel output ramp signal(the code in fig1) ,and then call the function under with parallel block. As the result, I receive the underflow error. In the other hand, I write two 'for loop' with set_dac() to out put ramp signal(the code in fig2), then I can get right output.
It seems like the packaging process resulted in addition delays, how can I let the packaging code work?