LAVA 1.0 Content Posted February 16, 2006 Report Posted February 16, 2006 Is it possible to run a LabView VI or an .exe automaticlly when Launching Labview. I do not want it dependent on the shortcut that is used to launch LabView. The use case is for sychronizing may reuse librarys with my source code control. Using the SCC VI's in Labview 8.0 I have writen code that will do the sync., I just want it to run automaticalyy when LV is launched, so I know I am working with the latest and greatest reuse VI's. I was thinking maybe somthing in the LabView ini. Quote
jpdrolet Posted February 16, 2006 Report Posted February 16, 2006 Is it possible to run a LabView VI or an .exe automaticlly when Launching Labview. I do not want it dependent on the shortcut that is used to launch LabView. The use case is for sychronizing may reuse librarys with my source code control. Using the SCC VI's in Labview 8.0 I have writen code that will do the sync., I just want it to run automaticalyy when LV is launched, so I know I am working with the latest and greatest reuse VI's. I was thinking maybe somthing in the LabView ini. In the vi.lib folder, put a VI named lv_init.vi. This VI is called at LabVIEW launch. You can use this VI to launch other executables or any other task. 1 Quote
orko Posted February 16, 2006 Report Posted February 16, 2006 In the vi.lib folder, put a VI named lv_init.vi. This VI is called at LabVIEW launch. You can use this VI to launch other executables or any other task. That's slick! :thumbup: The only reference that I've found to this is an article in Google's cache from Jim Kring (kudos!) coming from the OpenG tiki (which is currently down probably due to their recent upgrade). There are a lot more of these event callback VI's listed, here's a copy out of the cache (in rtf): Download File:post-3266-1140129786.rtf 1 Quote
LAVA 1.0 Content Posted February 17, 2006 Author Report Posted February 17, 2006 In the vi.lib folder, put a VI named lv_init.vi. This VI is called at LabVIEW launch. You can use this VI to launch other executables or any other task. Thanks a lot, It worked just as I had hoped. Quote
Michael Aivaliotis Posted March 18, 2011 Report Posted March 18, 2011 Added a LabVIEW Wiki page that covers this. Anyone can edit and improve it if they desire: http://labviewwiki.org/Development_Environment_Event_Callback_VIs 2 Quote
crelf Posted March 18, 2011 Report Posted March 18, 2011 Added a LabVIEW Wiki page that covers this. Anyone can edit and improve it if they desire. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.