{"action":"created","issue":{"url":"https://api.github.com/repos/mathiask88/node-snap7/issues/2","labels_url":"https://api.github.com/repos/mathiask88/node-snap7/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/mathiask88/node-snap7/issues/2/comments","events_url":"https://api.github.com/repos/mathiask88/node-snap7/issues/2/events","html_url":"https://github.com/mathiask88/node-snap7/issues/2","id":58452516,"number":2,"title":"ReadMultiVars callback not triggering","user":{"login":"Lailend","id":1822404,"avatar_url":"https://avatars.githubusercontent.com/u/1822404?v=3","gravatar_id":"","url":"https://api.github.com/users/Lailend","html_url":"https://github.com/Lailend","followers_url":"https://api.github.com/users/Lailend/followers","following_url":"https://api.github.com/users/Lailend/following{/other_user}","gists_url":"https://api.github.com/users/Lailend/gists{/gist_id}","starred_url":"https://api.github.com/users/Lailend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lailend/subscriptions","organizations_url":"https://api.github.com/users/Lailend/orgs","repos_url":"https://api.github.com/users/Lailend/repos","events_url":"https://api.github.com/users/Lailend/events{/privacy}","received_events_url":"https://api.github.com/users/Lailend/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"mathiask88","id":4368785,"avatar_url":"https://avatars.githubusercontent.com/u/4368785?v=3","gravatar_id":"","url":"https://api.github.com/users/mathiask88","html_url":"https://github.com/mathiask88","followers_url":"https://api.github.com/users/mathiask88/followers","following_url":"https://api.github.com/users/mathiask88/following{/other_user}","gists_url":"https://api.github.com/users/mathiask88/gists{/gist_id}","starred_url":"https://api.github.com/users/mathiask88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathiask88/subscriptions","organizations_url":"https://api.github.com/users/mathiask88/orgs","repos_url":"https://api.github.com/users/mathiask88/repos","events_url":"https://api.github.com/users/mathiask88/events{/privacy}","received_events_url":"https://api.github.com/users/mathiask88/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-02-21T09:41:56Z","updated_at":"2015-03-07T14:37:00Z","closed_at":null,"body":"the function `S7Client.ReadMultiVars(multiVars, [callback])` doesn't seem to trigger the callback. \r\nThe method itself seems to be working fine in a blocking manner (without the callback). But when I specify the callback it simply never triggers.\r\n\r\nHere a example of the issue:\r\n\r\n    var items = [{\r\n      Area: 132, WordLen: 4, DBNumber: 2, Start: 24, Amount: 1\r\n    }, {\r\n      Area: 132, WordLen: 6, DBNumber: 2, Start: 46, Amount: 1\r\n    }];\r\n\r\n    s7client.ReadMultiVars(items, function (err, res) {\r\n      console.log('callback triggered');\r\n      if (err) {\r\n        log.error(err);\r\n      } else {\r\n        log.info(res);\r\n        processSessionReadItems(res);\r\n      }\r\n    });\r\n\r\nAm I simply doing something wrong or isn't it implemented yet? The documentation about this function isn't documented either, so my excuses if it isn't ready yet."},"comment":{"url":"https://api.github.com/repos/mathiask88/node-snap7/issues/comments/77691616","html_url":"https://github.com/mathiask88/node-snap7/issues/2#issuecomment-77691616","issue_url":"https://api.github.com/repos/mathiask88/node-snap7/issues/2","id":77691616,"user":{"login":"mathiask88","id":4368785,"avatar_url":"https://avatars.githubusercontent.com/u/4368785?v=3","gravatar_id":"","url":"https://api.github.com/users/mathiask88","html_url":"https://github.com/mathiask88","followers_url":"https://api.github.com/users/mathiask88/followers","following_url":"https://api.github.com/users/mathiask88/following{/other_user}","gists_url":"https://api.github.com/users/mathiask88/gists{/gist_id}","starred_url":"https://api.github.com/users/mathiask88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathiask88/subscriptions","organizations_url":"https://api.github.com/users/mathiask88/orgs","repos_url":"https://api.github.com/users/mathiask88/repos","events_url":"https://api.github.com/users/mathiask88/events{/privacy}","received_events_url":"https://api.github.com/users/mathiask88/received_events","type":"User","site_admin":false},"created_at":"2015-03-07T14:37:00Z","updated_at":"2015-03-07T14:37:00Z","body":"> Is the S7Client.ReadSZL() also by any chance implemented in the next push?\r\n\r\nYes, every client function should work. I pushed my WIP to master so you can test a little bit, before release and while I am updating the docs. To do so you can add the repo to your ```package.json```(https://docs.npmjs.com/files/package.json#git-urls-as-dependencies). For your information: ```ReadSZL(ID, Index, [callback])``` and returns a buffer."}}