Guillaume Posted July 18, 2008 Report Share Posted July 18, 2008 Hello, I want create a report usable by Excel. This report must contain two format of data : 2D string chain and 2D DBL. The 2D string chain correspond to title of 2D DBL associate. When I use "Write to a file table" or "Write to a file text", all data are written in format 1D in my excel file. I have tested the use a template but I don't have same tools which are used in another subject on this forum. If you want more informations I'm open to your questions. Ciao Guillaume Quote Link to comment
ASTDan Posted July 18, 2008 Report Share Posted July 18, 2008 Here is one way to do it.Basicly you use Array to spreadsheet string.vi and save it as a text file. This is a tab delimited file that can be read by excel.You can also you the NI's Report generation toolkit for more control over excel.Hope this helps Dan Quote Link to comment
Guillaume Posted July 18, 2008 Author Report Share Posted July 18, 2008 Ok, thank you To finish, how can I put each column in different column under Excel ? Because in this moment all data are in column A. Ciao Quote Link to comment
ASTDan Posted July 18, 2008 Report Share Posted July 18, 2008 I don't totally understand your question but here goes You could try simply transposing the array. I f your data was say A B C D E F Transposing would yield A D B E C F Does that help? Quote Link to comment
Guillaume Posted July 19, 2008 Author Report Share Posted July 19, 2008 Sorry, I was mistaken my programming... This problem is solved. Now, i seek a solution for puting in page my Excel file when I open it. (size of cell in function of my data). Thank and sorry for my english. Ciao Guillaume Quote Link to comment
ASTDan Posted July 19, 2008 Report Share Posted July 19, 2008 You might want to take a look at the Report Generation toolkit. This gives you programatic access to excel. It will allow you to name sheets, add graphs, etc. http://sine.ni.com/nips/cds/view/p/lang/en/nid/5769 Quote Link to comment
SkifIL Posted July 22, 2008 Report Share Posted July 22, 2008 Hello, I want create a report usable by Excel. Hello. I added to your VI some functions for create and save to Excel file. Regards, SkifIL Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.