Jump to content


Photo
* * * * * 2 votes

LabVIEW Shell Launcher


  • Please log in to reply
13 replies to this topic

#1 hugo_fr

hugo_fr

    More Active

  • Members
  • PipPip
  • 28 posts
  • Location:Lyon (France)
  • Version:LabVIEW 2010
  • Since:1996

Posted 14 April 2010 - 02:19 PM

*
POPULAR

Hi,

This is a small tool that adds a shell menu 'Open with LabVIEW Compatible Version'

Very usefull when working with multiple LabVIEW versions.

It launch the appropriate LabVIEW Version if installed', otherwise, it prompts the user to select a more recent installed version.


Posted Image

Posted Image Posted Image


Requirements :

LabVIEW 8.6.1 RunTime Engine



Use :

Right Click on a LabVIEW File

Select 'Open with LabVIEW Compatible Version'



Supported file formats :

.vi .vit

.ctl .ctt

.llb .lvlib

.lvproj .lvclass

.xnode .xctl

Attached Files



#2 Bobillier

Bobillier

    Very Active

  • Members
  • PipPipPip
  • 146 posts
  • Location:Rennes France
  • Version:LabVIEW 2009
  • Since:2009

Posted 14 April 2010 - 03:56 PM

Really great. :worshippy:. The tool i really allways need.
Many thanks
Eric

#3 crossrulz

crossrulz

    Extremely Active

  • Members
  • PipPipPipPip
  • 253 posts
  • Location:Cincinnati, OH
  • Version:LabVIEW 2011
  • Since:2004

Posted 14 April 2010 - 04:10 PM

Really neat tool! I have already put it to good use.:thumbup1:

#4 S59X

S59X

    Active

  • Members
  • Pip
  • 14 posts
  • Location:Slovenia
  • Version:LabVIEW 8.6
  • Since:1995

Posted 15 April 2010 - 05:31 AM

Great! Thank you for the nice tool. :thumbup1:

#5 jzoller

jzoller

    Very Active

  • Premium Member
  • 263 posts
  • Location:Colorado, US
  • Version:LabVIEW 2011
  • Since:1998

Posted 15 April 2010 - 03:46 PM

Really cool, thanks!

Joe Z.



#6 crelf

crelf

    I'm a LAVA, not a fighter.

  • V I Engineering, Inc.
  • 5,742 posts
  • Version:LabVIEW 2012
  • Since:1993

Posted 15 April 2010 - 04:36 PM

What benefits does this have over this: http://lavag.org/top...w-tray-launcher ? Can the functionalities be merged?

post-181-1170858537.png


#7 Ton Plomp

Ton Plomp

    How many lines per hour? Zero!

  • Premium Member
  • 1,973 posts
  • Location:Netherlands
  • Version:LabVIEW 2012
  • Since:2000

Posted 15 April 2010 - 05:37 PM

this is a great tool!
I managed to launch 7.0, 7.1, 8.0, 8.6 and 2009 at once.

ton

#8 hooovahh

hooovahh

    The 500 club

  • Members
  • PipPipPipPipPip
  • 777 posts
  • Version:LabVIEW 2011
  • Since:2004

Posted 17 May 2010 - 05:46 PM

What benefits does this have over this: http://lavag.org/top...w-tray-launcher ? Can the functionalities be merged?

I realize this is a month old but I wasn't able to check Lava consistently recently.

Yeah so my LabVIEW Tray Launcher is different from this application in a couple ways. In my application there is a registry tweak that makes it so that LabVIEW does not get ran when a .VI file is double clicked, but instead my program runs then launches LabVIEW based on what the user selects. This can be a good thing or an unwanted thing based on how you use LabVIEW.

Often I will download a VI from the web and I just want to open it quickly. So I'll choose the Open option in my web browser instead of download. It will download it to a temp directory then open it with my launcher then choose the right version of LabVIEW. This is an interesting case because I don't know the exact location of the saved VI (I could find out easily) and I don't know the version of LabVIEW it was written for. In this case the Shell Launcher wouldn't help because the VI would be opened with the default version of LabVIEW since you would need to right click the VI and choose the option to launch it.

