LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA resource conection status

Hello all,

 

Basically what I want to do is to programatically detect a USB RAW device connected to the system. So what I want to happen is that when my USB device is connect, I want an indicator to turn on. When I remove the device I want it to turn off.

 

I've been messing around with teh VISA find resource VI, but it doesn't seem to tell you when something is connected or not.

 

 ANy ideas?

 

Thanks,

0 Kudos
Message 1 of 4
(2,628 Views)
Not sure if you can actually do that with the VISA Find Resource function, especially if the expression of ?* doesn't return it. Are you on Windows? If so, you could use the devcon utility. Examples have been posted on how to use it, so do a search and you'll find them.
0 Kudos
Message 2 of 4
(2,613 Views)

I see,

 

I'll look into Devcon then,

 

thanks a lot.

0 Kudos
Message 3 of 4
(2,607 Views)

Devcon looks like it would work,

 

but i'm still hoping to find a way to do it all within labVIEW, so that people that I give this program to do not have to install devcon.

 

Any other ideas would be appreciated.

0 Kudos
Message 4 of 4
(2,600 Views)