Error 42 in a LabVIEW VI

Updated Sep 10, 2018

Reported In

Software

  • LabVIEW

Operating System

  • Windows

Other

  • LabVIEW 2014
  • Windows 10

Issue Details

My LabVIEW VI runs fine on a Windows 7 system. When I run the same file on Windows 10, I get the message "Error 42 occurred at FileName.vi". Why am I getting this error?

Solution

Error 42 is a generic LabVIEW error and can occur because of multiple reasons. Since the VI runs correctly on one Windows OS version and not on a higher version, you can check for the compatibility of LabVIEW and the OS.

Since the earliest version compatible with Windows 10 is LabVIEW 2015, the file developed using LabVIEW 2014 will not be supported and will show unexpected behaviour.

To resolve the error, either use Windows 8 or lower to run the VI or compile the files for LabVIEW 2015 or higher versions and then run them on a Windows 10 system.

WAS THIS ARTICLE HELPFUL?

Not Helpful