2015-11-04 17:10:10 +08:00
|
|
|
# This is an example device database that needs to be adapted to your setup.
|
|
|
|
# The RTIO channel numbers here are for NIST QC1 on KC705.
|
|
|
|
|
2014-12-03 18:20:30 +08:00
|
|
|
{
|
|
|
|
"comm": {
|
2015-02-05 22:53:31 +08:00
|
|
|
"type": "local",
|
2015-04-23 23:22:40 +08:00
|
|
|
"module": "artiq.coredevice.comm_tcp",
|
2014-12-03 18:20:30 +08:00
|
|
|
"class": "Comm",
|
2015-04-23 23:22:40 +08:00
|
|
|
"arguments": {"host": "192.168.0.42"}
|
2014-12-03 18:20:30 +08:00
|
|
|
},
|
|
|
|
"core": {
|
2015-02-05 22:53:31 +08:00
|
|
|
"type": "local",
|
2014-12-03 18:20:30 +08:00
|
|
|
"module": "artiq.coredevice.core",
|
|
|
|
"class": "Core",
|
2015-07-27 20:12:17 +08:00
|
|
|
"arguments": {"ref_period": 1e-9}
|
2014-12-03 18:20:30 +08:00
|
|
|
},
|
|
|
|
|
|
|
|
"pmt0": {
|
2015-02-05 22:53:31 +08:00
|
|
|
"type": "local",
|
2015-05-02 10:35:21 +08:00
|
|
|
"module": "artiq.coredevice.ttl",
|
|
|
|
"class": "TTLInOut",
|
2015-01-12 18:51:23 +08:00
|
|
|
"arguments": {"channel": 0}
|
2014-12-03 18:20:30 +08:00
|
|
|
},
|
|
|
|
"pmt1": {
|
2015-02-05 22:53:31 +08:00
|
|
|
"type": "local",
|
2015-05-02 10:35:21 +08:00
|
|
|
"module": "artiq.coredevice.ttl",
|
|
|
|
"class": "TTLInOut",
|
2015-01-12 18:51:23 +08:00
|
|
|
"arguments": {"channel": 1}
|
2014-12-03 18:20:30 +08:00
|
|
|
},
|
|
|
|
|
|
|
|
"ttl0": {
|
2015-02-05 22:53:31 +08:00
|
|
|
"type": "local",
|
2015-05-02 10:35:21 +08:00
|
|
|
"module": "artiq.coredevice.ttl",
|
|
|
|
"class": "TTLOut",
|
2015-09-02 04:25:20 +08:00
|
|
|
"arguments": {"channel": 2},
|
|
|
|
"comment": "This is a fairly long comment to test word wrapping in GUI."
|
2014-12-03 18:20:30 +08:00
|
|
|
},
|
|
|
|
"ttl1": {
|
2015-02-05 22:53:31 +08:00
|
|
|
"type": "local",
|
2015-05-02 10:35:21 +08:00
|
|
|
"module": "artiq.coredevice.ttl",
|
|
|
|
"class": "TTLOut",
|
2015-09-02 04:25:20 +08:00
|
|
|
"arguments": {"channel": 3},
|
|
|
|
"comment": "Hello World"
|
2014-12-03 18:20:30 +08:00
|
|
|
},
|
|
|
|
"ttl2": {
|
2015-02-05 22:53:31 +08:00
|
|
|
"type": "local",
|
2015-05-02 10:35:21 +08:00
|
|
|
"module": "artiq.coredevice.ttl",
|
|
|
|
"class": "TTLOut",
|
2015-01-12 18:51:23 +08:00
|
|
|
"arguments": {"channel": 4}
|
2014-12-03 18:20:30 +08:00
|
|
|
},
|
2015-07-02 04:22:53 +08:00
|
|
|
"ttl3": {
|
|
|
|
"type": "local",
|
|
|
|
"module": "artiq.coredevice.ttl",
|
|
|
|
"class": "TTLOut",
|
|
|
|
"arguments": {"channel": 5}
|
|
|
|
},
|
2016-02-17 00:42:28 +08:00
|
|
|
"ttl4": {
|
|
|
|
"type": "local",
|
|
|
|
"module": "artiq.coredevice.ttl",
|
|
|
|
"class": "TTLOut",
|
|
|
|
"arguments": {"channel": 6}
|
|
|
|
},
|
|
|
|
"ttl5": {
|
|
|
|
"type": "local",
|
|
|
|
"module": "artiq.coredevice.ttl",
|
|
|
|
"class": "TTLOut",
|
|
|
|
"arguments": {"channel": 7}
|
|
|
|
},
|
2015-08-18 15:20:42 +08:00
|
|
|
"ttl_sma": {
|
|
|
|
"type": "local",
|
|
|
|
"module": "artiq.coredevice.ttl",
|
|
|
|
"class": "TTLInOut",
|
|
|
|
"arguments": {"channel": 17}
|
|
|
|
},
|
2015-04-04 22:07:23 +08:00
|
|
|
"led": {
|
|
|
|
"type": "local",
|
2015-05-02 10:35:21 +08:00
|
|
|
"module": "artiq.coredevice.ttl",
|
|
|
|
"class": "TTLOut",
|
2015-08-18 15:20:42 +08:00
|
|
|
"arguments": {"channel": 18}
|
2015-04-04 22:07:23 +08:00
|
|
|
},
|
2015-12-26 21:50:48 +08:00
|
|
|
"ttl15": {
|
|
|
|
"type": "local",
|
|
|
|
"module": "artiq.coredevice.ttl",
|
|
|
|
"class": "TTLClockGen",
|
|
|
|
"arguments": {"channel": 19}
|
|
|
|
},
|
2014-12-03 18:20:30 +08:00
|
|
|
|
2015-05-08 22:17:06 +08:00
|
|
|
"dds_bus": {
|
|
|
|
"type": "local",
|
|
|
|
"module": "artiq.coredevice.dds",
|
|
|
|
"class": "DDSBus",
|
|
|
|
"arguments": {}
|
|
|
|
},
|
2014-12-03 18:20:30 +08:00
|
|
|
"dds0": {
|
2015-02-05 22:53:31 +08:00
|
|
|
"type": "local",
|
2014-12-03 18:20:30 +08:00
|
|
|
"module": "artiq.coredevice.dds",
|
2015-07-08 23:22:43 +08:00
|
|
|
"class": "AD9858",
|
2015-09-02 04:25:20 +08:00
|
|
|
"arguments": {"sysclk": 1e9, "channel": 0},
|
|
|
|
"comment": "Comments work in DDS panel as well"
|
2014-12-03 18:20:30 +08:00
|
|
|
},
|
|
|
|
"dds1": {
|
2015-02-05 22:53:31 +08:00
|
|
|
"type": "local",
|
2014-12-03 18:20:30 +08:00
|
|
|
"module": "artiq.coredevice.dds",
|
2015-07-08 23:22:43 +08:00
|
|
|
"class": "AD9858",
|
2015-06-26 22:20:13 +08:00
|
|
|
"arguments": {"sysclk": 1e9, "channel": 1}
|
2014-12-03 18:20:30 +08:00
|
|
|
},
|
|
|
|
"dds2": {
|
2015-02-05 22:53:31 +08:00
|
|
|
"type": "local",
|
2014-12-03 18:20:30 +08:00
|
|
|
"module": "artiq.coredevice.dds",
|
2015-07-08 23:22:43 +08:00
|
|
|
"class": "AD9858",
|
2015-06-26 22:20:13 +08:00
|
|
|
"arguments": {"sysclk": 1e9, "channel": 2}
|
2014-12-03 18:20:30 +08:00
|
|
|
},
|
|
|
|
|
2015-03-22 07:24:42 +08:00
|
|
|
"qc_q1_0": {
|
|
|
|
"type": "controller",
|
2015-10-20 11:25:38 +08:00
|
|
|
# ::1 is the IPv6 localhost address. If this controller is running on a remote machine,
|
|
|
|
# replace it with the IP or hostname of the machine. If using the hostname, make sure
|
|
|
|
# that it always resolves to a network-visible IP address (see documentation).
|
2015-03-22 07:24:42 +08:00
|
|
|
"host": "::1",
|
|
|
|
"port": 4000,
|
2016-02-17 00:42:28 +08:00
|
|
|
"command": "pdq2_controller --no-localhost-bind -p {port} --bind {bind} --simulation --dump qc_q1_0.bin"
|
2015-03-22 07:24:42 +08:00
|
|
|
},
|
|
|
|
"qc_q1_1": {
|
|
|
|
"type": "controller",
|
|
|
|
"host": "::1",
|
|
|
|
"port": 4001,
|
2016-02-17 00:42:28 +08:00
|
|
|
"command": "pdq2_controller --no-localhost-bind -p {port} --bind {bind} --simulation --dump qc_q1_1.bin"
|
2015-03-22 07:24:42 +08:00
|
|
|
},
|
|
|
|
"qc_q1_2": {
|
|
|
|
"type": "controller",
|
|
|
|
"host": "::1",
|
|
|
|
"port": 4002,
|
2016-02-17 00:42:28 +08:00
|
|
|
"command": "pdq2_controller --no-localhost-bind -p {port} --bind {bind} --simulation --dump qc_q1_2.bin"
|
2015-03-22 07:24:42 +08:00
|
|
|
},
|
|
|
|
"qc_q1_3": {
|
|
|
|
"type": "controller",
|
|
|
|
"host": "::1",
|
|
|
|
"port": 4003,
|
2016-02-17 00:42:28 +08:00
|
|
|
"command": "pdq2_controller --no-localhost-bind -p {port} --bind {bind} --simulation --dump qc_q1_3.bin"
|
2015-03-22 07:24:42 +08:00
|
|
|
},
|
2014-12-03 18:20:30 +08:00
|
|
|
"electrodes": {
|
2015-02-05 22:53:31 +08:00
|
|
|
"type": "local",
|
2014-12-03 18:20:30 +08:00
|
|
|
"module": "artiq.devices.pdq2",
|
|
|
|
"class": "CompoundPDQ2",
|
2015-01-12 18:51:23 +08:00
|
|
|
"arguments": {
|
2015-03-22 07:24:42 +08:00
|
|
|
"pdq2_devices": ["qc_q1_0", "qc_q1_1", "qc_q1_2", "qc_q1_3"],
|
2016-02-17 00:42:28 +08:00
|
|
|
"trigger_device": "ttl2",
|
|
|
|
"frame_devices": ["ttl3", "ttl4", "ttl5"]
|
2015-07-02 04:22:53 +08:00
|
|
|
}
|
2014-12-03 18:20:30 +08:00
|
|
|
},
|
|
|
|
|
2015-02-05 22:53:31 +08:00
|
|
|
"lda": {
|
|
|
|
"type": "controller",
|
2015-02-12 00:54:54 +08:00
|
|
|
"best_effort": true,
|
2015-02-05 22:53:31 +08:00
|
|
|
"host": "::1",
|
|
|
|
"port": 3253,
|
2015-08-09 17:12:06 +08:00
|
|
|
"command": "lda_controller -p {port} --bind {bind} --simulation"
|
2015-02-05 22:53:31 +08:00
|
|
|
},
|
|
|
|
|
2015-07-27 12:22:56 +08:00
|
|
|
"ttl_inout": "pmt0",
|
|
|
|
"ttl_out": "ttl0",
|
2015-07-29 19:43:35 +08:00
|
|
|
"ttl_out_serdes": "ttl0",
|
2015-07-27 12:22:56 +08:00
|
|
|
|
2014-12-03 18:20:30 +08:00
|
|
|
"pmt": "pmt0",
|
2015-05-08 22:17:06 +08:00
|
|
|
"bd_dds": "dds0",
|
|
|
|
"bd_sw": "ttl0",
|
|
|
|
"bdd_dds": "dds1",
|
|
|
|
"bdd_sw": "ttl1"
|
2014-12-03 18:20:30 +08:00
|
|
|
}
|