02-22-2016 03:36 PM
I just re-tried setting the data type to I16 instead of array and it looks like it is the correct size now. I think I will be able to reshape it into a 64 by 300,000 array now.
Thanks for all your help!
02-22-2016 03:46 PM
Okay. I modified your VI. The big problem is that you weren't accounting for the size of the header.
It was saved as a 2-D array, the 2-D array sizes were in the data file (I was able to unblock your file and open it). as 64 x 10,000. So once the file pointer was set correctly after the header size, it could be read directly as a 2-D array.
02-22-2016 06:38 PM
RavensFan,
If you do not connect number of elements to read, Read Binary file vi reads one element. And does not put it into array (simple data type) or array of clusters (2D array). You get rid of a lot of code and do not rewrite data array 3 times. See example in my post above.