11-13-2015 10:51 AM
Hi:
I am struggling with writeing 1-D numerical array into binary file, and start with a new line or insert a delimiter for each loop writing file. So for every loop it runs, the LABVIEW code will collect a 1-D array with 253 elements from a spectrometer. When I write those arrays into binay file, and the next array will just stack after the previous array(I used MATLAB binary file read). However whenever if there is the data point missing, the whole array is shifted. So I would like to save the 1-D array to N-D array, and the N will be how many times has the loop run.
I am not very familiar how does Binary Write from file I/O works? Can anybody help understand that? I tried to use file position, but that function is just for write string to binay. But I really want to write 1D numerical array to N-D array. How can I do that.
Thanks in advance
11-13-2015 11:11 AM
Duplicate thread: http://forums.ni.com/t5/LabVIEW/write-1-D-numerical-array-into-binary-file-and-start-with-a-new/m-p/...