11-19-2008 10:05 AM
ok thanks. I take your points, but I still think NI should make this clearer.
I will follow the 'read from text file.vi' example as a template
dave
11-19-2008 10:15 AM
Why would you follow that example? That makes no sense. The Read From Spreadsheet File will give you what you need in one step, rather than having to put together all the code as seen in that example.
That's like taking a flight from San Francisco over to Hawaii, then to Japan, then to India, then to Italy, then to New York, and then to Las Vegas, instead of flying direct from SF to Vegas.
11-19-2008 10:20 AM
11-19-2008 10:27 AM
I'm still struggling to get this to work. See attached for what I've done. It only seems to read in the first column of data...
Dave
11-19-2008 10:53 AM
sorted. it seems to like CSV for some reason. that is what I will use!
dave
11-19-2008 11:24 AM - edited 11-19-2008 11:24 AM
The problem with your code was that you had too many constants. If you have a tab-delimited text file, then you don't need any of those constants. All you need is this:
12-13-2008 08:59 AM
I know this has been resolved but I thought an example I wrote might clarify for others what the "Read / Write To Spreadsheet" actually does and the file it creates.
I am a beginner so I have to write little bits of code to find out how it acts.