A new method for non-periodic signal acquisition with on-line data compression