{"action":"created","issue":{"url":"https://api.github.com/repos/MrLeeh/pyads/issues/9","repository_url":"https://api.github.com/repos/MrLeeh/pyads","labels_url":"https://api.github.com/repos/MrLeeh/pyads/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/MrLeeh/pyads/issues/9/comments","events_url":"https://api.github.com/repos/MrLeeh/pyads/issues/9/events","html_url":"https://github.com/MrLeeh/pyads/issues/9","id":170591758,"number":9,"title":"adsSyncWriteByName and STRING","user":{"login":"pjaneck","id":11080329,"avatar_url":"https://avatars.githubusercontent.com/u/11080329?v=3","gravatar_id":"","url":"https://api.github.com/users/pjaneck","html_url":"https://github.com/pjaneck","followers_url":"https://api.github.com/users/pjaneck/followers","following_url":"https://api.github.com/users/pjaneck/following{/other_user}","gists_url":"https://api.github.com/users/pjaneck/gists{/gist_id}","starred_url":"https://api.github.com/users/pjaneck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjaneck/subscriptions","organizations_url":"https://api.github.com/users/pjaneck/orgs","repos_url":"https://api.github.com/users/pjaneck/repos","events_url":"https://api.github.com/users/pjaneck/events{/privacy}","received_events_url":"https://api.github.com/users/pjaneck/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-11T08:13:37Z","updated_at":"2016-08-12T10:09:06Z","closed_at":"2016-08-11T08:19:29Z","body":"Hi,\r\nmaybe I'm doing something wrong, but I can't read and write STRING variables from TwinCAT (2.11) using the adsSyncWriteByName methode. When reading it returns just the first character and when writing it throws: \"ADSError: parameter size not correct (1797)\".\r\n\r\nThanks for any help,\r\nPeter\r\n\r\nPS: I looked up the implementation of PLCTYPE_STRING and found that it is just a c_char. So the solution is to multiply the type by the length of the string... Too simple...\r\nThanks for the nice wrapper!"},"comment":{"url":"https://api.github.com/repos/MrLeeh/pyads/issues/comments/239410114","html_url":"https://github.com/MrLeeh/pyads/issues/9#issuecomment-239410114","issue_url":"https://api.github.com/repos/MrLeeh/pyads/issues/9","id":239410114,"user":{"login":"MrLeeh","id":4641542,"avatar_url":"https://avatars.githubusercontent.com/u/4641542?v=3","gravatar_id":"","url":"https://api.github.com/users/MrLeeh","html_url":"https://github.com/MrLeeh","followers_url":"https://api.github.com/users/MrLeeh/followers","following_url":"https://api.github.com/users/MrLeeh/following{/other_user}","gists_url":"https://api.github.com/users/MrLeeh/gists{/gist_id}","starred_url":"https://api.github.com/users/MrLeeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrLeeh/subscriptions","organizations_url":"https://api.github.com/users/MrLeeh/orgs","repos_url":"https://api.github.com/users/MrLeeh/repos","events_url":"https://api.github.com/users/MrLeeh/events{/privacy}","received_events_url":"https://api.github.com/users/MrLeeh/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T10:09:06Z","updated_at":"2016-08-12T10:09:06Z","body":"Hey Peter,\r\nthanks for the Feedback. \r\nGreetings"}}
{"actor":{"display_login":"MrLeeh"}}