To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This program may be used to programmatically determine the VISA Version on your current system.
Description
The VISA Version is stored in the Windows Registry. This program accesses that particular registry key to programmatically determine the VISA Version. This program follows the typical "open, operate, close, handle errors" algorithm. First, the program opens the registry key in which the VISA Version is stored. Then the VI read the VISA Version, and close the registry key at last step.
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Snippet
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Thanks for posting. Could you please embed a screenshot so we know what the code looks like? Also, please rename your attachment to include the version number ("_lvXX.vi" would work).
Great example. A good approach for determining any SW, and its version, installed on a local machine.