08-23-2021 06:39 AM
Since a few weeks my software crashes on 2 computers (one in our lab, one at customer side) when trying to access a PXI-5412 card. It happens either when accessing the function "OpenInstalledDevicesSession" in "niModInst_64.dll" or, if I skip this function, in "Init" function.of "niFgen_64.dll".
This happens in combination with the real time scanners of different Antivirus applications.This didn't yet happen with x86 compiled code using "niFgen_32.dll" and "niModInst.dll" instead. When compiling in mode "AnyCPU" I have to put my executable file to the Antivirus exclusion list to make it running.
It also doesn't happen, when I run the program from Visual Studio for debugging.
I'm using .Net Framework 4.62 and Visual Studio 2019, FGen 20 and DAQmx 20.1 (which is not used for the 5412 card). We are using ESET virus scanner, our customer another one, I don't know which one exactly, but not ESET.
As this software is running on dozens of customer computers, I'm worried about future service cases telling all of them to modify their Virus scanners. This is not possible in many cases especially in big companies. Any ideas or workarounds?
Patrick
08-24-2021 02:37 AM
Hi there,
Your amazing explanation of the situation is highly appreciated, mate! 🙂
The IVI Compliance Package is most likely out of date or not installed on this machine. Please download the latest version that is compatible with your National Instruments software (e.g. LabVIEW) from NI's website.
To determine the compatibility of the IVI Compliance Package with your NI software, check the IVI Compliance Package readme, available on the download page for each version.
Cheers,
08-24-2021 09:23 AM
Thanks for that, but I did this already. The newest version is 21, but it didn't change the date of "niFgen_64.dll", which is obviously throwing the error. Probably it was installed when installing FGen 20.
09-27-2021 04:25 AM
An unrecoverable error is an error that occurs during the execution of a code or a program that has not been registered before and no retries can correct or undo the error. Usually an unrecoverable error freezes the system and it must be rebooted to work again.