Hi,
Thanks for looking through the code. I believe my past 5 posts in this thread will answer all your questions. The four acquisition loops do the same thing.
I have indeed tried disabling one of the loops and that cuts the program down to 3s. Thus, I want each of the loops take 1s to run.
I have also tried only wiring the error wires to ONE queue in each loop.
Following the idea that you mentioned about wiring the error lines in parallel like this, I am not sure what I might be able to try to get the program to run at 1cycle/s (simultaneous acquisition). I hope there needn't be any major refactoring, perhaps only changing around the acquisition loops?
I have run this program using the DAQ assistant to acquire actual voltage input -- the result is the same where the program acquires every 4s. I am not sure what I am missing to get this program to run parallel consumer loops. We have dual-core CPUs which the program will use.
Thanks!