mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
more improvements to the websocket demo config
This commit is contained in:
parent
1758b58195
commit
71c355eee7
1 changed files with 9 additions and 11 deletions
|
@ -26,17 +26,13 @@
|
|||
|
||||
stats = 1;
|
||||
|
||||
logging = {
|
||||
level = 15
|
||||
}
|
||||
|
||||
nodes = {
|
||||
sig = {
|
||||
type = "signal",
|
||||
|
||||
signal = "mixed",
|
||||
values = 5,
|
||||
rate = 0.0001 ,
|
||||
rate = 20,
|
||||
hooks = (
|
||||
{ type = "stats" }
|
||||
)
|
||||
|
@ -44,7 +40,7 @@ nodes = {
|
|||
stats = {
|
||||
type = "stats",
|
||||
node = "sig",
|
||||
rate = 0.0001,
|
||||
rate = 10,
|
||||
},
|
||||
ws_sig = {
|
||||
type = "websocket",
|
||||
|
@ -63,7 +59,12 @@ nodes = {
|
|||
type = "websocket",
|
||||
description = "Statistics",
|
||||
series = (
|
||||
{ label = "" }
|
||||
#{ label = "owd.total" }
|
||||
{ label = "owd.last" },
|
||||
{ label = "owd.highest" },
|
||||
{ label = "owd.lowest" },
|
||||
{ label = "owd.mean" },
|
||||
{ label = "owd.variance", yaxis = 2 }
|
||||
)
|
||||
hooks = (
|
||||
{ type = "stats" }
|
||||
|
@ -80,9 +81,6 @@ paths = (
|
|||
},
|
||||
{
|
||||
in = "stats.data[31-35]", # OWD
|
||||
out = "ws_stats",
|
||||
hooks = (
|
||||
{ type = "print" }
|
||||
)
|
||||
out = "ws_stats"
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue