File System Web Service LabVIEW API

Publish Date: Aug 11, 2014 | 7 Ratings | 2.57 out of 5 | Print | 2 Customer Reviews | Submit your review

Overview

This LabVIEW API provides programmatic access to the file system web service for LabVIEW Real-Time targets introduced in 2010. Note: WebDAV was introduced with LabVIEW 2013 and is the recommended method over the File Transfer Web Service.

The file system web service is described in detail in this tutorial: Interacting with the LabVIEW Real-Time File System using Web Services.

The LabVIEW API provides the following functions:

  • Copy File
  • Create Directory
  • Delete Directory
  • Delete Single File
  • Download Single File
  • Move File
  • Recursive File List
  • Remote Single Directory List
  • Upload Single File

Both HTTP and HTTPS requests are supported.  For HTTPS (i.e. SSL), the Internet Toolkit must be installed.

Note: As of LabVIEW 2014, the Filesystem Web Service on Real-Time will no longer be shipped.  Users relying on the Filesystem Web Service can continue using dependent applications by using the installer provided in the attachments.  This installer will work for VxWorks and Phar Lap targets running LabVIEW 2014 or later.

Back to Top

Customer Reviews
2 Reviews | Submit your review

The   - Jun 19, 2013

The "Upload Single File.vi" is missing a call to the "AddHeader.vi" to setup the HTTP POST encoding method (= multipart/form-data). The Upload File vi seems to still work without this call if it is the first VI called after the handle is opened, but if other requests are made that use other methods first, then the POST vi returns an error when this "Upload Single File.vi" is later called. All the other subVIs in this API example do make use of the "AddHeader.vi" to setup their POST call. The "Upload Single File.vi" should too.

Example code has a bug  - Jun 17, 2013

Example code has a bug. See here: http://forums.ni.com/t5/LabVIEW/File-System-Web-Service-LabVIEW-API-unexpected-results/td-p/2463212

Bookmark & Share


Downloads

Attachments:

Filesystem Web Service Install
er

Filesystem Web Service.lvlib

Requirements


Ratings

Rate this document

Answered Your Question?
Yes No

Submit