Data acquisition system for non periodic signal with real-time data compression