{"action":"closed","issue":{"url":"https://api.github.com/repos/cmars/pystdf/issues/14","repository_url":"https://api.github.com/repos/cmars/pystdf","labels_url":"https://api.github.com/repos/cmars/pystdf/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/cmars/pystdf/issues/14/comments","events_url":"https://api.github.com/repos/cmars/pystdf/issues/14/events","html_url":"https://github.com/cmars/pystdf/issues/14","id":389628674,"node_id":"MDU6SXNzdWUzODk2Mjg2NzQ=","number":14,"title":"error when parsing values on win7 x64","user":{"login":"jinstrong","id":7037078,"node_id":"MDQ6VXNlcjcwMzcwNzg=","avatar_url":"https://avatars1.githubusercontent.com/u/7037078?v=4","gravatar_id":"","url":"https://api.github.com/users/jinstrong","html_url":"https://github.com/jinstrong","followers_url":"https://api.github.com/users/jinstrong/followers","following_url":"https://api.github.com/users/jinstrong/following{/other_user}","gists_url":"https://api.github.com/users/jinstrong/gists{/gist_id}","starred_url":"https://api.github.com/users/jinstrong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jinstrong/subscriptions","organizations_url":"https://api.github.com/users/jinstrong/orgs","repos_url":"https://api.github.com/users/jinstrong/repos","events_url":"https://api.github.com/users/jinstrong/events{/privacy}","received_events_url":"https://api.github.com/users/jinstrong/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-11T07:27:00Z","updated_at":"2018-12-11T12:20:37Z","closed_at":"2018-12-11T12:20:37Z","author_association":"NONE","body":"Hi,\r\nI have used both this pystdf and [stdfparser](code.google.com/p/stdfparser), and found both have wrong parsed results. \r\n\r\nThe original stdf file is generated on D10, with lines as below:\r\n\r\n```\r\ndouble manual_data[4];\r\nmanual_data[0] = 8000004;\r\nmanual_data[1] = 8000005;\r\nmanual_data[2] = 8000006;\r\nmanual_data[3] = 8000007;\r\ncsicVariableTest(\"manual_data\",\"efuse_fail\",manual_data,0,0xffffffff,\"\");\r\n```\r\nthe std file is uploaded here: [stdf file](https://github.com/jinstrong/problems_files/blob/master/ESP-ESP1811023EH000-FT_R3-PHPT77.00-TUB00MTK%23E-ESP8266EX-30577-UTTC502-20181211113456.std)\r\n\r\nI have used the official parse tool, which gives correct result as below:\r\n\r\n```\r\nDtr.rec_len  =           65   MSB = 0x00,  LSB = 0x41\r\nDtr.rec_typ  = 50\r\nDtr.rec_sub  = 30\r\nDtr.text_dat = test value is 8000006.000000 for testname manual_data at site 2\r\n```\r\nBut with this tool, the result is parsed as 8000005.5, which is pretty strange. Please help take a look and fix this issue if time allows."}}
{"actor":{"display_login":"jinstrong"}}