LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI2013 unable to load LabView RunTime-Engine?

Hello,

 

CVI2013 cannot load the LabView Runtime_engine any more?

With CVI2012 no problems.

 

I have tried it with an external dll generated with LabView 2012 (see my last post)

 

http://forums.ni.com/t5/LabWindows-CVI/System-error-998-in-CVI2013-while-loading-LabView-RTE/td-p/25...

 

and with the same dll generated with LabView 2013.

 

Always the error message 998 occurs.

 Error_LVRTE2013.jpg

 

 

Any ideas? 

 

Gunther

 

0 Kudos
Message 1 of 22
(5,946 Views)

Hi gunthill,

 

 

could you post a reduced example (simple). I need a LV(2012) dll, a CVI 2013 project and the description how to use it.

 

If I could reprouce the issue I will escalate it.

 

 

Best regards

Bernhard Rennhofer

National Instruments

0 Kudos
Message 2 of 22
(5,929 Views)

Hi Bernhard,

 

thanks for your reply.

 

I have created a small project with the LabView DLL.

With CVI 2013 the programm won't start and shows the system error 998.

 

With CVI 2012 it works.

 

Hope you can reproduce this behaviour.

 

Best regards

 

Gunther

0 Kudos
Message 3 of 22
(5,900 Views)

Hi....

 

now I can reproduce the issue. But I have no idea why.
If I debugged your EXE, I get a access violation inside the gdiplus.dll and because of that, I think, the lvrt.dll will not load.
I'm back in the office on Thursday, then I write it to my colleagues in US (I'm from germany).

 

For me it looks like a bug.

Best regards
Bernhard

0 Kudos
Message 4 of 22
(5,884 Views)

Hi....


Now maybe I have a solution.

Pleas make a additional ckeckmark in your build options. So LV add all needed header files to the DLL build.
Now CVI should works.

 

Settings.PNG

0 Kudos
Message 5 of 22
(5,844 Views)

Hello,

 

this option was already used in LV 2013.

 

To me it seems to be a still a  problem of the new CVI2013 (new clang compiler with new code generation??!!) .

Again: With CVI2012 and the same DLL there are have no problems.

 

Please escalate this issus to NI. It's a CVI bug.

 

Gunther

 

0 Kudos
Message 6 of 22
(5,834 Views)

Hi gunther

I use CVI 2013, and I have no problem. So at the moment  I can't say this is realy a bug.

I attach my example for you. Please test it and give me an answere whether it works.

 

 

 

best regards

Bernhard

 

0 Kudos
Message 7 of 22
(5,830 Views)

Hi Bernhard,

 

many thanks for your support.

 

I have tested your project and it works!!

 

So it seems that there is no fundamentel problem with CVI2013 and LV DLLs?!

Do you use a special version or add ons in your LV because my partner says that there is an option in your screen shot wich is not present in his LV (DSC)?

 

 

Gunther

0 Kudos
Message 8 of 22
(5,828 Views)

Hi Gunther,

I have the Full Development Version of LabVIEW and I have also installed the DSC module. but I don't think this is the issue of yours error.

Because the DSC module is only for Datalogging and Supervisory Control.
Hence I see no connection between this two points.

 

 

Best Regards

Bernhard

0 Kudos
Message 9 of 22
(5,826 Views)

sorry.... the professional development version

0 Kudos
Message 10 of 22
(5,825 Views)