LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

mcDatabaseOpen returns -301141, why?

I am running Labwindows CVI 2012.  I am attempting to open an A2L database to be able to access characteristic and measurement names for reading and writing.  When I attempt to open the database via mcDatabaseOpen, the function returns a -301141.  This does not occur on the development system where it works fine, but only occurs when I attempt to install the exe on a non-development system.  Any idea what I may be missing in my installation?

0 Kudos
Message 1 of 3
(3,422 Views)

Hi PeterECEINC,

 

I believe that error refers to a missing DLL. Check that all the dependencies are being included in your build.

Humphrey H.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(3,393 Views)

Thank you.  Yes, the Measurement and Calibration DLL was not included. 

0 Kudos
Message 3 of 3
(3,391 Views)