Alex Katsovich Posted September 12, 2010 Report Share Posted September 12, 2010 Hello, May be somebody know how I can read a list of hardware devices installed on my computer and set properties for each device (like a Windows Device Manager), using .NET functions. Thanks Quote Link to comment
crelf Posted September 12, 2010 Report Share Posted September 12, 2010 What exactly do you want to change? There's a *lot* of stuff you can do with DAQmx property nodes, and you can load in an ncs (or partial hardware prepresentations). Quote Link to comment
Alex Katsovich Posted September 12, 2010 Author Report Share Posted September 12, 2010 (edited) What exactly do you want to change? There's a *lot* of stuff you can do with DAQmx property nodes, and you can load in an ncs (or partial hardware prepresentations). I want for example to read the name and "Hardware Id" of Disk drive (as viewed in attached picture) Thanks Edited September 12, 2010 by Alex Katsovich Quote Link to comment
Bab Posted September 22, 2010 Report Share Posted September 22, 2010 I want for example to read the name and "Hardware Id" of Disk drive (as viewed in attached picture) Thanks Hi, just some thoughts: you could google on visual basic scripts (VBS) and getting device manager info. There are some objects (activeX) available in a standard windows installation which are commonly used in windows scripts to retrieve this type of information. I have read threads about getting installed software information, managing services, or getting users and groups information. It certainly allows looking at the info found in the device manager. It is called Windows Management Interface (WMI). Since it is activeX, you should be able to "translate" examples found for VBS into G code. I hope it helps getting in the right direction. Cheers. Quote Link to comment
ShaunR Posted September 22, 2010 Report Share Posted September 22, 2010 A lot of the information is stored in the registry. So a quick and dirty way would be to find it there. Quote Link to comment
Alex Katsovich Posted September 26, 2010 Author Report Share Posted September 26, 2010 Hi, just some thoughts: you could google on visual basic scripts (VBS) and getting device manager info. There are some objects (activeX) available in a standard windows installation which are commonly used in windows scripts to retrieve this type of information. I have read threads about getting installed software information, managing services, or getting users and groups information. It certainly allows looking at the info found in the device manager. It is called Windows Management Interface (WMI). Since it is activeX, you should be able to "translate" examples found for VBS into G code. I hope it helps getting in the right direction. Cheers. Thanks, I will try it. Thanks to everyone for the help Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.