08-14-2014 06:28 AM
I am running Windows 7, and I have several external HDD connected to my PC. One of the HDD has volume label "BOOTLOADER".
How can I write a LabVIEW vi, to know if the volume label exist, i.e if that HDD is attached to my PC?
I tried the solution in the below link:
but I couldn't get the batch file to work.
As for the .NET solution, I copy and paste the block diagram to my VI, and it does not work.. see my previous post in this forum. Running the original VI does work though..
Solved! Go to Solution.
08-14-2014 11:13 AM
It's fairly easy to get the drive list by letter with list dir, but I couldn't find a pure LabVIEW way, if you want to check for a specific drive, maybe you can test the size and sector size... I know it's just a crappy workaround...
hope this helps
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
08-14-2014 03:07 PM
Try this:
08-15-2014 12:29 AM
That's cool, I just did some research annd if you also waant to see your network drives, paste thhiis into the input string : wmic logicaldisk get caption,volumename
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus