mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-16 00:00:02 +01:00
61 lines
1,023 B
Text
61 lines
1,023 B
Text
![]() |
nodes = {
|
||
|
ft4222 = {
|
||
|
type = "ft4222"
|
||
|
system_clock=80
|
||
|
in = {
|
||
|
sample_rate = 100000,
|
||
|
vectorize = 100,
|
||
|
signals = (
|
||
|
{ name = "ch0", type = "float", channel = 0 },
|
||
|
{ name = "ch1", type = "float", channel = 0 },
|
||
|
{ name = "ch2", type = "float", channel = 0 },
|
||
|
{ name = "ch3", type = "float", channel = 0 },
|
||
|
{ name = "ch4", type = "float", channel = 0 },
|
||
|
{ name = "ch5", type = "float", channel = 0 },
|
||
|
{ name = "ch6", type = "float", channel = 0 },
|
||
|
{ name = "pps", type = "float", channel = 0 }
|
||
|
)
|
||
|
}
|
||
|
},
|
||
|
pmu={
|
||
|
type="socket",
|
||
|
layer="udp",
|
||
|
|
||
|
format="villas.binary",
|
||
|
|
||
|
in={
|
||
|
address = "*:13001"
|
||
|
},
|
||
|
out={
|
||
|
vectorize=100
|
||
|
address="102.168.178.67:13000"
|
||
|
signals={
|
||
|
count=8
|
||
|
type="float"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
paths = (
|
||
|
{
|
||
|
in = "ft4222"
|
||
|
out="pmu",
|
||
|
hooks=(
|
||
|
{
|
||
|
type="print"
|
||
|
enabled=true
|
||
|
priority=2
|
||
|
},{
|
||
|
type="pps_ts"
|
||
|
avg_length=0
|
||
|
signl_index=1
|
||
|
threshold=2.
|
||
|
priority=3
|
||
|
enabled=true
|
||
|
expected_smp_rate=10000
|
||
|
}
|
||
|
)
|
||
|
}
|
||
|
)
|