Solution
Software versions 2019 and onwards:Starting with Vision Development Module 2019, writing AVI files bigger than 2 GB is supported by LabVIEW. However, limitations to AVI file size exist in individual codecs. If you are seeing this error while using VDM 2019, try using a different codec. See "Additional Information" for a list of codecs that support writing file sizes of at least 2 GB.
Software versions 2018 and before:The IMAQ AVI2 VIs in LabVIEW have an inherent 2 GB limitation that cannot be altered. Both LabVIEW 32-bit and LabVIEW 64-bit have the same capability in regards to AVI files.
If you are running into this limit, monitor the amount of data you are writing to the file using the
Get File Size Function and programmatically create a new file before hitting the 2 GB limit.
Alternatively, you can use the older IMAQ AVI VIs to write AVI files. However, these VIs have limited codec support.
You can find the IMAQ AVI VIs in the Avi1.llb and Avi2.llb libraries, which are located in the following folder:
<National Instruments>\20XX\vi.lib\vision\The IMAQ AVI Write Frame.vi is in Avi1.llb