New Zip File VI
- Updated2025-07-30
- 2 minute(s) read
Creates 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.

Inputs/Outputs
target
—
target specifies the path to the new or existing zip file. The VI deletes and rewrites the file if it already exists. You cannot append data to a zip file.
confirm overwrite? (F)
—
confirm overwrite? specifies to overwrite the existing zip file. The default is FALSE. If you set confirm overwrite? to TRUE, the VI prompts you to confirm deleting the existing zip file.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
zip file out
—
zip file out returns the open zip file. zip file out is analogous to a refnum or task ID.
cancelled
—
cancelled returns TRUE only if a user cancels an overwrite confirmation dialog box.
error out
—
error out contains error information. This output provides standard error out functionality. |
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\File IO\Zip\Create Zip File.vi
target
—
confirm overwrite? (F)
—
error in (no error)
—
zip file out
—
cancelled
—
error out
—