03-31-2016 04:16 AM
Hello every one,
It is to generate an excel report using generation report toolkit. What I have tried is here attached with. I couldn't make a space between each colulm data(strings) which is suppossed to be as equivalent as the space between each header. On the other hand, new excel file is created for each data row where as I want to have just one excel file until the program is terminated. Would you help me as usaul please?
Here are my trial VI file and VI for DLL file attached with.
Thank you lot
03-31-2016 04:20 AM
The result for the excel file is also attached with
03-31-2016 10:45 AM
You need to put the create new excel file and save excel file outside of the loop. This is common logging technique, you will be using a lot of resources to open and close the file every time the while loop runs. Also im assuming that you want an empty column between each data column. You need to put the start of your data outside the while loop and then inside the while loop unbundle the data start cluster, add 2 to it, then rebundlle.
See attached photo.
04-07-2016 06:54 PM
Dear Matt, thank you alot for your support. To creat a single excel file at each program start up, creatign new excel file and saving excel file outside of the loop works for me, but adding an empty column between each data column couldn't work.
Thank you again.
04-07-2016 09:13 PM
you can have a try if it can help you.
04-07-2016 10:16 PM
Your code suggests that you do not understand the Report Generation Toolkit and have confused "Excel" with "Spreadsheet". Part of this is the confusion of having NI's "Write to Spreadsheet" VIs in the File Palette, which write CSV Files (or format data to be written in CSV format) and also the Report Generation Toolkit, which has "hooks" into Excel and actually writes .xlsx files.
Since you seem to know how to use the RGT, here's what I'd do:
Bob Schor
04-08-2016 04:34 AM
I would like to extend a huge respect for the help. would mind sending me file with 2013 in case you have labview 2013?. Sorry! Mine is 2013.
Thank you a lot
04-10-2016 07:52 PM
LabVIEW version was updated.