How to Programmatically Determine the Versions of Installed NI Software

Updated Sep 28, 2022

Reported In

Software

  • LabVIEW
  • System Configuration

Issue Details

I would like to write a program in LabVIEW that will discover and report version numbers for the NI software I have installed. Most of the drivers on my workstation have a property node that will do this for me, but neither NI-IMAQdx nor NI-Serial provide this functionality. What can I do? 

Solution

Not all of NI's drivers have a property node that will return their version number. In order to check which NI components are installed on your computer, you may use the Get Installed Software VI. This VI may be added to your block-diagram by navigating through the functions palette:
Measurement I/O » System Configuration » Software Management » Get installed Software.vi This function may be used to examine the installed software on any computer on your network. To check just the software on your workstation, use localhost as the Session In argument. The Get Software Information.vi will return an array of clusters, with each cluster containing:
  • Title
  • Description
  • ID
  • Version
  • Component Type
The attached example demonstrates how to get the version of both NI-IMAQdx and NI-Serial drivers.