How to Determine If a Driver Is Available in Windows?

Updated Aug 6, 2018

Reported In

Software

  • LabVIEW

Operating System

  • Windows

Issue Details

I am trying to find out if a specific driver is installed on my Windows. Is there a way to do so programmatically from within LabVIEW?

Solution

It is possible to query Windows' system management infrastructure via .NET to find out information about installed drivers. This includes determining if a specific driver is installed at all as well as listing all installed drivers.

The attached LabVIEW project includes example VIs for both approaches.

Additional Information

The attached VIs rely on the System.Management 4.0.0.0 assembly which comes with .NET 4.x which was originally released in 2010. It is included in Windows 8, 8.1, and 10. It can be installed on Windows 7 and Vista as well.
 

Attachments

WAS THIS ARTICLE HELPFUL?

Not Helpful