From b2e433625ed75820641deea330d90c15970c809c Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 24 Feb 2022 08:36:44 -0500 Subject: [PATCH] opal.asyncip: improve example config --- etc/examples/formats/opal-asyncip.conf | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/etc/examples/formats/opal-asyncip.conf b/etc/examples/formats/opal-asyncip.conf index e59355d0c..98612e54c 100644 --- a/etc/examples/formats/opal-asyncip.conf +++ b/etc/examples/formats/opal-asyncip.conf @@ -1,12 +1,29 @@ nodes = { node = { - type = "file" - uri = "/dev/null" + type = "socket" + layer = "udp" format = { type = "opal.asyncip" dev_id = 99 } + + in = { + # Port number specified in Asynchronous Process block of RTlab project + address = ":12000" + + signals = { + count = 64 + + # The Asynchronous Process block only supports floating point values! + type = "float" + } + } + + out = { + # IP address and port of OPAL-RT Target + address = "192.168.0.44:12000" + } } }