Example Code

Open file using URL function 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 any file from within LabVIEW using 'Open URL in Default Browser.vi'


Description
You can change DAQmx task values during the VI running. The VI is accomplished through the use of conditional statements such as Case Structures and the First Call function.


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
JosephR
Member
Member
on

I have LabVIEW version 9.0. Could someone with the latest version of LabVIEW could post this VI in and earlier version? Much appreciated.

JohnMc19
Active Participant
Active Participant
on

Hi JosephR, The LabVIEW 2009 version is now up. Many thanks.

John McLaughlin
Academic Account Manager
National Instruments UK & Ireland
meddeb.safouene@gmail.com
Member
Member
on

Hi,

thanks for this explication and for this example . i am using the open url in default browser (with labview 2013). After the browser open my adress i want to close it automatically after a few second.

Please can any one help me