Thanks Justin, You are right. Your script might not be compatible with my system or software, I tried to use another python script from other people and showed a complete dat file. Thanks again Yours, Liu