LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

USB PORT

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

 

0 Kudos
Message 1 of 9
(2,992 Views)

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

Vicentiu
National Instruments R&D
0 Kudos
Message 2 of 9
(2,982 Views)

I made a mistake. The working port is letter U. I tried V for the 2nd drive and it didn't work.

0 Kudos
Message 3 of 9
(2,976 Views)

If you have no drives connected, and you only plug in the "2nd drive", can you access it as U?

Vicentiu
National Instruments R&D
0 Kudos
Message 4 of 9
(2,969 Views)

the Controller is a PXI-8108

Labview 2011 version 11.0

 

With one drive in the drive responds to U.

 

Dave

 

0 Kudos
Message 5 of 9
(2,949 Views)

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,

 

Tom L.
0 Kudos
Message 6 of 9
(2,940 Views)

Can you access the drives through a FTP client like Filezilla?

 

For the remote path enter /u: and /v:

Vicentiu
National Instruments R&D
0 Kudos
Message 7 of 9
(2,914 Views)

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.

Vicentiu
National Instruments R&D
Message 8 of 9
(2,908 Views)

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!

0 Kudos
Message 9 of 9
(2,854 Views)