11-22-2014 08:44 AM
how to append data in a report generation when i run labview it overwrites the previous data in a save file i want that each time i run labview it apends the results in a file not to replace it
11-22-2014 10:02 AM
11-25-2014 11:31 AM
for example i use string control as a input and want to save in file using report generation. for example ist write rana and run the program and then in file rana is saved. but now i change the rana to ali and again run the program now ali is saved and rana is disappear. i want to save rana as wel then ali should also included and similary each time i run it should be append in the file i hope u understand my question
11-25-2014 01:35 PM
We understand your question but unless you post your code we can't tell what you're doing wrong. If you are actually re-naming your second file (ali), it should NOT erase rani.
11-26-2014 09:34 AM
no in a same file for example name the file abc.txt. now i run the program and rana save in abc.txt. but now again i put ali in control string and ali is saved in abc.txt means i want that in my file abc.txt now data should be rana ali and some thing whic i again run
example if i run my program ten times then my file should contain rana ten times means i want to apend data in existing file in report generation. i have done that work in files vis but i want to do that work in report generation
11-26-2014 09:43 AM
11-26-2014 09:55 AM
sory its not secret there is no labview installed in my system its in the university system
11-26-2014 09:58 AM
11-26-2014 10:04 AM
ok i wil try to give u snap. but i was thinking its not a big issue and simple u can tel me easily ok i wil try but my prgoram is so simple sir
11-26-2014 10:28 AM
What kind of report generation? Word? Are you using the VIs from the report generation toolkit (I guess yes) or plain File I/O functions?
Still guessing, you're using the New Report.vi and the Save Report To File.vi. You have wire the path of the report to the report file path input of the Save Report To File.vi and the prompt to replace input is left unwired and use its default false value. In this configuration you will overwrite an existing file. If you want to append the data to an existing file you have to wire the file path to the template input of the New Report.vi (but if your report is not Word or Excel this input will be ignore). To use this input you need to have the Report Generation Toolkit installed.
Ben64