08-03-2012 01:49 PM
Ok, so the space bar is strictly for stopping everything and then you want to save all the accumulated data to Excel?
Does is have to be a xlsx file? I would recommend a csv file. A CSV is a text file that uses commas as a delimeter. And Excel will automatically open them too. The reason I am saying to go this route is because text files are very easy to append to. So you create/replace/open the file before your loop, format your data, and write to the file. When the program is done, you just close the file. I'll try to get an example coded up soon.
08-03-2012 02:00 PM
Ok, here's my quick example. I am only showing part of the consumer loop. I just wanted to emphasize the file write for the example. Let me know if something doesn't make sense.
08-03-2012 02:02 PM
You may have forgotten to attach it...
08-03-2012 02:05 PM - edited 08-03-2012 02:06 PM
That's what happens when I'm distracted...
08-06-2012 11:37 AM
Hey crossrulz, do you mind attaching that code? I don't recognize all the VIs and having context help might be a bit faster.
Thanks,
xander
08-06-2012 11:46 AM
What I posted is called a snippet. If you download it, you can copy the file into a VI and the code automagically appears. But here's an actual VI (saved in 2011).
08-06-2012 11:50 AM
That is some black magic voodoo **bleep**.
Thanks.