I am sorry, this code is mine but it is old!

I do not get the point.

Why did you replace 
name = header['listADCInfo'][i]['ADCChNames'].replace('\x00','')
by
name = header['listADCInfo'][i]['ADCChNames']