Example Code

Open file using System Executive in LabVIEW

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

Code and Documents

Attachment

Overview
This example VI shows how to open up a file once a path is specified.


Description
Useful bit of code that allows you to open any file using the system executive tool. Simply run the VI, locate your file and click the button.


Requirements

  • LabVIEW 2012 (or compatible)


Steps to Implement or Execute Code

  1. Run the VI
  2. State the file path and click 'Open this File' button.

 

Additional Information or References
VI Snippet

00.png

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

John McLaughlin
Academic Account Manager
National Instruments UK & Ireland

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

Comments
JohnMc19
Active Participant
Active Participant
on

Alternate method found here: http://decibel.ni.com/content/docs/DOC-14604

John McLaughlin
Academic Account Manager
National Instruments UK & Ireland