LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Standalone LV-GUI with VISA

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

0 Kudos
Message 1 of 7
(1,886 Views)

@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.

0 Kudos
Message 2 of 7
(1,871 Views)

Why should i not want to use VISA?

 

0 Kudos
Message 3 of 7
(1,859 Views)

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…

 

Spoiler
The 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!

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 7
(1,846 Views)

@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…

 

Spoiler
The 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.

0 Kudos
Message 5 of 7
(1,841 Views)

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?

0 Kudos
Message 6 of 7
(1,835 Views)

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).

0 Kudos
Message 7 of 7
(1,830 Views)