10-28-2014 11:28 AM
Hi Guys
Is there any to check USB devices connected or not connected to a computer programmably.
Tnanks
10-28-2014 01:09 PM
10-28-2014 03:10 PM
Okay you probably mean a USB thumb drive. If this is the case run the List Folder function under File I/O >> Advanced. Provide a blank path to the input and it will return the disk drives on your machine as an array. You can then see if there is a E drive or whatever which is your drive you plugged in. Or look for some files on the E drive that you expect to be there. Or there are other functions for finding the lable, volume and serial number of the drive which can also be used to identify it.
But if you are talking about any USB device checkout DevCon. Here are a few links
https://decibel.ni.com/content/docs/DOC-36009
https://decibel.ni.com/content/docs/DOC-5165
http://digital.ni.com/public.nsf/allkb/1D120A90884C25AF862573A700602459
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord