From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Darren's Weekly Nugget 09/21/2009

If you have multiple LabVIEW versions installed on your machine , there is a quick way to specify which version of LabVIEW you want to use to open a VI in Windows Explorer.  You can customize the "Send To" pull-right menu with your own shortcuts:

 

sendto.png

 

To customize this pull-right menu, simply place the desired shortcut(s) in the following location, depending on your Windows version:

  • Windows XP - C:\Documents and Settings\[your username]\SendTo
  • Windows Vista/Windows 7C:\Users\[your username]\AppData\Roaming\Microsoft\Windows\SendTo

 

P.S. - No nugget next week.  Look for a new one on October 5th!

Message Edited by Darren on 09-21-2009 12:06 PM
Message 1 of 11
(9,707 Views)

Sweet! Great idea for sure.

 

*Tear for no nugget next week*

---------------------------------
[will work for kudos]
0 Kudos
Message 2 of 11
(9,666 Views)

I think it should be mentioned that this will not work under all circumstances.  If you have two versions of LabVIEW open (say you opened 8.0 then 8.5) and you right click the file send to LabVIEW 8.0, it will open it with LabVIEW 8.5.

 

This is because versions of LabVIEW talk to eachother via DDE, and will open the VI with the last version of LabVIEW that you opened regardless of the version you selected.  But this will only happen if the version of LabVIEW you want to open it with is already running, and it was not the last to be opened.

 

I've been working on a fix for this, where it finds what versions of LabVIEW that are running and switches to that version.  The application isn't done yet but I'll post it when it is.

Message 3 of 11
(9,622 Views)

Hooovahh wrote:

I think it should be mentioned that this will not work under all circumstances.  If you have two versions of LabVIEW open (say you opened 8.0 then 8.5) and you right click the file send to LabVIEW 8.0, it will open it with LabVIEW 8.5.


I'm not sure if it's because I'm running Windows 7, but I can't reproduce this.  No matter what version(s) of LabVIEW I already have running, or which one I ran last, the correct version always opens the VI if I right-click and Send To.

0 Kudos
Message 4 of 11
(9,587 Views)

I don't want to de-rail your thread, I'm just curious.  In my case (XP SP3) if I run LabVIEW 7.1 (I run the actual EXE to make sure I'm doing it right) then run LabVIEW 8.0 (again the actual EXE) then go back and run the 7.1 EXE, LabVIEW 8.0 will be brought forward.  This is an example of the two versions of LabVIEW talking to eachother and bringing forth the wrong version.

 

Are you telling me that in Windows 7 the right version of LabVIEW is brought forth?  Or is just the Send To function working right?

0 Kudos
Message 5 of 11
(9,581 Views)

Hooovahh wrote:

 

Are you telling me that in Windows 7 the right version of LabVIEW is brought forth?  Or is just the Send To function working right?


When I just run the EXEs, I see the behavior you're describing.  When I use the Send To menu options, everything seems to work as it should.

0 Kudos
Message 6 of 11
(9,560 Views)

Darren wrote:

 

I'm running Windows 7


Purely out of topic, but wish to ask here to keep the query at one place reg Windows OS...

 

Will LV 7.0 & 7.1 run in Windows Vista & Windows 7 normally after installation in a new laptop or do I need to do anything extra (like a patch)? Because in those CDs, it has been marked as Windows 2000/Me/XP...

- Partha ( CLD until Oct 2024 🙂 )
0 Kudos
Message 7 of 11
(9,378 Views)
I installed all my LabVIEW versions on my dev machine when it was still Windows Vista (64-bit).  I never had any issues with installing/launching/using them on that OS.  I upgraded to Windows 7 (64-bit) a few weeks ago.  I have launched LabVIEW 7.0 and 7.1 a few times since then, and haven't seen any issues.
0 Kudos
Message 8 of 11
(9,335 Views)

I cannot get this to work in my Vista HP machine.

I get the same behaviour as when double clicking.

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 9 of 11
(8,978 Views)

TCPlomp wrote:

I cannot get this to work in my Vista HP machine.

I get the same behaviour as when double clicking.


I'm really not sure what the problem could be at this point.  There may very well be an obscure Explorer setting that is causing the difference in behavior.
0 Kudos
Message 10 of 11
(8,864 Views)