NI Home
Cart Cart | Help
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Currently Being Moderated

How to Launch the Properties Window of a Device Listed in Device Manager from LabVIEW

VERSION 3

Created on: Jun 17, 2009 7:32 AM by Hillman - Last Modified:  Sep 12, 2009 8:19 AM by Hillman

How can an application in LabVIEW open Windows Device Manager and view the properties of a specific device. There are a few approaches that can be used.

 

Firstly, there is the DevCon command-line utility which functions as an alternative to Device Manager available from the Microsoft website.

 

Microsoft:The DevCon command-line utility functions as an alternative to Device Manager

 

Then by using the System Exec.vi these command-lines can created by LabVIEW. Please refer to the following document from the Microsoft support pages for more information on how to invoke the Device Manager dll (devmgr.dll) from the command line.


Microsoft: How to invoke the device Properties dialog box from the application or from a command prompt

 

Secondly, you can you the Call Library Node which is shown in the attachted example (LabVIEW 8.6).

WindowsDeviceManagerCallLib.JPG

 

Downloads:
Average User Rating
(0 ratings)




Adam1122 Adam1122  says:

A good and useful instruction, but I can't open this vi with LabVIEW 8.5.1.