New Zip File VI

Owning Palette: Zip VIs

Requires: Base Development System

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.

Example

 Add to the block diagram  Find on the palette
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? 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 describes error conditions that occur before this node runs. This input provides standard error in functionality.
zip file out returns the open zip file. zip file out is analogous to a refnum or task ID.
cancelled returns TRUE only if a user cancels an overwrite confirmation dialog box.
error out contains error information. This output provides standard error out functionality.

Example

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

 Open example  Find related examples