03-11-2009 02:16 PM
03-11-2009 02:27 PM
Hi ABM26,
do you mean a "real" Excel file or do you only need something like a csv file? For a real Excel file you need ActiveX, otherwise you can use the "write to spreadsheet file" function the the option append.
Mike
03-11-2009 02:50 PM
Hi,
I don't need excel. Any text data logging should do fine. I tried "write to xl" function but then as I mentioned before, I need fill an array and finish the loop so as to transfer the data to excel. If the loops end abrupltly , it won't data log and I will loose some of the data which I do not want.
Thanks.
03-11-2009 03:18 PM
Hi ABM26,
can you show what you have done so far? You can store your data in a shiftregister and write it every 10 iterations. If your aquisition loop needs to run much faster, then you should use two loops and transfer the data with queues from one to the other.
Mike
03-12-2009 03:02 PM
Here are two examples on our community that shows how to write to a spreadsheet after each iteration through a while loop.
03-14-2009 04:43 PM
Hi,
I think I have made progress on the issue. One can use a shifter rgister loop and have the array inside it. So even if the program stops arbitrarily, the array will all its previous values.
Thanks to all for replying/feedback to my question..