01-11-2006 10:07 PM - edited 01-11-2006 10:07 PM
Hiiii,1958
Here I am posting you a vi in which, strings can be concatenate as Donald show you but i ve shown that the data also can be write to the file, you can concatenate the data and the time to give it to the file.
Thanks,
Nishant
Message Edited by Nishant on 01-11-2006 10:08 PM
01-13-2006 10:42 AM
Hi,
Thanks everyone. I do not have labview7.1. I hope someone can change that to labview 6.0. Anyway my large program does not have a case for saving data. Rather the save data is outside the cases. I have a lot of cases. So whenever it suits me I join the required case with the save data which is all the time outside the cases.
03-09-2006 05:11 PM
03-09-2006 05:26 PM - edited 03-09-2006 05:26 PM
In order to save data, you actually have to call a function that writes data to a file. Your last sequence would need to have this and it would actually have to generate data. As it is, there is nothing wired out of the formulat node and nothing out of the for loop. Once you do that, then you can save data. And if you want to write to the same file as the header, pass the file name to the last sequence. The last frame of the sequence should look something like the picture.
Message Edited by Dennis Knutson on 03-09-2006 04:27 PM
03-09-2006 05:49 PM
03-09-2006 09:20 PM
@labview1958 wrote:
I have done as suggested but still I am only getting only the heading but no data. I believe something wrong with the formula node. The file is attached.
1958,
"I have done as suggested ..."
No you did not do as suggested.
Dennis wrote about passing the filename to the last frame of the sequence and his jpg showed a new sequence local to be used for that. It was shown to be wired to the file path input of Write To Spreadsheet.vi
You wired the concatenated string from your existing sequence local to the format input of Write To Spreadsheet.vi. If you had looked at the easily available context help for Write To Spreadsheet.vi, you might have determined that what you were doing made no sense.
Dennis also wired True to the append to file? input. You wired False.
03-11-2006 11:55 AM
03-13-2006 09:21 AM