Example Code

USB DETECT AND PERFORM READ WRITE TEST

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW
  • Other

Code and Documents

Attachment

Overview

A demonstration of detecting and trimming drive name and then read/write test on that drive.

 

Description

USB Test is the main VI which can be used to detect your USB Drive and trim its Name. Also, it performs read write test on that drive. Get Drive Name is a SubVI that gets certain drive’s name.

 

Requirements to Run

  1. LabVIEW 2012 (or compatible)
  2. OpenG library

 

Steps to Implement or Execute Code

  1. Specify an expected drive name
  2. Run the program.

 

Additional Information or References

 

VI Snippet

111.png

**This document has been updated to meet the current required format for the NI Code Exchange.**

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
zorandinho
Member
Member
on

Sub vi's are missing.

MangeshD
Active Participant
Active Participant
on

Zorandinho,

The Sub VI's which are missing may be you don't have an OpenG toolkit downloaded in your Labview.

Please Download it from VIPM. I have used OpenG Tools inside the above Code