取消
显示结果 
搜索替代 
您的意思是: 

What ZIP algorithm does LabView use?

已解决!
转到解答

Hi

 

My basic question is: What ZIP algorithm does the ZIP VI use when compressing files?

The case is that I have access to a zip file created from LabView, but I do not have access to LabView itself to decompress the file so I have to use a third party program to decompress the file.

Any info and pointers are appreciated.

 

Kind regards,

Mads

0 项奖励
1 条消息(共 8 条)
4,144 次查看

Could you please post your ZIP file?

 

0 项奖励
2 条消息(共 8 条)
4,135 次查看

Mads,

 

did you already try zip-tools? If so, which ones and what was the error you were seeing?

 

My experience shows, that e.g. WinRAR is working on these.

 

One side note:

If you don't have LV installed on the target machine where you want to unzip the package.... doesn't make much sense as you wont be able to open/execute these files.

It's somehow like copying pdf files to a target machine which does not have any pdf-reader installed.....

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 项奖励
3 条消息(共 8 条)
4,113 次查看

@ManLD, I have found out from the header that the ZIP algorithm used is PKZIP. Unfortunately the data isn't pulled from the database where the zipfile is stored in binary format. Thats why I'm having trouble decompressing the file.

 

@Norbert_B, Sorry for being unclear about what I'm doing. The zipfile is generated within LabView and stored in a database. The contents of the zipfile is non-related to LabView itself, I just wan't to pull the zipfile from the database and decompress it with the appropriate algorithm without involving LabView.

 

Thank you both for your time.

 

Kind regards,

Mads

0 项奖励
4 条消息(共 8 条)
4,101 次查看
解答
已被主题作者 MadsNielsen 接受

Mads,

 

so you are working with the ZIP functions of the filo IO palette, right?

The resulting zip is then moved into a database.

 

First question:

Can you extract the ZIP before it is copied into the database? If so, can you open it using 7Zip, WinZip or WinRAR? <I tested WinRAR and it works well.>

 

Second question:

If the ZIP works before moving into the database, but fails after it was pulled from the database: What datatype are you using for the ZIP file in your database? Are you sure that the binary file construct of the ZIP is not modified by the database?

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 项奖励
5 条消息(共 8 条)
4,097 次查看

Norbert,

 

I don't use LabView, a colleague here at work does and he is on vacation, I just have access to the databse where the zipfile is stored. My hope was that I could be able to pull the zipfile from the database and decompress it without involving LabView.

Your ideas are good and I will look into them when my colleague get back from vacation.

 

Thank you for your time.

 

Mads

0 项奖励
6 条消息(共 8 条)
4,093 次查看
No nees to wait for your colleague, just extract the file and try 7zip. 🙂
G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 项奖励
7 条消息(共 8 条)
4,080 次查看

From a zip file made with LabVIEW, I have had no problems unzipping it using 7-zip and the Windows zip functions.  Haven't tried WinZip yet, but I don't see it being an issue.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 项奖励
8 条消息(共 8 条)
4,053 次查看