{"action":"opened","issue":{"url":"https://api.github.com/repos/node-opcua/node-opcua/issues/270","repository_url":"https://api.github.com/repos/node-opcua/node-opcua","labels_url":"https://api.github.com/repos/node-opcua/node-opcua/issues/270/labels{/name}","comments_url":"https://api.github.com/repos/node-opcua/node-opcua/issues/270/comments","events_url":"https://api.github.com/repos/node-opcua/node-opcua/issues/270/events","html_url":"https://github.com/node-opcua/node-opcua/issues/270","id":188090233,"number":270,"title":"UaVariable.readValue() does not work with timestamped_get function","user":{"login":"zenonpelle","id":6713470,"avatar_url":"https://avatars.githubusercontent.com/u/6713470?v=3","gravatar_id":"","url":"https://api.github.com/users/zenonpelle","html_url":"https://github.com/zenonpelle","followers_url":"https://api.github.com/users/zenonpelle/followers","following_url":"https://api.github.com/users/zenonpelle/following{/other_user}","gists_url":"https://api.github.com/users/zenonpelle/gists{/gist_id}","starred_url":"https://api.github.com/users/zenonpelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zenonpelle/subscriptions","organizations_url":"https://api.github.com/users/zenonpelle/orgs","repos_url":"https://api.github.com/users/zenonpelle/repos","events_url":"https://api.github.com/users/zenonpelle/events{/privacy}","received_events_url":"https://api.github.com/users/zenonpelle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-08T20:05:50Z","updated_at":"2016-11-08T20:05:50Z","closed_at":null,"body":"I am using node-opcua in an application where I need to set a source_timestamp and use readValue. My suggestion to fix this is in \r\nreadValue function new\r\n    if (self._timestamped_get_func) {\r\n        self._dataValue = self._timestamped_get_func();\r\n    }\r\n\r\nreadVAlue old:\r\n    if (self._timestamped_get_func) {\r\n        self._timestamped_get_func();\r\n    }\r\n"}}
{"actor":{"display_login":"zenonpelle"}}