QueueYueue Posted March 24, 2015 Report Share Posted March 24, 2015 I'm working on an automated builder. I'd like to be able to know all of the installed versions of labview on the system. I can use the "Get Installed Software" VI in nisysconfg.lvlib, but that gives me names and ID and stuff, and what I really need is executable paths and VI Server ports. Anyone have ideas? What good is this ID GUID-looking value? Quote Link to comment
Michael Aivaliotis Posted March 25, 2015 Report Share Posted March 25, 2015 You can find the labview installed versions in the Windows registry. You can find the VI Server ports in the ini files for those labview versions. It's all there. Quote Link to comment
joerghampel Posted March 25, 2015 Report Share Posted March 25, 2015 (edited) If you're working in Windows XP, you might want to try the registry (Source: http://digital.ni.com/public.nsf/allkb/DEDEC3074C17323086256A29005BC543): ...go to Start»Run and type regedit. In the file tree, navigate to HKEY_LOCAL_MACHINE»Software»National Instruments»LabVIEW. Then select the appropriate version of LabVIEW. Two registry keys in the right column called Type and Version display your version of LabVIEW under the Datacolumn. Type will either be Base, Full, or Pro. For Windows 7, I just had a look and couldn't find the information at the same keys? Edit: Wow, only two hours on the phone with a customer while in the middle of typing, and the answer's posted... Edited March 25, 2015 by joerghampel Quote Link to comment
Popular Post hooovahh Posted March 25, 2015 Popular Post Report Share Posted March 25, 2015 I've posted this before but I can't seem to find where now. This is a VI that will read the Windows registry and return the development, and run time versions installed, along with the "Current" version, which is usually the last development version opened. LabVIEW Versions Installed.vi 4 Quote Link to comment
joerghampel Posted March 25, 2015 Report Share Posted March 25, 2015 For Windows 7, I just had a look and couldn't find the information at the same keys? For future reference: Don't use the 64 bit version of the registry editor if you want to see entries for 32 bit applications (I tripped over the same thing some time ago with the ODBC Manager). 64 bit: C:\Windows\system32\regedit32.exe 32 bit: C:\Windows\SysWOW64\regedit32.exe Really, Microsoft? Quote Link to comment
QueueYueue Posted March 25, 2015 Author Report Share Posted March 25, 2015 Thanks for the help. The 32 bit/64 bit registry is what was throwing me off. Quote Link to comment
SometimesRight Posted November 12, 2018 Report Share Posted November 12, 2018 Or you can use the 64-bit version of regedit but be aware that the 32-bit application's keys are not the ones you see immediately under HKLM\Software but instead are beneath HKLM\Software\Wow6432Node, e.g. HKLM\Software\Wow6432Node\National Instruments\LabVIEW\… . When running a 32-bit application Windows looks under there when you access HKLM\Software\<anything>. I guess it is done like this in case you have both a 64-bit version and a 32-bit version of the same software that are different versions. Some of the other registry hives have the same structure. Just one reason why the Windows registry is so enormous! Quote Link to comment
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.