LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Write to file produced a file of concatatenated array data.

During a continuous aquisition (60 channels; 200 Scans/s)I used AI Read.vi to read 100 scans at a time, then the sampled data was processed and written to a file as a 2D array of single precision numbers to a file using Write File+ [SGL].vi. When the data was read back, I found with each call to the writing vi the data had been written as sixty concatenated (100 sample) blocks of data instead of a 100x60 2D array. Has anyone seen this before or have any insight as to why data would be written in this manner?
0 Kudos
Message 1 of 2
(2,425 Views)
wetdog wrote:
> During a continuous aquisition (60 channels; 200 Scans/s)I used AI
> Read.vi to read 100 scans at a time, then the sampled data was
> processed and written to a file as a 2D array of single precision
> numbers to a file using Write File+ [SGL].vi. When the data was read
> back, I found with each call to the writing vi the data had been
> written as sixty concatenated (100 sample) blocks of data instead of a
> 100x60 2D array. Has anyone seen this before or have any insight as to
> why data would be written in this manner?

The data as it comes from the DAQ board is not row * column but the
opposite. To get it right wire the array trough the Transpose Array
function found on the Array palette before wiring it to the
Write File+ [SGL].vi.

Rolf K
Message 2 of 2
(2,425 Views)