08-13-2009 04:27 AM
Solved! Go to Solution.
08-13-2009 04:50 AM
Not with "Write to Spreadsheetfile.vi". You can use low-leven file I/O functions to do that.
Christian
08-13-2009 05:43 AM
Christian_M wrote:Not with "Write to Spreadsheetfile.vi". You can use low-leven file I/O functions to do that.
Christian
I do not agree. The "Write to Spreadsheetfile.vi" can very easy be modified to this. This VI is an open VI that can be opened and modified by the user. The built in Labview functions is not some holy grail never to be touched or tweaked. Take a look at my draft. Just remember to use "save as" then saving and do not save in the vi.lib folder
08-13-2009 06:08 AM
There are always (most of the time) different ways to get something working.
The reason why I don't suggest to modify vi.lib VIs is that users very often save them as the origin, and this might cause problems in future.
You mentioned it right with your last sentence.
Anyway I'm not a friend of using "Write to Spreadsheet File.vi" when I have to write different datatypes, or a header or modify something.
This all could be done very easy with the lowlevel functions, this with better performance and more possiblities.
But you are right, to modify the VI works too.
Christian
08-13-2009 07:16 AM
06-28-2010 09:54 PM
I don't know if this fits what you are looking for but I find this is a fairly easy way to title an excel document for a quick export. The string to array can be avoided if you already have an array of strings (Scilab output does not allow groups of strings so that is already a comma seperated variable).
06-28-2010 10:17 PM
Thanks for your example, but why are you posting it to a year old thread? I would have hoped the original poster had found a solution by now.
06-28-2010 10:57 PM
I was looking for an answer to the above question and didn't find an answer that worked easily so once I worked it out for my self I thought it could work as advice to others.
09-13-2012 03:49 AM
could you please tell me in detail that how can I title the columns by using low level file I/O function?! I mean which one should I choose and ...,
Sry that my question looks primery beacuase I am beginner.
thanks
09-13-2012 07:03 AM - edited 09-13-2012 07:03 AM
You can simply use the Write to Text File. I would put the headers in a string and then use the Array to Spreadsheet String to get the text to write.