From 296dacead403c5d3dee5a002ef53b031ae2dc373 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 29 Jun 2017 19:05:10 +0200 Subject: [PATCH] gtwif: added an example configuration --- etc/example.conf | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/etc/example.conf b/etc/example.conf index 9f212df34..a0cca7ef6 100644 --- a/etc/example.conf +++ b/etc/example.conf @@ -189,6 +189,38 @@ nodes = { "tcp://localhost:1235", "tcp://localhost:12444" ], + }, + gtwif_node = { + type = "gtwif", + + rate = 10, # Poll the GTWIF card with a rate of 10 Hz for new values. + timeout = 1, # Timeout after 1 second if GTWIF does not respond. + + remote = "134.130.40.71" # The IP address of the GTWIF card + rack = 4, # The number of the rack which is controlled by the GTWIF card + + inf = "/data/rscad/Vdiv.inf", # The path to the RSCAD Draft information file + + # The following 'in' and 'out' settings define a mapping between + # Signal names as seen in the RSCAD runtime and the indices + # of the samples which are processed by VILLASnode + # Have a look at the .inf file for available signal names + # or adresses. + # The strings of the following list are constructed by + # concatenating the "Group" and "Desc" attributes with an "|". + in = [ + "Subsystem #1|Node Voltages|S1) N1", + "Subsystem #1|Node Voltages|S1) N2", + "Subsystem #1|Node Voltages|S1) N3", + 0x200050 # Alternatively, you can specify addresses manually + # The adresses can be found in the .inf file as well. + ], + + out = [ + "Subsystem #1|Sources|src|ABCmag", + "Subsystem #1|Sources|src|Phase", + "Subsystem #1|Sources|src|Freq", + ] } };