1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

add integration test for smu node-type

Signed-off-by: Alexandra <alexandra.bach@eonerc.rwth-aachen.de>
This commit is contained in:
Alexandra 2024-04-22 12:32:59 +00:00
parent 42e366a6f2
commit 04515e8206

View file

@ -0,0 +1,52 @@
#!/usr/bin/env bash
#
# Integration loopback test using villas node for smu node-type.
#
# Author: Alexandra Bach <alexandra.bach@eonerc.rwth-aachen.de>
# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
# SPDX-License-Identifier: Apache-2.0
echo "Test not yet supported"
exit 99
set -e
DIR=$(mktemp -d)
pushd ${DIR}
function finish {
popd
rm -rf ${DIR}
}
trap finish EXIT
mkdir ./logs
cat > config.json <<EOF
{
"nodes": {
"smu-node": {
"type": "smu",
"signals": [
{ name = "ch1" type = "float"},
{ name = "ch2" type = "float"},
{ name = "signal3" type = "float"},
{ name = "signal4" type = "float"},
{ name = "signal5" type = "float"},
{ name = "signal6" type = "float"},
{ name = "signal7" type = "float"}
]
"vectorize": 1000,
"sample_rate": "FS_10kSPS"
}
},
"paths": [
{
"in": "smu-node"
"out": "test"
}
]
}
EOF
villas node config.json