Preparation for progress bar etc..

added mode 7 : progress bar : get nb of points
added sampling rate etc in prrepartion for setup of sensor parameters
from desktop app