LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Report Generation

Hello eveyone,

 

               I'm using report generation toolkit to create reports in .csv format.  Based on the buttons pressed file will be created in the specified path. Then i'm opening the file and loading data into it. I want it to save automatically, but in my case, file will be opened and minimised in tool bar, if i open the file data will be there in it but it will not saved, if i try to save it manually also its showing error. I want it to save automatically. How can I do it?

 

       

Thanking you,
Sushmith
0 Kudos
Message 1 of 5
(2,944 Views)
Why complicate things by using the toolkit for a simple csv file? All that you need is the Write to Spreadsheet File.
0 Kudos
Message 2 of 5
(2,929 Views)

Hello,

 

 

         I understand write to spreadsheet is easier, but the thing is I need to implement few settings like specific cell numbers, making few texts bold etc, that can not be done using write to spread sheet right? Say for example if i'm having 1 page content, how can I make just the 1st line as Bold?

Thanking you,
Sushmith
0 Kudos
Message 3 of 5
(2,909 Views)

A csv file doesn't know about text formatting except what ASCII provides (e.g. tabulator)

That being said, you either should write a simple csv file with Write To Spreadsheet File.vi like Dennis tells you or you have to create an Excel file (xls or xlsx).

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 4 of 5
(2,905 Views)

sushmith_ks wrote:         I understand write to spreadsheet is easier, but the thing is I need to implement few settings like specific cell numbers, making few texts bold etc, that can not be done using write to spread sheet right? Say for example if i'm having 1 page content, how can I make just the 1st line as Bold?

CSV files are pure text.  No formatting at all.  If you really want the formatting, then make an xlsx file.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 5 of 5
(2,875 Views)