LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

exe without LabView

Hi,
I want t build an exe-file and this exe have to start without Labview. so that i can run this exe at a computer withaot installing Labview.
is this possible?

THX
0 Kudos
Message 1 of 9
(4,225 Views)

Of course. If you have the professional version of LabVIEW, it includes the application builder. It is also available for purchase separately. See here.

0 Kudos
Message 2 of 9
(4,218 Views)
Yes I have the professional version of LabVIEW, with the application builder. The Problem is that i can run it from a pc without LabView, or are there some steps to configure that?

geht auch in deutsch

THX
0 Kudos
Message 3 of 9
(4,213 Views)
You need to install a LabVIEW runtime on the pc you want to run your application. The best way to take care of that is to create an installer in LabVIEW which includes the runtime...
Message 4 of 9
(4,203 Views)

It think you mean to say that you can't run it on a pc without LabVIEW.Smiley Wink

You don't mention what exactly the problem is when you try to run the exe. You should always select to create an installer. This will include the necessary run-time engine. You also need to include in the installer any hardware drivers such as NI-GPIB, NI-VISA, DAQmx, etc. that your application needs.

Message 5 of 9
(4,200 Views)
THX it works withe the installer:)

but i want to run it not in a window.
Can i run it as windows-service in the background, like for example a virus-scanner?
so that i see it for example as a symbol in the task-border from windows? or I don´t see anythink from the programm

THX

0 Kudos
Message 6 of 9
(4,161 Views)


@chefcommander wrote:
THX it works withe the installer:)

but i want to run it not in a window.
Can i run it as windows-service in the background, like for example a virus-scanner?
so that i see it for example as a symbol in the task-border from windows? or I don´t see anythink from the programm

THX



Yes you can. Search for srvany on the net. You can even include the service creation in the installer with LV 8.2 easily.

To get a symbol in task tray you'll have to call some WINAPI function (or maybe it is easier to call .NET). I think this isn't hard to achieve.

Cheers,
Carsten
0 Kudos
Message 7 of 9
(4,158 Views)
You may have problems with this, since the LabVIEW runtime actively checks for an open front panel.  If there are no open front panels, it exits, even if there is running code in the background.  Please try this, since my last experience with this kind of stuff was in LabVIEW 7.1.  It may have changed.  If it is a problem, the solution is simple.  Move the open front panel window off screen.  You can use VI server to determine the bounds of your display(s) and your window bounds and calculate how far to move it or you can just move it far into negative space (e.g. -10,000, -10,000).  Use VI server for the move, as well.
0 Kudos
Message 8 of 9
(4,138 Views)


@DFGray wrote:
You may have problems with this, since the LabVIEW runtime actively checks for an open front panel.  If there are no open front panels, it exits, even if there is running code in the background.  Please try this, since my last experience with this kind of stuff was in LabVIEW 7.1.  It may have changed.  If it is a problem, the solution is simple.  Move the open front panel window off screen.  You can use VI server to determine the bounds of your display(s) and your window bounds and calculate how far to move it or you can just move it far into negative space (e.g. -10,000, -10,000).  Use VI server for the move, as well.



It works both with LV 7.1.1 and LV 8.2. We have a few services running here in my company to send SMS with status messages of test stations (central server application to send SMS over a serial connection to a GSM mobile wich is still running on LV 7.1.1 and services on a few lab pcs testing for events most running on LV 8.2.1).
0 Kudos
Message 9 of 9
(4,126 Views)