On the other hand some people probably don't want my program taking over the .VI file extension and may want to right click the VI and choose the right one.

My program could be changed to be a right click menu option, and I'm sure that this program could be changed to be ran when double clicking a VI and not just right click.

My program does offer a few other features that might be useful but I'll try not to turn this into a post about my program.

"Maybe Hoovah is really Crelf's alter-ego, which he uses to irk people?" - Gary Rubin

"Seemingly minor changes....can mean the difference between a working app and a quivering heap of unresponsive code." - David Boyd


#9 hugo_fr

hugo_fr

    More Active

  • Members
  • PipPip
  • 28 posts
  • Location:Lyon (France)
  • Version:LabVIEW 2010
  • Since:1996

Posted 27 April 2011 - 12:02 PM

Here is the updated version for LV 2010 SP1 : LabVIEW Shell Launcher 1.0.5.zip

New : Added support for .lvlibp files

-------------------------------------------------

Requirements :

Windows XP or later
LabVIEW 2010 SP1 RunTime Engine (10.0.1)

(available for free at www.ni.com)

Use :

Right Click on a LabVIEW File
Select 'Open with LabVIEW Compatible Version'

Supported file formats :

.vi .vit
.ctl .ctt
.llb .lvlib
.lvproj .lvclass
.xnode .xctl
.lvlibp

#10 hugo_fr

hugo_fr

    More Active

  • Members
  • PipPip
  • 28 posts
  • Location:Lyon (France)
  • Version:LabVIEW 2010
  • Since:1996

Posted 01 July 2011 - 01:19 PM

Here is the new version : LabVIEW Shell Launcher 1.0.6.zip

Corrected a bug in the LabVIEW Version list order (for 10.0)

#11 hugo_fr

hugo_fr

    More Active

  • Members
  • PipPip
  • 28 posts
  • Location:Lyon (France)
  • Version:LabVIEW 2010
  • Since:1996

Posted 04 November 2011 - 05:07 PM

The version 1.0.7 detects LabVIEW 32bit/64bit versions distinctly.

If you have both 32 bits and 64 bits of the same LabVIEW versions installed ( 9,10, 11 or more...), it will ask for which version to launch.

Debug : removed install error for some invalid registry keys when only older versions of LabVIEW are installed. (Yes, this can still occur !!)

:lightbulb: If someone know how to distinguish the bitness of a VI, please share it !!! :lightbulb:


Hugo

#12 hugo_fr

hugo_fr

    More Active

  • Members
  • PipPip
  • 28 posts
  • Location:Lyon (France)
  • Version:LabVIEW 2010
  • Since:1996

Posted 04 November 2011 - 09:28 PM

Valid link is here : LabVIEW Shell Launcher 1.0.7

#13 JamesMc86

JamesMc86

    Very Active

  • NI
  • 198 posts
  • Location:UK
  • Version:LabVIEW 2012
  • Since:2006

Posted 14 January 2012 - 10:08 AM

Hi Hugo,

Nice tool! I have done some work on a similar function for my department but I bottled out a bit on proper right-click integration and just put a shortcut in the send to... menu. What did you find the best way of customising the right click menu was?

Cheers,
James

James McNally

AE Specialist, NI UK & Ireland & CLA


#14 hugo_fr

hugo_fr

    More Active

  • Members
  • PipPip
  • 28 posts
  • Location:Lyon (France)
  • Version:LabVIEW 2010
  • Since:1996

Posted 23 January 2012 - 09:25 AM

Hi James,

I just wrote this VI : Registry - Smart Shell Extension Registration.zip

It adds an input in the Windows registry for specified extension.

Your application shoud of course accept command line parameters...

Hugo.

Edited by hugo_fr, 23 January 2012 - 09:26 AM.