03-15-2006 12:51 PM
03-15-2006 01:14 PM
Hi Isabel,
You wrote: "I can see the row current row number I am writting data to.. "
So, this is where I would compare if the row number is greater than 65536. Maybe you can post your VI...?
Regards,
-Khalid
03-15-2006 01:32 PM
03-16-2006 07:51 AM
03-21-2006 02:31 PM
Here is the change that I suggested. I use the modulus for simplicity to wrap the 65535 back to 0. A new sheet is added only when the row and column indexes are both at 0. The shift registers are used to hold the current value of the Sheet reference.
I also correct several bugs in your code with comments on why.
The nested for loops used is the Example code is only suitable for a small amount of data. The proper way to transfer a large array to Excel is with a Block Write. Your data array would need to be broken into worksheet-sized chunks and written with a single Range->Value write using the double indexed data.
03-22-2006 04:03 AM