06-09-2017 09:43 AM
Helo,
Sorry for my english
I compiled attached "WhileLoop.vi" file in LabView 2016 32-bit into appW.exe file on my Windows 10.
I would like to run this appW.exe on Linux (Fedora 25).
Because appW.exe is not for Linux ..
I used wine application on Fedora and Install LabView real time 2016 from
http://www.ni.com/download/labview-run-time-engine-2016/6064/en/
and have installed:
labView-2016-rte-16.0.0 -3. x86_64
labView-2016-rte-32bit-16.0.0.-3.i386
After I use # wine appW.exe command the Labview error occured ( In attached)
Unable to locate the LabVIEW Runtime Engine.
How Can I fix this bug, what can be wrong set?
Thank you for any help you can provide.
Michal
06-09-2017 09:56 AM
Well first, that is a core burner!
CAUTION: do not run the exe!
So you used a windows version of the app builder. and you expect it to run on a Unix? why?
06-09-2017 10:19 AM
The poster said he tried to use Wine to run the exe. Wine is supposed to allow you to run Windows apps on Linux.
06-09-2017 10:52 AM - edited 06-09-2017 10:53 AM
06-09-2017 10:56 AM
My WAG would be that Wine doesn't recreate the appropriate paths that allow the exe to "find" the Runtime Engine. The RTE is "installed" on a Windows system, putting the appropriate info in the Registry, then when the exe is run it has "associations" to the RTE. Not sure how this is done in WINE under Linux.
06-17-2017 07:24 AM
Thank you all for your answers,
Is there any another way how to run that .exe file compiled in Windows on Linux server or computer?
Thank you for any help you can provide
06-17-2017 01:43 PM
So you have a LabVIEW program that you want to run on Linux? There is a LabVIEW for Linux -- I don't know if you can build stand-alone Executables with it, but if it allowed that, then those executables should certainly run on your Linux system.
Bob Schor
06-17-2017 03:11 PM - edited 06-17-2017 03:16 PM
Well the LabVIEW RTE files you installed sound like Linux RTEs. They won't work for an exe that runs under Wine. Instead you need to install the LabVIEW for Windows Runtime engine under Wine in order to maybe be able to run your exe under Wine. Maybe because LabVIEW on Wine is not a supported combination. It could work but can just as well cause some problems somewhere. I did at some point try to install LabVIEW 7.0 or similar under Wine and while it was possible it was not quite straightforward. Modern LabVIEW versions however make use of many new Windows APIs that Wine might or might not provide in a fully functional way.
While Wine is not a complete virtualization platform but more a translation layer between the Windows API that exe files expect and the Linux kernel, it only translates Windows standard features, not something like the LabVIEW runtime engine.
So if you want to run a Windows exe created with LabVIEW under Wine you also need the Windows Runtime engine installed in Wine.
If you have LabVIEW for Linux and create an executable in that you need the LabVIEW for Linux Runtime engine that you seem to have installed. However LabVIEW for Linux needs its own license and needs to be purchased separately if you are not using LabVIEW as part of an educational site license. If you use LabVIEW from an educational university license you need to contact your IT departement to learn how you can obtain the Linux installer for LabVIEW from them and then you need to build your program from within LabVIEW for Linux.
06-22-2017 09:35 AM
Would you be so kind and send me url address where I can download LabVIEW for Linux student version 32b or free beta version?
I can not find it on ni.com web pages.
Thank you for any answers
Michal
06-22-2017 09:41 AM
It's not freely downloadable like the Windows version since it is not activated with a software license like on Windows. You need to contact NI directly to obtain a media with the installer, and that usually also means to buy the according license. You may be able to negotiate some trial period with your local NI sales representative. This is anyways the preferred contact for such issues. He or she can decide about trial versions and special conditions that may apply for you.