{"action":"created","issue":{"url":"https://api.github.com/repos/hhslepicka/py4syn/issues/4","repository_url":"https://api.github.com/repos/hhslepicka/py4syn","labels_url":"https://api.github.com/repos/hhslepicka/py4syn/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/hhslepicka/py4syn/issues/4/comments","events_url":"https://api.github.com/repos/hhslepicka/py4syn/issues/4/events","html_url":"https://github.com/hhslepicka/py4syn/issues/4","id":174919344,"number":4,"title":"Motor soft limit checking has something wrong","user":{"login":"marciodo","id":17479392,"avatar_url":"https://avatars.githubusercontent.com/u/17479392?v=3","gravatar_id":"","url":"https://api.github.com/users/marciodo","html_url":"https://github.com/marciodo","followers_url":"https://api.github.com/users/marciodo/followers","following_url":"https://api.github.com/users/marciodo/following{/other_user}","gists_url":"https://api.github.com/users/marciodo/gists{/gist_id}","starred_url":"https://api.github.com/users/marciodo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marciodo/subscriptions","organizations_url":"https://api.github.com/users/marciodo/orgs","repos_url":"https://api.github.com/users/marciodo/repos","events_url":"https://api.github.com/users/marciodo/events{/privacy}","received_events_url":"https://api.github.com/users/marciodo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-03T21:43:55Z","updated_at":"2016-09-03T21:50:26Z","closed_at":null,"body":"\\>\\>\\> from py4syn.epics.MotorClass import Motor\r\n\\>\\>\\> mtop = Motor(\"SOL11:SIM:m1\", \"mtop\")\r\n\\>\\>\\> mtop.getHighLimitValue()\r\n105.0\r\n\\>\\>\\> mtop.getLowLimitValue()\r\n-100.0\r\n\\>\\>\\> mtop.getValue()\r\n33.0\r\n\\>\\>\\> mtop.setAbsolutePosition(101)\r\n\\>\\>\\> mtop.getValue()\r\n101.0\r\n\\>\\>\\> mtop.setAbsolutePosition(200)\r\n\\>\\>\\> \\# Nothing happens, as expected. But for now on:\r\n\\>\\>\\> mtop.setAbsolutePosition(90)\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/usr/local/lib/python3.5/site-packages/Py4Syn-0.3.0+27.g1be90d1-py3.5.egg/py4syn/epics/MotorClass.py\", line 550, in setAbsolutePosition\r\nException: Can't move motor motor 1 (SOL11:SIM:m1) to desired position: 90, Movement beyond soft limits\r\n\r\nNothing works from this point: absolute/relative movements inside the soft limits and position redefinition inside soft limits. One must move the motor using caput in a terminal and, after that, Py4Syn starts to move motors again."},"comment":{"url":"https://api.github.com/repos/hhslepicka/py4syn/issues/comments/244572161","html_url":"https://github.com/hhslepicka/py4syn/issues/4#issuecomment-244572161","issue_url":"https://api.github.com/repos/hhslepicka/py4syn/issues/4","id":244572161,"user":{"login":"hdante","id":1185012,"avatar_url":"https://avatars.githubusercontent.com/u/1185012?v=3","gravatar_id":"","url":"https://api.github.com/users/hdante","html_url":"https://github.com/hdante","followers_url":"https://api.github.com/users/hdante/followers","following_url":"https://api.github.com/users/hdante/following{/other_user}","gists_url":"https://api.github.com/users/hdante/gists{/gist_id}","starred_url":"https://api.github.com/users/hdante/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hdante/subscriptions","organizations_url":"https://api.github.com/users/hdante/orgs","repos_url":"https://api.github.com/users/hdante/repos","events_url":"https://api.github.com/users/hdante/events{/privacy}","received_events_url":"https://api.github.com/users/hdante/received_events","type":"User","site_admin":false},"created_at":"2016-09-03T21:50:26Z","updated_at":"2016-09-03T21:50:26Z","body":"> >>> # Nothing happens, as expected. But for now on:\r\n\r\nIt should have raised an exception."}}
{"actor":{"display_login":"hdante"}}