Drag and Drop a File to Read Using LabVIEW

Produits et Environnement

Cette section illustre les produits et le système d’exploitation utilisés pour créer l’exemple.

Pour télécharger le logiciel NI, y compris les produits présentés ci-dessous, rendez-vous sur ni.com/downloads.

    Logiciel

  • LabVIEW

Code et Ressources

Fichiers Attachés

Tout télécharger

Overview

A simple application to show how an event structure can be used to view the contents of a text file simply by dragging it from the Windows environment.


Description
Get the Path of the dragged file, ensure it is a text file. If so open it and display the contents within the text box.

 

Requirements

  • LabVIEW 2012 (or compatible)


Steps to Implement or Execute Code

  • Select the path
  • Run the program

 

Additional Information or References
VI Snippet

2-265.png

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

Applications Engineer

L’exemple de code provenant de l’échange d’exemple de code au sein de la communauté NI détient une licence MIT .

contributeurs