LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Compression File

Hi

 

How to compression file contain waveform in binary file.

 

I'm using zip tools put the file contain 61kbyte convert to 41kbyte, not good . I need another Technical .


Thanks

 

0 Kudos
Message 1 of 10
(4,055 Views)
Message 2 of 10
(4,047 Views)

Muks,

 

I don't think your link is going to help.  It is about how to use binary files to be quicker and reduce file size for storing data instead of ASCII text files.  The original poster mentioned he is already using binary files and wants to try to compress them further (I assume after they are created) then the zip tools he is already using.

 

The good news is that your message used complete words.Smiley Wink

Message 3 of 10
(4,026 Views)

 


The good news is that your message used complete words.

 

I dont use text language all the time.To me conveying what we think is more important.Smiley Wink 

Message 4 of 10
(4,016 Views)

muks wrote:

I dont use text language all the time.To me conveying what we think is more important.Smiley Wink 


It's also important that the other person understands what u () say, and as has been noted previously, this forum is often frequented by people whose native language is not English, and would not know about such colloquialisms. Smiley Wink

 

To poster: You will first need to indicate what's not good about the compression that you're already getting. For instance, what kind of compression are you trying to achieve? There are other compression schemes, and you can also vary the compression level with ZIP files, but you will not be able to do so with LabVIEW's ZIP functions. I'm not sure if the OpenG compression library allows you to set compression levels. You can always install a compression program on your computer (such as FilZip or 7-Zip) and simply call it using System Exec.

Message Edited by smercurio_fc on 08-24-2008 02:45 PM
0 Kudos
Message 5 of 10
(3,995 Views)

 


It's also important that the other person understands what u () say, and as has been noted previously, this forum is often frequented by people whose native language is not English, and would not know about such colloquialisms

 

Conveying to me is make people understand what i want them to understand.Isnt it.I have not used brb or something like that.I feel u,ur can def be understood.I feel there is a slight difference in being professional and being formal.

 

0 Kudos
Message 6 of 10
(3,977 Views)

Hi

 

I'm using cRIO 9074
module 9225

 

I'm reading from this module every 20ms 1000 point then I convert representation waveform from DBL to SGL then save this point in the text file in the cRIO 9074.

How do you compression this file?

 

Thank you
Regards
Rabei

0 Kudos
Message 7 of 10
(3,958 Views)

Hi Rabei,

do you write it as binary data or do you transform it to text? There are differences. See the attached picture!

Mike

Message Edited by MikeS81 on 08-25-2008 12:58 PM
Message 8 of 10
(3,954 Views)

Hi Mike

 

Thank you for send to me.

 

Any Thing Binary or text , I need how do you compression this file in the cRIO ?

I'm save the waveform in the txt file and in the binary file, the size in the every file is same size 4-bit every 1point.

 

Thank you

 

0 Kudos
Message 9 of 10
(3,949 Views)

Hi Spring,

 

If you are running out of room with binary files, I suggest you look at this article which covers data storage options for the cRIO.  It sounds like you need extra storage space that could be provided by the NI 9802, or by using TCP and saving the data elsewhere.

 

Cheers, 

Brian A.
National Instruments
Applications Engineer
Message 10 of 10
(3,902 Views)