Sorry, I won't be able to fully debug your code, because I don't have the luxury of a 10000x10000 monitor.
😉A few things stick out to the trained eye (see attached image).
Left side: You write to the same local variable from two different places and there is no data dependency. In the end, you'll only get the last written data and there is no way to tell it is is from the upper or lower instance of the subVI.
Right side: You seem to "insert" an array into its own local variable representation. Ultimately, it will grow without bounds without any new unique information added. This does not make sense! Could it be you rather want to "replace array elements", keeping the array size the same?

My advice: Clean up the code. Get rid if the backwards wires and the hidden wires. Replace all local variables with shift registers or direct wires. Eliminate stacked sequences. Reduce the size of the diagram.
I would guess that once the diagram is a bit more streamlined, it will be much easier to debug!
🙂ALso remember that overlapping objects (e.g. all these indicators on top of your graphs) will impose an extreme performance penalty. This should typically be avoided if possible.
Message Edited by altenbach on 05-25-2005 06:08 PM