LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

.net decompression string not working

Hi all,

I face a situation since I upgrade LabVIEW. Maybe in the forum there is someone that is an expert in .net and can help me. I can create a stream and compress a string, but i cannot decompress a compressed string. I got an error cannot read from compress stream.

There is no way to set the mode to uncompressed anymore... What happen??? It seems that the constructor and method have changed and are therefore not compatible with the old way anymore.

******** Please do not suggest me any external tool. *********

.net is a requirement.

 

Thanks

 

Benoit

 

0 Kudos
Message 1 of 5
(3,244 Views)

You need to set the Mode to Decompress.

https://docs.microsoft.com/en-us/dotnet/api/system.io.compression.gzipstream?redirectedfrom=MSDN&vie...

 

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 5
(3,232 Views)

It doesn't work for me too. If you select one of the lower two entries, the apropriate upper entry appears selected.

Seems like a bug!

(Working with LV2017 32bit on Win10 64bit)

Greets, Dave
0 Kudos
Message 3 of 5
(3,226 Views)

So How we can solve that? it seems that Yamaeda didn't try it. 😉

0 Kudos
Message 4 of 5
(3,220 Views)

No, i don't have LV on this computer so i assumed it was the function you had problem with, thus the link.

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 5 of 5
(3,205 Views)