05-21-2010 09:43 AM
Here is a snippet of a vi I made that I use after I have taken a series of measurements.
This takes on line of data, in the form of a 1D array, timestamps it, converts it to a spreadsheet string and writes it to a file.
This creates a TAB delimited file that can be opened directly by Excel if you give the file a .xls extention.
If you want colum headers you will have to put them on the file first
05-21-2010 12:05 PM
Hey mate,
I'm using LabVIEW 8.5 so I had to make your code here... in the file path I have to put only the destination right?
I'm putting like "c:\" and it's appearing that:
Possible reason(s):
LabVIEW: Unexpected file type.
c:\
Thanks for the help
05-21-2010 12:08 PM
EduU wrote:Hey mate,
I'm using LabVIEW 8.5 so I had to make your code here... in the file path I have to put only the destination right?
I'm putting like "c:\" and it's appearing that:
Possible reason(s):
LabVIEW: Unexpected file type.
c:\
Thanks for the help
You have to put the entire path and file name.
C:\directory name\datafile name.xls
06-24-2012 05:26 PM
Hey,
I am new at this labview stuff. I have been looking at various examples and I got this vi and modified to my own need.
It would retrieve the data generated and transfere it to excel, but I have a tiny problem with this vi. I would like the program to place the each values that were retrive into appropriate cells (like a delimiter). So far its retrieving the data and putting all of them into cell A1. can some one help me please??
Thanks,
06-24-2012 11:18 PM
You really should have started a new thread.
The reason it puts it all into A1 because that is the way it is programmed. It is hardcoded for cell A1.