One thing you should definitely do is save FCS-For.VI under LabVIEW 7.1. It currently is still in LabVIEW version 6.1, while the rest of your program is 7.1. This means that this subVI gets converted every time you run your program.
It has been my experience that a freshly converted, but not yet saved(!), VI uses significantly more resources and runs slower until it is saved under the new version. You should also be more careful with data types, for example in this VI you have an array of U8 and XOR it with an I32 then display it as DBL. A better alternative is in the attached modification (LabVIEW 7.1) and keep it all as U8.
OK, now to a possible problem in the main VI: If the two case structure on the right are both false, the two refnums and error cluster are not wired through. This means that the two files opened during that loop iteration never get closed. You should definitely wire these across in every case (see arrows in picture)!

Message Edited by altenbach on 05-25-2005 10:46 PM