add sampleprocessor for data write on the fly in acquisition