open62541pp 0.15.0
C++ wrapper of open62541
Loading...
Searching...
No Matches
SetTriggering service
Collaboration diagram for SetTriggering service:

Detailed Description

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

Functions

SetTriggeringResponse opcua::services::setTriggering (Client &connection, const SetTriggeringRequest &request) noexcept
 
Result< void > opcua::services::setTriggering (Client &connection, uint32_t subscriptionId, uint32_t triggeringItemId, Span< const uint32_t > linksToAdd, Span< const uint32_t > linksToRemove) noexcept
 

Function Documentation

◆ setTriggering() [1/2]

SetTriggeringResponse opcua::services::setTriggering ( Client & connection,
const SetTriggeringRequest & request )
noexcept

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
connectionInstance of type Client
requestSet 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
connectionInstance of type Client
subscriptionIdIdentifier of the subscription returned by createSubscription
triggeringItemIdIdentifier of the triggering monitored item
linksToAddList of monitoring item identifiers to be added as triggering links
linksToRemoveList of monitoring item identifiers to be removed as triggering links