Simple Get VI

Owning Palette: WebDAV VIs

Requires: Full Development System

Returns a file or multiple files or the raw binary contents of a file or multiple files from a remote WebDAV server or target. You must manually select the polymorphic instance you want to use.

This VI closes the connection to the WebDAV server after LabVIEW downloads the file or files. If you have many files to download or multiple file operations to complete, consider using the Open Session VI and the Get VI or the Asynchronous Get VI.

Use the pull-down menu to select an instance of this VI.

 Add to the block diagram  Find on the palette

Simple Get Buffer

Note Note  This instance returns the contents of the file you specify in remote file uri in raw binary string format.

password is the password for the WebDAV server, if required. For example, when connecting to a real-time target, use the same password as when connecting with NI Web-based Configuration & Monitoring.
username is the username with which to access the WebDAV server, if required. For example, when connecting to a real-time target, use the same username as when connecting with NI Web-based Configuration & Monitoring.
remote file uri specifies the full uniform resource indicator (URI) of the file on the host or the target running the WebDAV server. A URI can be a uniform resource locator (URL), a uniform resource name (URN), or both. remote file uri also specifies the port and whether to use Transport Layer Security (TLS), formerly known as Secure Sockets Layer (SSL). Format remote file uri as http[s]://hostname[:port][/files][/directory/subdirectory]/filename. Use https to connect using TLS/SSL, which provides added security. Use http to specify a non-TLS/SSL connection. If you do not specify a port number, the default is to use 80 for non-TLS/SSL and 443 for TLS/SSL.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
data returns the contents of the file in raw binary data format.
error out contains error information. This output provides standard error out functionality.

Simple Get File

Note Note  This instance returns the file you specify in remote file uri.

password is the password for the WebDAV server, if required. For example, when connecting to a real-time target, use the same password as when connecting with NI Web-based Configuration & Monitoring.
username is the username with which to access the WebDAV server, if required. For example, when connecting to a real-time target, use the same username as when connecting with NI Web-based Configuration & Monitoring.
remote file uri specifies the full uniform resource indicator (URI) of the file on the host or the target running the WebDAV server. A URI can be a uniform resource locator (URL), a uniform resource name (URN), or both. remote file uri also specifies the port and whether to use Transport Layer Security (TLS), formerly known as Secure Sockets Layer (SSL). Format remote file uri as http[s]://hostname[:port][/files][/directory/subdirectory]/filename. Use https to connect using TLS/SSL, which provides added security. Use http to specify a non-TLS/SSL connection. If you do not specify a port number, the default is to use 80 for non-TLS/SSL and 443 for TLS/SSL.
local file path specifies the local path to the directory where you want to save the file.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
local file path out returns the local path to which LabVIEW saves the file.
error out contains error information. This output provides standard error out functionality.

Simple Get Multiple Buffers

Note Note  This instance returns the raw binary contents of multiple files. This instance attempts to use the same connection for the entire set of downloads. This instance also attempts to download all files you specify, even if LabVIEW encounters an error while downloading one of them. error out returns an error if any download fails, but data still returns all files that LabVIEW successfully downloads and includes an empty string for each file that fails to download.

password is the password for the WebDAV server, if required. For example, when connecting to a real-time target, use the same password as when connecting with NI Web-based Configuration & Monitoring.
username is the username with which to access the WebDAV server, if required. For example, when connecting to a real-time target, use the same username as when connecting with NI Web-based Configuration & Monitoring.
host uri specifies the host name or IP address of the host or target running the WebDAV server. A uniform resource identifier (URI) can be a uniform resource locator (URL), a uniform resource name (URN), or both. host uri also specifies the port and whether to use TLS/SSL. Format host uri as http[s]://hostname[:port]/. Use https to connect using Transport Layer Security (TLS), formerly known as Secure Sockets Layer (SSL), which provides added security. Use http to specify a non-TLS/SSL connection. If you do not specify a port number, the default is to use 80 for non-TLS/SSL and 443 for TLS/SSL.
relative remote file uris is an array of URI fragments that follow the host portion of the full file URIs. For example, format each URI fragment as directory/subdirectory/filename.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
data returns an array of strings where each element contains the raw binary contents of the files requested by the corresponding element in file uris.
error out contains error information. This output provides standard error out functionality.

Simple Get Multiple Files

Note Note  This instance returns multiple files. This instance attempts to use the same connection for the entire set of downloads. This instance also attempts to download all files you specify, even if LabVIEW encounters an error while downloading one of them. error out returns an error if any download fails, but data still returns all files that LabVIEW successfully downloads and includes an empty string for each file that fails to download.

password is the password for the WebDAV server, if required. For example, when connecting to a real-time target, use the same password as when connecting with NI Web-based Configuration & Monitoring.
username is the username with which to access the WebDAV server, if required. For example, when connecting to a real-time target, use the same username as when connecting with NI Web-based Configuration & Monitoring.
host uri specifies the host name or IP address of the host or target running the WebDAV server. A uniform resource identifier (URI) can be a uniform resource locator (URL), a uniform resource name (URN), or both. host uri also specifies the port and whether to use TLS/SSL. Format host uri as http[s]://hostname[:port]/. Use https to connect using Transport Layer Security (TLS), formerly known as Secure Sockets Layer (SSL), which provides added security. Use http to specify a non-TLS/SSL connection. If you do not specify a port number, the default is to use 80 for non-TLS/SSL and 443 for TLS/SSL.
file specifications specifies the URIs of the files on the WebDAV server and local path(s) to the directory or directories in which you want to save the files.
file uri specifies the URI fragment that follows the host portion of the full URI of the file. For example, format file uri as directory/subdirectory/filename.
local file path specifies the local path to the directory where you want to save the file.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
error out contains error information. This output provides standard error out functionality.