Environment: Windows 8.1 LabVIEW 2018 SP1 f4 Vision Development Module 2018-2019 SP1
Steps to Reproduce:
Create a new VI (or see TestAVIParallelOpen1.vi);
Create 2+ videos simultaneously using IMAQ AVI2 Create VI:
Use any system codec (not built in) for the Codec terminal;
Specify a non-existent file path for the AVI Path terminal (probably);
Run the VI.
All videos created successfully.
First video created successfully, second video fails with an error -1074396006 "Unknown codec".
The error occurs only at first run after LabVIEW launch.
With VDM 2018 SP1 this issue was reproducible after almost every LabVIEW launch.
With VDM 2019 SP1 it still happens, but quite rarely. To reproduce it close LabVIEW completely and run the batch file in a VI folder (see TestAVIParallelOpen.bat). It will re-launch LabVIEW with the VI until the error occurs.
Call IMAQ AVI2 Get Codec Names VI before calling IMAQ AVI2 Create VIs (see TestAVIParallelOpen2.vi).