|| 2.56 out of 5
LabVIEW Real-Time and USB Frequently Asked Questions (FAQ)
CompactRIO>>Controllers, PXI/CompactPCI>>Controllers, CompactDAQ, CompactRIO>>NI myRIO
I want to use USB connectivity as part of my LabVIEW Real-Time Application. Are there any caveats or limitations I should be aware of?
The following is a list of frequently asked questions (FAQs) regarding the use of USB devices with LabVIEW Real-Time:
Related Links: KnowledgeBase 4LRA4IQ0: What Operating System Is My Real-Time Controller Running and Why? KnowledgeBase 5BFFB6M2: LabVIEW 2011 Real-Time Module ReadmeKnowledgeBase 3YQ8O7TQ: Can I Boot into or Run LabVIEW Real-Time Using a USB Flash Drive?White Paper: Requirements for a Desktop PCs as LabVIEW Real-Time TargetsKnowledgeBase 2KM92E5F: Using FTP to Access and Use the External CompactFlash or USB Drive on a Real-Time Controller
- Does LabVIEW Real-Time support USB connectivity?
As of LabVIEW Real-Time 8.6 and later, UHCI (low-speed) and EHCI (high-speed) USB devices such as thumb drives and external hard drives are supported for real-time targets with onboard USB hardware. OHCI USB devices are not supported.
- Can you hot-swap USB drives?
Yes, a USB drive is hot-swappable because you do not have to power down the system before removing the drive. There is no special command needed to remove the device before pulling it out. However, do not remove USB drives if a file read/write operation is in progress.
- Can you have more than one USB drive at once?
If the real-time target has more than one port for onboard USB hardware then the device can support more than one USB drive at once. Each USB drive will have a different letter.
- Can you remove the internal drive of a real-time system and only use an external USB drive?
No. It is not recommended to remove the internal drive of any real-time system.
- Can I use my USB DAQ device with LabVIEW Real-Time?
USB cDAQ devices (except the cDAQ-9172) are supported on PharLap Real-Time systems with DAQmx 9.6 or later and LabVIEW Real-Time 2012 or later. No other USB DAQ devices are supported on PharLap-based Real-Time systems. NI Linux RT and VxWorks Real-Time systems do not support any peripheral USB DAQ devices, including USB cDAQs.
- Does my external USB drive have to be formatted for any particular file system?
For PharLap systems, external USB drives can use either FAT32 or Reliance file formats.
On VxWorks, the only supported format is FAT32.
For LinuxRT, external USB drives should be formatted as be FAT32. For raw NAND devices UBIFS is accepted.
- What is the purpose of the USB B port on the on the myRIO, roboRIO, cRIO-9066, cRIO-9067, cRIO-903x, cDAQ-9132/34 and sbRIO-9651 systems?
Connecting your development computer to the USB B port allows you to configure and deploy code to the target as you would with an ethernet connection.