取消
显示结果 
搜索替代 
您的意思是: 

Access device manager through labview

Hai All,
 
I want to build application to identify the USB devices connected to the PC.  I used to achieve this by using devmgr.dll, but i could not succeed.
So if any one knows how to do this means, please share it.
 
Thanks in Advance.
0 项奖励
1 条消息(共 15 条)
11,799 次查看
Did you try the registry listing as I suggested in your original post?
0 项奖励
2 条消息(共 15 条)
11,781 次查看

Thanks for your prompt response.

yes, off course!! But I could not find the device which i have connected with the PC.  Thats why i tried to access the same through device manager.  Please help me if you have any soloution.

0 项奖励
3 条消息(共 15 条)
11,778 次查看
In the future, please stick to the original post because you're not asking anything new, and it benefits others to see the history.

What have you tried so far, and what exactly "doesn't work"?
0 项奖励
4 条消息(共 15 条)
11,775 次查看
Rather than messing around with that DLL, I would suggest using devcon instead. You can call it using System Exec.
5 条消息(共 15 条)
11,771 次查看
O..Sure.  First i tired to get the required information through the Reistry key as you suggest.  But under the USB tree, i found more that 20 sub trees and no one of it hold the information about the USB device (Code warrior) which i have connected. After that I tried to access through devmgr.dll, and tried its different functions to get the required info.  But i am not sure which function i have to use to fetch the information. 
0 项奖励
6 条消息(共 15 条)
11,769 次查看
I think devcon is going to be easier for you to use. Try it. For example, the command "devcon find usb\*" lists the USB devices. The command "devcon find *" lists ALL devices.
7 条消息(共 15 条)
11,762 次查看
smercurio,
yet again you add another tool to my toolbox.  I think I am going to have to get a bigger one! 眨眼表情
Thank you Sir!
Jim

LV 2020
8 条消息(共 15 条)
11,749 次查看
Can't take full credit for knowing about that utility. In this thread I suggested using that utility, and I indicated in that thread the original thread where I found out about that utility.
9 条消息(共 15 条)
11,745 次查看
Thank you Sir.
0 项奖励
10 条消息(共 15 条)
11,688 次查看