LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Write File.vi

Hi

I am trying to extract data from one file to another. The original
file has 5 channels, each channel is of size 3430400 bytes. I cannot
extract each channel completely, due to machine memory, instead, I
extract 3000 bytes and write it to the created file, then extract the
next 3000 bytes and so on. I used Write File in File I/O to write the
new file, using tabs and line feeds. I want the created file in tab
delimited format.

I want each channel to be in differnt columns, but data from the same
channel should be in the same column. This is the problem I am facing.
Each time I extract 3000 bytes and write it to the file, the data is
written to the same column, but when the channel changes, I cannot get
it to write to a new column. Instea
d, data is written below the
previous channel column.

Jackie
0 Kudos
Message 1 of 2
(2,555 Views)
You could build your data array first, and then write it down using write to spreadsheet vi, this way you can get all data where you want. If you write data to a file once and then write for a second time, data will be placed in the down side. You could use ActiveX too, and write every bunch of data especifying the row/column.
Hope this helps
0 Kudos
Message 2 of 2
(2,555 Views)