From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
08-29-2013 01:29 PM
I have a Matlab compiled code with the C++ wrapper. Before Labview can use it, it has to initialize the Matlab Runtime. So I have a VI called 'Matlab Init' to do this, but when I put the init VI into my code, it pops a 'Procedure Entry Point' error, as shown below.
This code contains nested structures and other complicated initialization. I mention this because when I put the 'Matlab init' VI in a simpler VI, shown below, it works fine.
I am totally lost here. What caused the error in the first case? Is it because of some conflicts between the Matlab init and some LabVIEW functions? Does that error tell where it goes wrong? Desperately needs help PLZ.
08-30-2013 01:47 PM
Hello,
Are you using the Vision software in this application? Do you have NI Vision installed on your computer? If so it might be related to a known issue.
What version of LabVIEW are you using?
09-03-2013 08:26 AM
Yes, it does use NI vision in the application.
I am using LabVIEW 2012 and have NI Vision installed as well.
09-04-2013 03:42 PM
The issue here is that MATLAB and our vision software both use a DLL called tbb.dll. Unfortunately our Vision software uses version 2.0 and MATLAB has migrated to newer versions. The problem comes from the DLL already being open in memory from our vision software and the MATLAB run time engine trying to use that same DLL which is unfortunately the wrong version.
It looks like a couple of customers were able to get past it in this forum:
http://forums.ni.com/t5/LabVIEW/tbb-dll-entrypoint-not-found/td-p/2269056
It appears that a possible solution would be to replace tbb.dll in the system folder with the tbb.dll that is installed with MATLAB. Although that would potentially break a lot of functionality of our Vision software. So, I would suggest keeping a back up incase you need to revert.
MATLAB® is a registered trademark of The MathWorks, Inc.
09-05-2013 08:42 AM
The link you gave does not really tell how to get past it. What other people suggested also solved one problem but created many others.
Is NI Vision going to be updated to the newer version anytime? If there is a newer version, why not upgrade?
09-05-2013 10:22 AM
Its not as simple as just updating, which is why it can cause a lot of things to break when switching the DLL's. R&D has investigated a few different approaches, but none have turned out to be a suitable solution yet. They are still working on it. It has been filed as a corrective action report, # 24549 to be specific. You can check for the number in the Bug Fix list with the coming releases to see if its been resolved.