LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI unzip changes file date and time stamp

A coworker this morning asked me about the NI-Unzip VI.

 

It turns out that when the NI unzip VI unzips a file it changes the file dates to the date the file was unzipped.

 

He also noted that NI-Unzip seems to be calling the Windows touch.exe to do this.

 

The diagram for NI unzip is locked and password protected so his attemp to change this action blocked.

 

Does anyone know a way around this? Either to make the NI Unzip stop changing the file date or the passwork to teh unzip vi?

Message Edited by RTSLVU on 03-22-2010 08:01 AM
========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 1 of 4
(2,740 Views)

Hi,

 

I don't think NI will give you a password for it's protected functions...

 

So you can:

- use "System Exec" with a command line version of a ZIP tool of your choice to unzip files

- make your own "Unzip" VI with calls to a "unzip"-DLL of your choice

 

Choose the one that is easier to implement for you Smiley Wink

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(2,731 Views)
OpenG should have some ZIP VIs, which I believe call the DLL.

___________________
Try to take over the world!
Message 3 of 4
(2,717 Views)
As TST mentioned, check out the OpenG Zip Tools library -- it's very full-featured.
0 Kudos
Message 4 of 4
(2,703 Views)