Hi, in dump_modes.c when dumping mode->bits, shouldn't it be MAX_PSEUDO instead of MAX_PULSES: for (k=0;k<MAX_PULSES;k++) fprintf (file, "%2d, ", mode->bits[j][k]); Thanks