LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I build an .exe that will run when opened ?

I'm using Labview 5.0. and I'm trying to create an exe that will run when opened, so I don't have to click the run arrow. The exe is to be run when the PC it turned on.
0 Kudos
Message 1 of 4
(2,879 Views)
"Robert Collins" wrote in message
news:506500000008000000D5B80000-1073519706000@exchange.ni.com...
> I'm using Labview 5.0. and I'm trying to create an exe that will run
> when opened, so I don't have to click the run arrow. The exe is to be
> run when the PC it turned on.
>

Yes of course, you can tell you vi's to run when opened and close when
stopped afterwards.
To do this right click the vi's icon on the front panel or block diagram and
select vi properties
in the context menu. Select category window appearance in the drop down list
and choose
to customize your settings. Here you'll find a couple of needfull settings.
Message 2 of 4
(2,879 Views)
Thanks very much for your help.

Rob
0 Kudos
Message 3 of 4
(2,879 Views)
Sebastian's answer is exactly what you need, as long as you don't mind the whole LabVIEW development environment starting up in order to run your VI (and staying open afterwards). Just put your VI, or a link to it, in the Startup programs group - I assume we're talking about Windows here, of course.

If you actually want to create a stand-alone .exe file that doesn't need the development environment installed on the PC where it runs and behaves just like any other .exe program, you need the Application Builder. I don't know if you'll be able to buy this for LV 5 any more, you might have to upgrade to the latest LV version - in which case ask NI for an upgrade price.
0 Kudos
Message 4 of 4
(2,879 Views)