-
Notifications
You must be signed in to change notification settings - Fork 25
Description
When I parsed my ate test stdf file and then wrote the new stdf file. The created stdf file content is not correct and the size of new stdf file is not equal to the original file. I found the cause is that some value in file is "00" and it is parsed in StdfRecord is null. But if we used the StdfRecord to write the new stdf file, the writer will ignore the null value and it will not produce "00" in new stdf file, it also length of the field is not correct.
Such as the following ATR content. In std file, the MOD_TIM in stdf file is "00 00 00 00", the CMD_LINE is "00". In the parsed record, they are both "null".

The following is ATR part comparison between original stdf file and new stdf file.

I have checked the LinqToStdf project code step by step, but have not find the cause in which part code. Could you help me to solved the issue? Thanks!
The stdf file and my console code is attached.
Program.zip