{"action":"created","issue":{"url":"https://api.github.com/repos/m-labs/artiq/issues/612","repository_url":"https://api.github.com/repos/m-labs/artiq","labels_url":"https://api.github.com/repos/m-labs/artiq/issues/612/labels{/name}","comments_url":"https://api.github.com/repos/m-labs/artiq/issues/612/comments","events_url":"https://api.github.com/repos/m-labs/artiq/issues/612/events","html_url":"https://github.com/m-labs/artiq/issues/612","id":188327306,"number":612,"title":"phaser: AD9154-FMC not phase locked to KC705","user":{"login":"jbqubit","id":20543958,"avatar_url":"https://avatars.githubusercontent.com/u/20543958?v=3","gravatar_id":"","url":"https://api.github.com/users/jbqubit","html_url":"https://github.com/jbqubit","followers_url":"https://api.github.com/users/jbqubit/followers","following_url":"https://api.github.com/users/jbqubit/following{/other_user}","gists_url":"https://api.github.com/users/jbqubit/gists{/gist_id}","starred_url":"https://api.github.com/users/jbqubit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbqubit/subscriptions","organizations_url":"https://api.github.com/users/jbqubit/orgs","repos_url":"https://api.github.com/users/jbqubit/repos","events_url":"https://api.github.com/users/jbqubit/events{/privacy}","received_events_url":"https://api.github.com/users/jbqubit/received_events","type":"User","site_admin":false},"labels":[{"id":464116262,"url":"https://api.github.com/repos/m-labs/artiq/labels/area:phaser","name":"area:phaser","color":"b60205","default":false}],"state":"closed","locked":false,"assignee":{"login":"jordens","id":1338946,"avatar_url":"https://avatars.githubusercontent.com/u/1338946?v=3","gravatar_id":"","url":"https://api.github.com/users/jordens","html_url":"https://github.com/jordens","followers_url":"https://api.github.com/users/jordens/followers","following_url":"https://api.github.com/users/jordens/following{/other_user}","gists_url":"https://api.github.com/users/jordens/gists{/gist_id}","starred_url":"https://api.github.com/users/jordens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordens/subscriptions","organizations_url":"https://api.github.com/users/jordens/orgs","repos_url":"https://api.github.com/users/jordens/repos","events_url":"https://api.github.com/users/jordens/events{/privacy}","received_events_url":"https://api.github.com/users/jordens/received_events","type":"User","site_admin":false},"assignees":[{"login":"jordens","id":1338946,"avatar_url":"https://avatars.githubusercontent.com/u/1338946?v=3","gravatar_id":"","url":"https://api.github.com/users/jordens","html_url":"https://github.com/jordens","followers_url":"https://api.github.com/users/jordens/followers","following_url":"https://api.github.com/users/jordens/following{/other_user}","gists_url":"https://api.github.com/users/jordens/gists{/gist_id}","starred_url":"https://api.github.com/users/jordens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordens/subscriptions","organizations_url":"https://api.github.com/users/jordens/orgs","repos_url":"https://api.github.com/users/jordens/repos","events_url":"https://api.github.com/users/jordens/events{/privacy}","received_events_url":"https://api.github.com/users/jordens/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-11-09T19:09:59Z","updated_at":"2016-11-09T22:37:21Z","closed_at":"2016-11-09T21:26:05Z","body":"using phaser branch, commit b14fcd4\r\n\r\nExpectation is that pulses produced by KC705 are phase locked to RF generated by AD9154-FMC. Observation is no well-defined phase relationship. \r\n\r\n```\r\nfrom artiq.experiment import *\r\n\r\n\r\nclass SAWGTest(EnvExperiment):\r\n    def build(self):\r\n        self.setattr_device(\"core\")\r\n        self.setattr_device(\"led\")\r\n        self.setattr_device(\"ttl_sma\")\r\n\r\n        self.setattr_device(\"sawg0\")\r\n        self.setattr_device(\"sawg1\")\r\n\r\n    @kernel\r\n    def run(self):\r\n        self.core.break_realtime()\r\n        self.ttl_sma.output()\r\n        delay(1*ms)\r\n\r\n        v = 1.0\r\n        f = 100*MHz\r\n\r\n        self.sawg0.set_amplitude(v)\r\n        self.sawg0.set_frequency(f)\r\n        self.sawg1.set_amplitude(v)\r\n        self.sawg1.set_frequency(f)\r\n\r\n        while True:\r\n            with parallel:\r\n                self.sawg0.set_phase(0.0)\r\n                self.sawg0.set_phase(0.0)\r\n                self.ttl_sma.pulse(1*us)\r\n            delay(9*us)\r\n```"},"comment":{"url":"https://api.github.com/repos/m-labs/artiq/issues/comments/259547072","html_url":"https://github.com/m-labs/artiq/issues/612#issuecomment-259547072","issue_url":"https://api.github.com/repos/m-labs/artiq/issues/612","id":259547072,"user":{"login":"jordens","id":1338946,"avatar_url":"https://avatars.githubusercontent.com/u/1338946?v=3","gravatar_id":"","url":"https://api.github.com/users/jordens","html_url":"https://github.com/jordens","followers_url":"https://api.github.com/users/jordens/followers","following_url":"https://api.github.com/users/jordens/following{/other_user}","gists_url":"https://api.github.com/users/jordens/gists{/gist_id}","starred_url":"https://api.github.com/users/jordens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordens/subscriptions","organizations_url":"https://api.github.com/users/jordens/orgs","repos_url":"https://api.github.com/users/jordens/repos","events_url":"https://api.github.com/users/jordens/events{/privacy}","received_events_url":"https://api.github.com/users/jordens/received_events","type":"User","site_admin":false},"created_at":"2016-11-09T22:37:21Z","updated_at":"2016-11-09T22:37:21Z","body":"No you can't time DAC outputs to TTLs deterministically. That's expected. As I said before, this will come in phaser2."}}
{"actor":{"display_login":"jordens"}}