Sign In

HTTP Client Extensions by JKI - Toolkit for LabVIEW Download

Extends the HTTP Client library with asynchronous downloads and other useful stuff...

* 2 ↓44
 screenshot
Version0.1.0.2
ReleasedJan 23, 2021
Publisher JKI
LicenseBSD
LabVIEW VersionLabVIEW>=19.0
Operating System Windows, Mac, and Linux
Project links Homepage   Repository  

Description

# LabVIEW HTTP Client Extensions
A set of VIs that extend the functionality of the LabVIEW HTTP Client library in some useful ways:

- Asynchronous file download with progress monitoring and abort
- Follow redirects

# Proof of Concept (demonstrating use case)
Note: this is currently in proof-of-concept phase. The code is not production quality!

# Design Approach
The asynchronous file download with progress monitoring and abort is achieved by spawning an asynchronous "actor" (not Actor Framework) that calls the "HTTP GET.vi". This "actor" monitors the output file size and updates an internal DVR that's uses to share data between the actor and the API methods. Aborting a download in progress is achieved by calling the VI:Abort method on the "actor" VI. This approach is necessary, if the HTTP GET.vi is downloading, since there is no other way to abort the download -- the HTTP Client does not support an abort and not even destroying the HTTP Client handle will abort a download in progress (HTTP GET blocks the call to the HTTP Client's CloseHandle.vi)

# Development Plan
- Create an HTTP GET (Asynchronous) actor that can be aborted, if needed, and messages progress back to the caller.
- Create an HTTP GET (Follow Redirects) that can follow redirects

Release Notes

0.1.0.2 (Jan 23, 2021)

Initial proof of concept of asynchronous download with progress and abort

Contributors: @jimkring

Install with VIPM Download Package

Note, you must have the VIPM Desktop app to install this package into LabVIEW.

Versions

  Post an Idea   Post a Resource

Recent Posts