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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
778 B
Text
Raw Permalink Normal View History

# SPDX-FileCopyrightText: 2014-2025 Institute for Automation of Complex Power Systems, RWTH Aachen University
# SPDX-License-Identifier: Apache-2.0
nodes = {
tcp_node = {
type = "socket"
layer = "tcp-client"
format = "villas.human"
in = {
address = "tcpbin.com:4242"
}
out = {
address = "tcpbin.com:4242"
}
}
siggen = {
type = "signal"
signal = [ "sine", "pulse", "square" ]
values = 3 # Values per sample
rate = 1 # Sample rate
}
}
paths = (
{
in = "siggen"
out = "tcp_node"
hooks = ( { type = "print" } )
},
{
in = "tcp_node" # Receive loopback answer.
hooks = ( { type = "print" } )
}
)