diff --git a/etc/comedi.conf b/etc/comedi.conf index 30524df01..a224f75aa 100644 --- a/etc/comedi.conf +++ b/etc/comedi.conf @@ -43,13 +43,15 @@ nodes = { subdevice = 1, # Note: buffer size and rate shouldn't be changed at the moment # output sample rate - rate = 10000, + rate = 40000, # comedi write buffer in kilobytes - bufsize = 32, + bufsize = 24, signals = ( # note: order in this array corresponds to order in villas sample { name = "ao0", channel = 0, range = 0, aref = 0 }, - { name = "ao1", channel = 1, range = 0, aref = 0 } + { name = "ao1", channel = 1, range = 0, aref = 0 }, + { name = "ao2", channel = 2, range = 0, aref = 0 }, + { name = "ao3", channel = 3, range = 0, aref = 0 } ) } }, @@ -80,5 +82,9 @@ nodes = { } paths = ( - { in = ("sine1.data[0]", "sine2.data[0]"), out = "pcie6259", rate = 10000, mask = () } + # 2-ch sine + #{ in = ("sine1.data[0]", "sine2.data[0]"), out = "pcie6259", rate = 10000, mask = () } + + # Remote data via UDP + { in = "remote.data[0-3]", out = "pcie6259", rate = 40000, mask = () } )