LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

> Related links

Visit our LabVIEW Wiki Code Distribution Portal


Tags
(This content has not been tagged yet)
 
Reply to this topic Start new topic
> Running a VI at Windows boot up
Harshvardhan
post 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 ,.
India Nothing Selected Nothing Selected


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?


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Ad
post Aug 27 2008, 12:07 PM
Post #















Tags
(This content has not been tagged yet)
Go to the top of the page
Quote Post
jasonw
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
United States Nothing Selected Nothing Selected My Gallery


At last a question I can help with! book.gif

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


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
JFM
post 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
Sweden Nothing Selected Nothing Selected


QUOTE (Harshvardhan @ Aug 27 2008, 02:07 PM) *
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...


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Anders Björk
post 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
Sweden Nothing Selected Nothing Selected


QUOTE (Harshvardhan @ Aug 27 2008, 02:07 PM) *
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.


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Harshvardhan
post 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 ,.
India Nothing Selected Nothing Selected


Hey,
Thanks. This is exactly what i wanted. Thanks a ton.



Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

 




Time is now: 2nd December 2008 - 12:30 AM