06-12-2008 02:49 PM
06-12-2008 02:53 PM - edited 06-12-2008 03:00 PM
I see your problem, you are writing to the wrong row?
Just change the cell number you are writing to should do the trick each time you run the VI? (instead of A1, use A2, A3 etc..)
If you do not know at what row there is data, read all rows or cells and then look for in what row/cell your last data is, and write to the row just below that one.
There is also a report generation toolkit you can use, this makes it pretty easy and fast to make excel reports without making the code yourself.06-12-2008 03:01 PM
06-13-2008 01:24 AM
Hi chris,
attached you will find an example. Create an excel file "Mappe1.xls" and copy it in the same folder as "unbenannt 1.vi". There is one sub vi missing but you can simply delete the sub vi call.
Hope it helps.
Mike
06-16-2008 01:13 PM
06-16-2008 03:45 PM
For more information and some sample VI's and tool kits, you can go to the excel board
this board is dedicated to using Excel with LV.
06-17-2008 02:26 AM
Hi chris73,
you have to connect a row in the write case!
Mike
06-18-2008 10:04 AM
Here it is fixed....I still can't get it to export data. Any help anybody can give me would be greatly appreciated.
Chris
06-19-2008 02:47 AM
Hi Chris,
i think your code to write to excel runs independently to the other code. I recommend to insert some communication structure. If you don´t connect the "row wire" in the open case then it is 0 in the other case, but row 0 is not available in excel.
I changed your vi and it works for me.
Hope it helps.
Mike