multi-trial data acquisition and analysis