Visit our LabVIEW Wiki Code Distribution Portal
Tags |
(This content has not been tagged yet)
|
![]() |
Aug 27 2008, 12:07 PM
Post
#1
|
|||
|
I've come back for more. Member Posts: 2 Joined: 27-August 08 Member No.: 12378 Using LabVIEW Since:2007 LV:7.0 ,8.20 ,.
|
How can i make a VI run at the windows start up? Is there any way if i can load the DLL file of VI in boot file of windows?
|
||
|
|
|||
| Ad |
Aug 27 2008, 12:07 PM
Post
#
|
||
|
|
|
||
|
|
|||
Aug 27 2008, 01:42 PM
Post
#2
|
|||
|
More Active Member Posts: 31 Joined: 30-October 07 From: North Little Rock, Arkansas Member No.: 9739 Using LabVIEW Since:2000 LV:8.5 ,8.2.1 ,7.1
My Gallery
|
At last a question I can help with!
With Windows XP the way that we handled this at my company was to have the installer place a shortcut to the executable in the startup directory under the programs menu. The thing to watch out for with this is to be sure that you place the shortcut appropriately based on the user-related behavior you desire. By this I mean if you have logins to a machine at the Windows level then you need to be sure and place the shortcut in the all users folder so that it initates the program in all cases. If you are just booting straight to Windows without any user variances then its less of an issue. The installer creation function of the LabVIEW really makes it easy to produce the desired result. This link has some useful information on creating installers http://zone.ni.com/devzone/cda/tut/p/id/3303. Jason
|
||
|
|
|||
Aug 27 2008, 02:53 PM
Post
#3
|
|||
|
Extremely Active Member Posts: 369 Joined: 24-August 06 Member No.: 5958 Using LabVIEW Since:1995 LV:8.5 ,8.2.1 ,7.1.1
|
How can i make a VI run at the windows start up? Is there any way if i can load the DLL file of VI in boot file of windows? Hi, If you want to run the application before any user is logged in, or for all users, you can create a NT-service of your application. A NT service runs without front panel and in the background. To communicate with the NT service you'll have to use VI-Server or UDP or TCP/IP etc. Check out the link http://zone.ni.com/devzone/cda/tut/p/id/3185 to learn how to do this. /J -------------------- Wired but not weird...
|
||
|
|
|||
Aug 27 2008, 02:53 PM
Post
#4
|
|||
|
Very Active Member Posts: 121 Joined: 31-July 06 From: Stockholm Member No.: 5713 Using LabVIEW Since:1996 LV:8.5 ,7.1.1 ,8.0.1
|
How can i make a VI run at the windows start up? Is there any way if i can load the DLL file of VI in boot file of windows? If you have Labview installed on computer just place the VI in the startup under programs folder. There is instructions on NIs site how to make an VI into an windows service.
|
||
|
|
|||
Aug 29 2008, 11:24 AM
Post
#5
|
|||
|
I've come back for more. Member Posts: 2 Joined: 27-August 08 Member No.: 12378 Using LabVIEW Since:2007 LV:7.0 ,8.20 ,.
|
Hey,
Thanks. This is exactly what i wanted. Thanks a ton.
|
||
|
|
|||
![]() ![]() |
| Time is now: 2nd December 2008 - 12:30 AM |