I'm working on a simple data analysis program for a 32 channel acquisition system that runs at 2kHz. Before opening the >50MB .csv files, I'd like to graph them to see what was going on in each channel, on one graph (i.e. 32 series plotted together). I made a sub VI that gets passed a file and graphs this. I've tried it with a constant file path, and it works fine.
The problem is, I have a "master program" which calls this sub VI to graph all the files it identifies. In the master program I have an array of files that need to be analyzed. I pass this into a FOR loop, autoindexed. In all of my other Labview programming instances, the master program runs fine and executes the subVI. But in this particular case, it doesn't. I can see that it takes the same amount of time per loop as it should (for example, about 5 seconds per file), but it does not output the actual files UNLESS THE SUBVI IS OPEN IN ANOTHER LABVIEW WINDOW. The front panel for the subVI is all that's needed for it to execute correctly. When I have both front panels open, and I run the master program, it outputs the correct graphs as .bmp's in the right folder. But it doesn't output anything when the subVI is not open.
Quite confused... not sure what could be causing this... LabView2011 Student Ed.
Thanks in advance!