LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Listing mounted drives

Fairly new to LBV I can obtain the default drive & list contents. However can currently mounted drives be displayed? Can anyone please suggest a how to VI.

thnx in advance

0 Kudos
Message 1 of 5
(4,130 Views)

Wire an empty path to the List Folder function.

Message 2 of 5
(4,123 Views)

Sorry, I picked this old thread but it's related to my issue.

 

How do we get the names besides C:, D:, ? In my application, I plug in a USB drive, a new drive will be mounted. I tried getLatestDrive.vi in Labview. When my DUT is a virgin board, Labview finds the latest drive correctly. But when the DUT is a non-virgin board, Labview finds a local hard disk E:\ drive which is wrong. To make it clear, this problem was found only on some of the PCs not all the PCs we've tested on. Since the DUT's drive name (besides the letter E: or I:, etc.) is known to me. So I want to find a function which lists the full names of the drives to be able to locate my DUT drive.

 

Thanks very much!

Spring

0 Kudos
Message 3 of 5
(3,999 Views)

Mayne you could use this as a starting point.

"If you weren't supposed to push it, it wouldn't be a button."
Message 4 of 5
(3,976 Views)

Paul,

 

Thank you so much! Yes, that ListFolder.vi along with that command line returned volume info including the letter and label. It helped a lot!

 

I appreciaete your help very much!

 

Best regards,

Spring 

0 Kudos
Message 5 of 5
(3,966 Views)