ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

device instance path

Hi 

 

Guys, how do use LabView to read device instance path,

i do not think windows 7 has device instance id.

 

 

Best Regards

0 Kudos
Message 1 of 7
(6,176 Views)

@wenjie1wang wrote:

Hi 

 

Guys, how do use LabView to read device instance path,

i do not think windows 7 has device instance id.

 

 

Best Regards


Why do you need to try this?  Maybe there is a better way.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 7
(6,169 Views)
Yes, what exactly is it that you are trying to do?

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 3 of 7
(6,163 Views)
Yes, I want use LabVIEW to detect device is connect or not.
0 Kudos
Message 4 of 7
(6,116 Views)
There is another way is use devcon.exe and use labview to detect device through devcon.exe, but I do not want to rely on another software(devcon.exe).
0 Kudos
Message 5 of 7
(6,110 Views)

Hi wang,

 

you can do the same operations DevCon does on your own. All you need to do is calling into Windows API!

 

Seriously: When you want to retrieve information from OS API you need to learn about this. MSDN is a great place to look for those API descriptions!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 7
(6,081 Views)

Thanks

0 Kudos
Message 7 of 7
(6,074 Views)