Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
16 ratings:
 2.56 out of 5   

LabVIEW Real-Time and USB Frequently Asked Questions (FAQ)



Hardware: CompactRIO>>Controllers, PXI/CompactPCI>>Controllers, CompactDAQ, CompactRIO>>NI myRIO

Problem:
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?

Solution:
The following is a list of frequently asked questions (FAQs) regarding the use of USB devices with LabVIEW Real-Time:
  1. 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.


  2. 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.


  3. 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.


  4. 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.


  5. 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.


  6. 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.

  7. 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.


Related Links:
KnowledgeBase 4LRA4IQ0: What Operating System Is My Real-Time Controller Running and Why?
KnowledgeBase 5BFFB6M2: LabVIEW 2011 Real-Time Module Readme
KnowledgeBase 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 Targets
KnowledgeBase 2KM92E5F: Using FTP to Access and Use the External CompactFlash or USB Drive on a Real-Time Controller

Attachments:





Report Date: 08/23/2006
Last Updated: 11/13/2017
Document ID: 40MDORS9

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit