LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LV 2013 exe not working with runtime, only with full LV installed

Rebuild your exe without the error handling being suppressed or rebuild it with debugging enabled.
0 Kudos
Message 11 of 21
(1,201 Views)

Will do tomorrow, I'm home now 🙂

Any other suggestions? May be a simple setting perhaps?

 

0 Kudos
Message 12 of 21
(1,199 Views)

@_Faust wrote:

 

Any other suggestions?  


...do proper error handling so you have some idea if the VI is broken and why.

 

Still on loading of the main, if it is a static VI reference it should load all the dependencies, which should give an error about not being able to find some dependencies like a DLL for DAQmx.

0 Kudos
Message 13 of 21
(1,196 Views)

Why on earth would you purposely supress error handling?  It's like cutting the wires to all the warning lights on your car's dashboard.  If your application throws errors, take care of them, don't swallow them.  That's like cutting the wires to your dashboard because that pesky oil light keeps coming on.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 14 of 21
(1,179 Views)

Yes you are right, but I wouldn't ever expect errors from these Vis so I turned automatic error handling off. But that's not the point right now 🙂

 

Anyway, today I uninstalled LV2013 from one of the PCs where the exe has to run. Surprisingly, the exe still worked.

I started to delete some folders that were left in c:\program files (x86)\national instruments\shared

 

I can delete everything except :

-Labview runtime folder

- MKL\LV130000_BLASLAPACK  folder (has 1 DLL in there LV130000_BLASLAPACK.dll)

 

If I remove only this DLL I get the symptoms that I described; several sub panels won't run the VIs in the exe.

 

Does anyone have a clue what this DLL is for? It does not come with the runtime. I will try to include it explicitly in my installation and install it on a new PC to see if it runs.

 

 

0 Kudos
Message 15 of 21
(1,166 Views)

MKL is the Math Kernel Library.  It is basically needed for all normal LabVIEW applications using any of the math functions.  Which functions?  Not sure but you are liking using them. 

 

When Jack was talking about segmenting the run-time engine he mentions the MKL and basically states any normal LabVIEW program will need it.  If you make a Hello World EXE it probably won't, but any practical program will.

 

https://connect.wirebirdlabs.com/knowledgebase/articles/172999-segmenting-the-labview-run-time-engin...

0 Kudos
Message 16 of 21
(1,156 Views)

Ok, but the math kernel isnt in the standard runtime? I think it is a part of the normal runtime

 

Sure, I use stuff from the math palette (like log functions, exponents etc.) Still it seems odd to me that after installing and deinstalling LV 2013 the exe runs normally.

0 Kudos
Message 17 of 21
(1,153 Views)

What version/size of the RTE did you install?

 

I have tested on one PC of mine, and I have that file with only RTE, MAX, DAQmx and VISA installed.

0 Kudos
Message 18 of 21
(1,151 Views)

this one

 

http://www.ni.com/download/labview-run-time-engine-2013/4059/en/

 

but I think the LV2013 installed this MKL folder, I always get this one:

 

http://www.ni.com/download/labview-development-system-2013-sp1/4527/en/

0 Kudos
Message 19 of 21
(1,146 Views)

Yes I always thought MKL was included in the normal run-time engine.  Which is why Jack was showing how to pull the pieces appart from the normal run-time engine, and one of those pieces was MKL.

0 Kudos
Message 20 of 21
(1,142 Views)