09-13-2017 06:50 AM
Hi, I allocated buffer to save array data over 4GB and I want to save array by bin file.
I used write to bin file and it has limit 4GB, so I can't save whole my data.
Can I save bin file over 4GB in labview?
I use Labview 2015.
Thanks.
09-13-2017 07:03 AM
more interesting than your labview version would be the bitness of your labview version.
could you not split files after a certain size (e.g. start a new file)?
09-13-2017 08:31 AM - edited 09-13-2017 08:32 AM
File sizes should not be limited. The internal array size does have limits.
What errors do you get?
09-13-2017 01:50 PM
@kwjae92 wrote:
Hi, I allocated buffer to save array data over 4GB and I want to save array by bin file.
Not likely. Definitely not with LabVIEW 32-bit. You might be able to have it all with 64-bit LabVIEW and a 64-bit OS.
Generally if you want to save a file that large you log to the file as the data is coming in. That saves A LOT of memory. The file size is limited by an I64, so you should not have any issues there.
09-13-2017 03:23 PM
@crossrulz wrote:
@kwjae92 wrote:
Hi, I allocated buffer to save array data over 4GB and I want to save array by bin file.
Not likely. Definitely not with LabVIEW 32-bit. You might be able to have it all with 64-bit LabVIEW and a 64-bit OS.
Generally if you want to save a file that large you log to the file as the data is coming in. That saves A LOT of memory. The file size is limited by an I64, so you should not have any issues there.
I agree.
While the Read/Write spreadsheet file functions are limited to an I32 byte offset (that should be fixed ) the binary files should permit files large than 4 GB.
I am certain files over 4 GB can be read, but unfortunately, I deleted any temp files that I created that large so I have to trust my memory I have written files over 4GB.
Ben