mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
42 lines
1.1 KiB
Text
42 lines
1.1 KiB
Text
# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
nodes = {
|
|
api_node = {
|
|
type = "api"
|
|
|
|
in = {
|
|
signals = (
|
|
{
|
|
# Same as 'id' in uAPI context
|
|
name = ""
|
|
|
|
# A human readable description of the channel
|
|
description = "Volts on Bus A"
|
|
|
|
# Same as 'datatype' in uAPI context
|
|
type = "float"
|
|
unit = "V"
|
|
payload = "events" # Or 'samples'
|
|
|
|
# An expected refresh/sample rate of the signal
|
|
rate = 100.0
|
|
|
|
range = {
|
|
min = 20.0
|
|
max = 100.0
|
|
}
|
|
|
|
readable = true
|
|
writable = false
|
|
}
|
|
)
|
|
}
|
|
|
|
out = {
|
|
signals = (
|
|
# Similar to above
|
|
)
|
|
}
|
|
}
|
|
}
|