Zip VIs

Owning Palette: File I/O VIs and Functions

Requires: Base Development System. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the Zip VIs to create new zip files, to add files to zip files, to unzip zip files, and to close zip files.

Example

Palette ObjectDescription
Add File to ZipAdds the file source file path specifies to a zip file. The destination path in zip control specifies the zipped path information.
Close Zip FileCloses the zip file zip file in specifies.
New Zip FileCreates a new empty zip file in the path that target specifies. The new file overwrites an existing file or produces a confirmation dialog based on the value of the confirm overwrite? control.
UnzipUnzips the contents of Zip file to the Target directory. Set Preview only? to TRUE to preview the list of files in Zip file before you unzip the zip file. This VI cannot unzip a zip file that is password protected.

Example

Refer to the Create Zip File VI in the labview\examples\File IO\Zip directory for an example of using the Zip VIs.

 Open example  Find related examples