LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Weird behaviour with .NET constructor node and GZipStream compression

Solved!
Go to solution

@Stinus Olsen

So, from reading your post it still seems this is an issue in LV2017?

 


It appears so, the CAR is noted in the 2017 known issues:

 

http://www.ni.com/product-documentation/53586/en/#493662_by_Category

 

 


Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.

"You are what you don't automate"
Inplaceness is synonymous with insidiousness

0 Kudos
Message 31 of 35
(863 Views)

I wish that NI was taking care of their customers more and resolve BUG. Actually they are taking care of their marketing department more than their customers.

 

Benoit

Message 32 of 35
(853 Views)

Yeah, I can only second that...
I guess whats really going on is that NI is focusing all their efforts on bringing LabVIEW NextGen up to date instead of putting more energy into fixing stuff in the old era LabVIEW.

IMO that's a shame because NextGen seems to spoil a lot of the things that made LabVIEW cool for the advanced/skilled programmer 😕

Message 33 of 35
(846 Views)

Agree.

They will just lose a lots of customers...

Benoit

0 Kudos
Message 34 of 35
(843 Views)

I found a pure LabVIEW solution based on a LAVAG forum post; no DLL required. The fix is to use .NET reflection to create the specific object instance of the GZipStream object. The LAVAG post used a filestream object, but the technique works for the memorystream type as well.

 

Refer to the V2 decompress example:

 

https://forums.ni.com/t5/Example-Programs/GZIP-compress-uncompress-of-string-using-NET/ta-p/3507908

 

LAVAG thread -> https://lavag.org/topic/20613-net-decompression-gzip-or-deflate/

 


Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.

"You are what you don't automate"
Inplaceness is synonymous with insidiousness

0 Kudos
Message 35 of 35
(674 Views)