Create and delete triggering links for a triggering item.
- See also
- https://reference.opcfoundation.org/Core/Part4/v105/docs/5.12.1.6
-
https://reference.opcfoundation.org/Core/Part4/v105/docs/5.12.5
◆ setTriggering() [1/2]
Add and delete triggering links of monitored items.
The triggering item and the items to report shall belong to the same subscription.
- Note
- Supported since open62541 v1.2
- Parameters
-
connection | Instance of type Client |
request | Set triggering request |
◆ setTriggering() [2/2]
Result< void > opcua::services::setTriggering |
( |
Client & | connection, |
|
|
uint32_t | subscriptionId, |
|
|
uint32_t | triggeringItemId, |
|
|
Span< const uint32_t > | linksToAdd, |
|
|
Span< const uint32_t > | linksToRemove ) |
|
noexcept |
Add and delete triggering links of a monitored item.
The triggering item and the items to report shall belong to the same subscription.
- Note
- Supported since open62541 v1.2
- Parameters
-
connection | Instance of type Client |
subscriptionId | Identifier of the subscription returned by createSubscription |
triggeringItemId | Identifier of the triggering monitored item |
linksToAdd | List of monitoring item identifiers to be added as triggering links |
linksToRemove | List of monitoring item identifiers to be removed as triggering links |