{"action":"created","issue":{"url":"https://api.github.com/repos/LabPy/lantz_drivers/issues/4","labels_url":"https://api.github.com/repos/LabPy/lantz_drivers/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/LabPy/lantz_drivers/issues/4/comments","events_url":"https://api.github.com/repos/LabPy/lantz_drivers/issues/4/events","html_url":"https://github.com/LabPy/lantz_drivers/pull/4","id":70505669,"number":4,"title":"WIP : DC sources","user":{"login":"MatthieuDartiailh","id":4481740,"avatar_url":"https://avatars.githubusercontent.com/u/4481740?v=3","gravatar_id":"","url":"https://api.github.com/users/MatthieuDartiailh","html_url":"https://github.com/MatthieuDartiailh","followers_url":"https://api.github.com/users/MatthieuDartiailh/followers","following_url":"https://api.github.com/users/MatthieuDartiailh/following{/other_user}","gists_url":"https://api.github.com/users/MatthieuDartiailh/gists{/gist_id}","starred_url":"https://api.github.com/users/MatthieuDartiailh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatthieuDartiailh/subscriptions","organizations_url":"https://api.github.com/users/MatthieuDartiailh/orgs","repos_url":"https://api.github.com/users/MatthieuDartiailh/repos","events_url":"https://api.github.com/users/MatthieuDartiailh/events{/privacy}","received_events_url":"https://api.github.com/users/MatthieuDartiailh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-23T20:27:00Z","updated_at":"2015-06-06T23:18:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/LabPy/lantz_drivers/pulls/4","html_url":"https://github.com/LabPy/lantz_drivers/pull/4","diff_url":"https://github.com/LabPy/lantz_drivers/pull/4.diff","patch_url":"https://github.com/LabPy/lantz_drivers/pull/4.patch"},"body":"This is heavy WIP but I like the idea of having feedback as soon as possible (at least on general stuff like the structure).\r\nFor the time being I separated the standards into their own package (with a subpackage for SCPI as to me it is never a really functional driver). I tried to inspire myself from ivi but I need to add more stuff.\r\n\r\nPlease comment @LabPy/owners (and also look at https://github.com/LabPy/lantz_core/issues/7 needed for Yokogawa 7651)."},"comment":{"url":"https://api.github.com/repos/LabPy/lantz_drivers/issues/comments/109657218","html_url":"https://github.com/LabPy/lantz_drivers/pull/4#issuecomment-109657218","issue_url":"https://api.github.com/repos/LabPy/lantz_drivers/issues/4","id":109657218,"user":{"login":"alexforencich","id":508807,"avatar_url":"https://avatars.githubusercontent.com/u/508807?v=3","gravatar_id":"","url":"https://api.github.com/users/alexforencich","html_url":"https://github.com/alexforencich","followers_url":"https://api.github.com/users/alexforencich/followers","following_url":"https://api.github.com/users/alexforencich/following{/other_user}","gists_url":"https://api.github.com/users/alexforencich/gists{/gist_id}","starred_url":"https://api.github.com/users/alexforencich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexforencich/subscriptions","organizations_url":"https://api.github.com/users/alexforencich/orgs","repos_url":"https://api.github.com/users/alexforencich/repos","events_url":"https://api.github.com/users/alexforencich/events{/privacy}","received_events_url":"https://api.github.com/users/alexforencich/received_events","type":"User","site_admin":false},"created_at":"2015-06-06T23:18:47Z","updated_at":"2015-06-06T23:18:47Z","body":"All of the supplies I have seen have a voltage limit and a current limit and will switch between them automatically. Perhaps I set the supply for 5V and 3A. So long as the load requires less than 3A, it will get it at 5V. Now, if the load impedance drops, the current will peg at 3A and the voltage will drop to less than 5V. The supply automatically switches over to current mode and then back to voltage mode. Now, there is usually a status register that can be read to see what mode it is in, but cannot be set manually.\n\nAlex Forencich\n\nOn June 6, 2015 4:01:26 AM PDT, Matthieu Dartiailh <notifications@github.com> wrote:\n>I indeed forgot to discard the cache when switching mode I will add it.\n>Actually looking at the base classes you will notice that the voltage\n>related stuff enforces mode == 'Voltage' and it is the same for\n>current.\n>Could you please either update the wiki with your instruments or at\n>least send me the manuals, I cannot guess what they look like. I must\n>say I am a bit surprise you say they have no mode, does it mean that\n>they are voltage only sources and that you can only regulate the\n>current ?\n>I use those sources to apply DC voltage on gate electrodes I do not\n>want them to decide on their own that they should try to enforce a\n>current but yours might be different. They have a mode because they can\n>act both as voltage sources and as current sources if yours can only be\n>used as voltage sources then they should inherit from DCVoltageSource\n>which has no mode.\n>\n>---\n>Reply to this email directly or view it on GitHub:\n>https://github.com/LabPy/lantz_drivers/pull/4#issuecomment-109564795\n"}}