07-31-2020 03:19 AM
Hello,
how is it possible to create a standadlone labbview-runtime project (*.exe) which is running without any side installations like NI MAX, NI VISA, NI GPIB?
So that the file can run diret without any installation on alle computers.
Thanks
07-31-2020 04:26 AM - edited 07-31-2020 04:29 AM
@OnlyOne wrote:
Hello,
how is it possible to create a standadlone labbview-runtime project (*.exe) which is running without any side installations like NI MAX, NI VISA, NI GPIB?
So that the file can run diret without any installation on alle computers.
Without installation that is hard to do. You'd need a commercial tool, like BoxedApp maybe, to virtualize the entire LabVIEW runtime installation in a packed executable.
It's questionable if that is legal. I'm not a lawyer, but there are licenses to accept when installing the run time engine, and this bypasses that. So, questionable.
It would be a significant amount of time, effort and frustration to get this going, and more time for each update. You'd also get a huge executable, probably 400~800 MBi.
I'm not sure if this will even work with VISA, as it might need kernel drivers installed, for all or any of the hardware you need. Never mind, you don't want VISA.
To summarize: Possible? Maybe. Practical? No.
07-31-2020 04:42 AM
Why should i not want to use VISA?
07-31-2020 05:00 AM - edited 07-31-2020 05:02 AM
Hi One,
@OnlyOne wrote:
how is it possible to create a standadlone labbview-runtime project (*.exe) which is running without any side installations like NI MAX, NI VISA, NI GPIB?
So that the file can run diret without any installation on alle computers.
So you want to distribute an EXE created with LabVIEW, which relies on VISA drivers installed, without the need to install the VISA drivers?
I guess this will not work…
07-31-2020 05:06 AM
@GerdW wrote:
Hi One,
@OnlyOne wrote:
how is it possible to create a standadlone labbview-runtime project (*.exe) which is running without any side installations like NI MAX, NI VISA, NI GPIB?
So that the file can run diret without any installation on alle computers.
So you want to distribute an EXE created with LabVIEW, which relies on VISA drivers installed, without the need to install the VISA drivers?
I guess this will not work…
SpoilerThe last time I was able to distribute simple (aka just a GUI) LabVIEW-created executables without installation was with LV7.1.
Even this only was usable when you didn't need any drivers like VISA!
Not sure anymore about VISA.
OP says s(he) doesn't want to install it, but not if it's needed.
07-31-2020 05:11 AM
The program is using VISA open/write/read/close.
The idea was to create a project and compile it as executable and then labview will grab all needed sources and pack it into the output directory.
But if i understand you correct this does not included a for example visa32.dll but only VIs?
07-31-2020 05:18 AM - edited 07-31-2020 05:48 AM
With or without VISA, this is not supported.
@OnlyOne wrote:The idea was to create a project and compile it as executable and then labview will grab all needed sources and pack it into the output directory.
This is simply not supported. Best next thing that comes close to this is an installer.
BoxedApp is a hack that might work to some extend, with the considerations I've given earlier (lots of work, no guaranties, perhaps not even legal).