diff --git a/etc/labs/lab20.conf b/etc/labs/lab20.conf new file mode 100644 index 000000000..5b7bf1f7a --- /dev/null +++ b/etc/labs/lab20.conf @@ -0,0 +1,33 @@ +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, # value per sample + rate = 1, # rate of sample + } +} +paths = ( + { + in = "siggen" + out = "tcp_node", + hooks = ( { type = "print" } ) + }, + { + in = "tcp_node", # Receive loopback answer. + hooks = ( { type = "print" } ) + } +)