Example Code

Programmatically Download a File From The Internet Using LabVIEW

Code and Documents

Attachment

Overview

This example shows how you can download a file from the internet, programmatically. 

 

Description

This example allows you to communicate with the download server directly, using the HTTP GET protocol.

 

Hardware and Software Requirements

LabVIEW 2016 or compatible.

 

Steps to Implement or Execute Code

  1. Download and open the code.
  2. Put in the download URL in the control.
  3. Specify the local directory to place the downloaded file.
  4. Run the VI. 

Additional Information or References

This has been tested to download the file from NI's download link:

http://download.ni.com/support/softlib/high_speed_digitizers/niscope/Patches/NI-SCOPE%204.0%20Calibr...

 

After running the code, the MD5 checksum is verified to be correct.

md5_1.JPG

md5-2.JPG

 

 

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

Contributors