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:
parent
fe302f9649
commit
b6dbc7a8a7
1 changed files with 10 additions and 4 deletions
|
@ -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 = () }
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue