The Method SetRootCauseLists sets both the RootCauseList and RootCauseGroupList according to the input arguments. The Properties RootCauseList and RootCauseGroupList are set together to ensure consistency of root causes with the relevant groups.
Signature
SetRootCauseLists (
[in]RootCauseMessageType[] RootCauseList
[in]RootCauseGroupType[] RootCauseGroupList
[out]MethodExecutionFeedbackType ExecutionFeedback
);
Argument |
Description |
RootCauseList |
The list of root causes to be transferred to the OPC UA Server. |
RootCauseGroupList |
The list of root cause groups to be transferred to the OPC UA Server. |
ExecutionFeedback |
The extended feedback returning a detailed message in case of execution failure. |
Method Result Codes
ResultCode |
Description |
BadNodeIdUnknown |
See table 173 in OPC 10000-4 for the description of these result codes. |
BadTypeMismatch |
|
BadOutOfRange |
|
BadNotWritable |
|
BadNotFound |