From 998a4689831711a9168e30454ecc1e0ca5b9c5a7 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 27 Sep 2018 16:09:25 +0800 Subject: [PATCH] examples: add grabber to device databases --- artiq/examples/kasli_basic/device_db_mitll.py | 7 +++++++ artiq/examples/kasli_basic/device_db_tsinghua.py | 7 +++++++ artiq/examples/kasli_basic/device_db_ustc.py | 7 +++++++ 3 files changed, 21 insertions(+) diff --git a/artiq/examples/kasli_basic/device_db_mitll.py b/artiq/examples/kasli_basic/device_db_mitll.py index ea4402455..66a757176 100644 --- a/artiq/examples/kasli_basic/device_db_mitll.py +++ b/artiq/examples/kasli_basic/device_db_mitll.py @@ -139,6 +139,13 @@ for i in range(2): } } +device_db["grabber0"] = { + "type": "local", + "module": "artiq.coredevice.grabber", + "class": "Grabber", + "arguments": {"channel_base": 20} +} + device_db.update( led0={ "type": "local", diff --git a/artiq/examples/kasli_basic/device_db_tsinghua.py b/artiq/examples/kasli_basic/device_db_tsinghua.py index 9c9cb979c..9c20b8c83 100644 --- a/artiq/examples/kasli_basic/device_db_tsinghua.py +++ b/artiq/examples/kasli_basic/device_db_tsinghua.py @@ -171,6 +171,13 @@ device_db["zotino0"] = { } } +device_db["grabber0"] = { + "type": "local", + "module": "artiq.coredevice.grabber", + "class": "Grabber", + "arguments": {"channel_base": 20} +} + device_db.update( led0={ "type": "local", diff --git a/artiq/examples/kasli_basic/device_db_ustc.py b/artiq/examples/kasli_basic/device_db_ustc.py index 1c2810042..4828b18d0 100644 --- a/artiq/examples/kasli_basic/device_db_ustc.py +++ b/artiq/examples/kasli_basic/device_db_ustc.py @@ -173,6 +173,13 @@ for i in range(4): } } +device_db["grabber0"] = { + "type": "local", + "module": "artiq.coredevice.grabber", + "class": "Grabber", + "arguments": {"channel_base": 36} +} + device_db.update( led0={ "type": "local",