12-13-2007 10:03 AM
Hi all :
Please see ]attach file , this is an simple VI that run random number , what I want to do to save these data into CSV file , with name "test1" , this CSV file its kind of excel work sheet
this is not all , as you see this vi run 10 time if you press on Go bottom ,what I want every time I press Go , new result save in same file name but line under first one
please see attach file example
This is exactly what i want if I open the file
2- this file will be create and close automatically with non appearance on the screen
Who can I do that in labview
Thanks
12-13-2007 10:11 AM
12-13-2007 10:14 AM
12-13-2007 10:16 AM
12-13-2007 10:18 AM
12-13-2007 10:19 AM
12-13-2007 10:31 AM
12-13-2007 10:39 AM
12-13-2007 10:51 AM
All you did was attach a shipping example. You did not do as I suggested and use the Write to Spreadsheet File function that is on the File I/O palette. The example will open a new Excel file but you will have to modify it to specify a file. If you use my suggestion, you can easily specify a file name. It creates a csv file that can be opened automatically by Excel. You can even give it an xls extension if you want. I happen to think that the Write to Spreadsheet is easier to use and faster for what you said you wanted to do.
If you really want to use native Excel files, then you should look at the examples posted to the Excel Board and you should also look at the Report Generation Toolkit add-on.