10-21-2013 10:20 AM
I am using Labview RT on an embedded PXI controller. The current system configuration uses an external drive connected to the USB port and is addressed as 'v:\'. I am trying to add a second external USB drive, but can't address it. The drive is ok because it works in the first port addressed as drive v:. I wrote a program to step through the alphabet to address the drive. It finds only two drives, the internal drive c: and the first external drive v:.
What letter should the 2nd drive be addressed as?
The controller has 4 front panel USB ports. Is the 2nd port active? Do I have to enable the 2nd port?
Dave
10-21-2013 10:35 AM
Hi Dave,
The USB drive letters start with U. The first drive connected gets U:, the second V: and so on.
You're saying that with only one USB drive connected, it gets assigned the letter V?
What PXI model are you using? Which LabVIEW version?
Vicentiu
10-21-2013 10:41 AM
I made a mistake. The working port is letter U. I tried V for the 2nd drive and it didn't work.
10-21-2013 10:50 AM
If you have no drives connected, and you only plug in the "2nd drive", can you access it as U?
10-21-2013 01:43 PM
the Controller is a PXI-8108
Labview 2011 version 11.0
With one drive in the drive responds to U.
Dave
10-21-2013 02:32 PM - edited 10-21-2013 02:33 PM
Hi Dave,
I don't have an RT controller on hand to test this, but if I recall correctly, there is a List Directories function that will give you a list of the drives on the target.
-edit-
d'oh- my google fu failed me; it's "List Folder" as described in this KnowledgeBase:
How Can I Have LabVIEW Return a List of Disk Drives on My Computer?
http://digital.ni.com/public.nsf/allkb/9DFF8F1788A7171A86256D10003776C0
Regards,
10-22-2013 04:57 AM
Can you access the drives through a FTP client like Filezilla?
For the remote path enter /u: and /v:
10-22-2013 06:38 AM
I tried two drives on a 8108 with LV 2011 and was able to access both drives as U and V both from LabVIEW and through FTP.
One detail worth mentioning is that on PXI systems, USB drives don't actually get mounted to a drive letter until you try to access contents on the drive.
So calling List Folder VI with an empty path name will not show USB drives in the list until they are accessed.
If you call List Folder with u:\ or v:\ should work. Then the drives will show up with List Folder and empty path name.
10-24-2013 12:49 PM
I found the problem. the new drive was not formtted as Fat32. It was fromatted as exFat. So it started woking once I formatted it correctly. Using a 3rd party formatter, instead of Windows, from Verbatim, Thanks for your help!