Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

File compression


JamesMc May 14, 2018 04:32 PM

Hello CS Community:

I am using the TableFile instruction to write hourly log files to the CRD on a CR6. 

TableFile("CRD:KCBuoy_MApCO2_Log",8,-1,0,60,Min,0,0)

The data on the CRD is being generated faster than the RF401 pakbus network can collect it presently.  Is it possible (or necessary) to use some kind file compression?  For example, is it possible to gzip the *.dat files before file retrieval?

Thanks


nsw May 15, 2018 03:25 PM

Your TableFile instruction writes ASCII files. Could you write TOB1 files instead? These take up much less space and so should be quicker to transfer.

Once transferred, you can use CardConvert or FileFormatConvert utilities to convert them to ASCII. These are supplied in LoggerNet.

Not sure if this will solve your problem, as it depends on the speed of your RF network, hops on the network, etc. But its something to try.


JamesMc May 28, 2018 10:25 PM

I switched the file write option to "0" TOB1 with record number and timestamp.  Unfortunately there is no appreciable difference in file size.  Is there any compression options available?


aps May 29, 2018 03:49 PM

TOB3 may be more compact if you need a timestamps with each record.  This is because the timestamps are inferred and not normally stored in TOB3 format.  There are currently no options to zip files before transmission although it is a feature which should appear in future versions of firmware for our newer loggers.   I cannot confirm when but it is coming.

Log in or register to post/reply in the forum.