10-29-2014 02:57 PM
10-29-2014 03:00 PM
Will do tomorrow, I'm home now 🙂
Any other suggestions? May be a simple setting perhaps?
10-29-2014 03:09 PM
@_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.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
10-30-2014 01:04 AM - edited 10-30-2014 01:05 AM
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.
10-30-2014 06:53 AM
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.
10-30-2014 07:43 AM
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.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
10-30-2014 07:46 AM - edited 10-30-2014 07:47 AM
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.
10-30-2014 07:47 AM
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.
10-30-2014 07:50 AM
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/
10-30-2014 07:55 AM
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.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord