1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-16 00:00:02 +01:00
VILLASnode/etc/examples/hooks/lua.conf

23 lines
311 B
Text

@include "hook-nodes.conf"
paths = (
{
in = "signal_node"
out = "file_node"
hooks = (
{
type = "script"
script = "lua/test_hook.lua"
},
{
type = "expression"
signals = (
{ name = "sum", unit = "V", expression = "math.sqrt(data.sine + data.random)" }
)
}
)
}
)