1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

comedi: config tuning to reduce latency for demo

This commit is contained in:
Daniel Krebs 2018-06-15 17:42:40 +02:00
parent fe302f9649
commit b6dbc7a8a7

View file

@ -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 = () }
)