Skip to content

Commit

Permalink
Update example configs
Browse files Browse the repository at this point in the history
Signed-off-by: Steffen Vogel <[email protected]>
  • Loading branch information
stv0g committed Aug 23, 2023
1 parent 575d8fd commit 9610377
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 19 deletions.
45 changes: 27 additions & 18 deletions docs/node/nodes/opal.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,30 +84,39 @@ import ApiSchema from '@theme/ApiSchema';

``` url="external/node/etc/examples/nodes/opal.conf" title="node/etc/examples/nodes/opal.conf"
nodes = {
opal_async_node1 = {
type = "opal.async"
opal_node = { # The server can be started as an Asynchronous process
type = "opal", # from within an OPAL-RT model.
### The following settings are specific to the opal node-type!! ###
### The following settings are specific to the opal node-type!! ###
# The Send/Recv ID of the RT-Lab OpAsyncSend/Recv blocks.
id = 1
send_id = 1, # It's possible to have multiple send / recv Icons per model
recv_id = 1, # Specify the ID here.
reply = true
},
file_node = {
type = "file",
# Shared-memory parameters for communication with OpAsyncGenCtrl block of Simulink model.
shmem = {
async_name = "XXX"
async_size = 1234
system_ctrl_name = "YYY"
}
### The following settings are specific to the file node-type!! ###
uri = "logs/input.log", # These options specify the path prefix where the the files are stored
in = {
# Send a confirmation to the Simulink model that signals have been received and processed.
reply = false
hooks = (
"stats"
)
epoch_mode = "direct" # One of: direct (default), wait, relative, absolute
epoch = 10 # The interpretation of this value depends on epoch_mode (default is 0).
# Consult the documentation of a full explanation
rate = 2.0 # A constant rate at which the lines of the input files should be read
# A missing or zero value will use the timestamp in the first column
# of the file to determine the pause between consecutive lines.
buffer_size = 1000000
eof = "rewind" # One of: rewind, exit (default) or wait
},
out = {
flush = true
buffer_size = 1000000
}
}
}
```
2 changes: 1 addition & 1 deletion docs/node/nodes/webrtc.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ nodes = {
session = "my-session-name"
# Address to the websocket signaling server
server = "wss://villas.k8s.eonerc.rwth-aachen.de/ws/signaling"
server = "https://villas.k8s.eonerc.rwth-aachen.de/ws/signaling"
# Limit the number of times a channel will retransmit data if not successfully delivered.
# This value may be clamped if it exceeds the maximum value supported.
Expand Down

0 comments on commit 9610377

Please sign in to comment.