Skip to content
Snippets Groups Projects
Commit 2ce16bfd authored by Steffen Vogel's avatar Steffen Vogel :santa_tone2:
Browse files

add more signal types and statistics to VILLASnode config

parent 89874153
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -24,27 +24,51 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*********************************************************************************/
stats = 10;
nodes = {
sig_1 = {
sig = {
type = "signal",
signal = "mixed",
values = 4,
rate = 25
values = 5,
rate = 20,
hooks = (
{ type = "stats" }
)
},
ws_1 = {
stats = {
type = "stats",
node = "sig",
rate = 10,
},
ws_sig = {
type = "websocket",
description = "Demo Channel",
vectorize = 50,
source = {
simulator = "OP5600",
location = "ACS lab"
},
series = (
{ label = "Random walk", unit = "V" },
{ label = "Random walk", unit = "V", yaxis = 2 },
{ label = "Sine", unit = "A" },
{ label = "Rect", unit = "Var"},
{ label = "Square", unit = "Var"},
{ label = "Triangle", unit = "°C" },
{ label = "Ramp", unit = "°C" }
),
hooks = (
{ type = "stats" }
)
},
ws_stats = {
type = "websocket",
description = "Statistics",
series = (
#{ label = "owd.total" }
{ label = "owd.last" },
{ label = "owd.highest" },
{ label = "owd.lowest" },
{ label = "owd.mean" },
{ label = "owd.variance", yaxis = 2 }
)
hooks = (
{ type = "stats" }
)
}
};
......@@ -53,8 +77,11 @@ nodes = {
paths = (
{
in = "sig_1",
out = "ws_1",
reverse = false
in = "sig",
out = "ws_sig"
},
{
in = "stats.data[31-35]", # OWD
out = "ws_stats"
}
);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment