- merged from branch xpad_old_way:
- fixed several bugs
- support doublepix correction
- support prepareAcq