Hi Li, maybe we need a cpu_xml_file.write() before close().