No problem, the producer should work properly in the inner loop, there will not be any delay. But I am not sure whether your state machine should work properly for you project, you should just run and see the result. Run it , debug it.
And for your question in the image, no, no need to use a shift register at that position.
再麻烦解答一个问题:
labview中 功能全局变量 可以同时读吗
普通全局变量在使用时会复制副本,增加开销,但全局变量可以同时访问,所以可以用来做线程间操作的统一开关
不知道上面这句话,我说得对不对有没有问题
另,两个线程如果要使用一个开关控制两个线程中操作的开始、停止,如果不使用全局变量或局部 变量,有没有别的办法可用?
I think Function Global Variable should not be accessed(either read or write) simultaneous, because it is one thread only.
The second question
I agree with you, and I think the rendezvous and event in synchronize plate would help you to control multi threads