-
Notifications
You must be signed in to change notification settings - Fork 15
Add new OPAL-RT Asynchronous Process node-type #924
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
92c2295
to
cc0f7d3
Compare
I didn't review, because the CI is failing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, some minor comments
lib/empty.cpp
Outdated
@@ -0,0 +1,7 @@ | |||
/** An empty file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you need this? Can you add more comment to explain?
lib/nodes/opal_async.cpp
Outdated
static std::string | ||
shmemSystemCtrlName; // Shared Memory identifiers and size, provided via argv or config. | ||
static size_t | ||
shmemAsyncSize; // Shared Memory identifiers and size, provided via argv or config. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The line breaks are a bit weird. Consider moving the comment above the declarations.
Blocked by #952 |
Signed-off-by: Steffen Vogel <[email protected]>
Signed-off-by: Steffen Vogel <[email protected]>
Signed-off-by: Steffen Vogel <[email protected]>
Signed-off-by: Steffen Vogel <[email protected]>
Signed-off-by: Steffen Vogel <[email protected]>
… Asynchronous process in OPAL-RT's RT-LAB Signed-off-by: Steffen Vogel <[email protected]>
opal_async_node1 = { | ||
type = "opal.async" | ||
|
||
### The following settings are specific to the opal.async node-type!! ### |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only minor thing: I thought the comments are just one # in the beginning?
# The Send/Recv ID of the RT-Lab OpAsyncSend/Recv blocks. | ||
id = 1 | ||
|
||
in = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about the out (sending values back, not only the acknowledgment)?
#include <spdlog/sinks/base_sink.h> | ||
|
||
// Define RTLAB before including OpalPrint.h for messages to be sent | ||
// to the OpalDisplay. Otherwise stdout will be used. */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only minor thing: remove */ at the end of line?
This PR adds a new node-type for interfacing VILLASnode as an Asynchronous Process with OPAL-RT's RT-LAB software platform.
See: