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.


icon

Inputs/Outputs

  • cpath.png 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.

  • cbool.png 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.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • ii64.png zip file out

    zip file out returns the open zip file. zip file out is analogous to a refnum or task ID.

  • ibool.png cancelled

    cancelled returns TRUE only if a user cancels an overwrite confirmation dialog box.

  • ierrcodeclst.png 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