UaSpecs - HasOptionalInputArgumentDescription

Unified Architecture topics related to OPC UA Specification, compliant behavior and any technical issues of OPC UA, like Security, Information Model, Companion Specs DI, PLCopen, ADI, ...

Moderator: Support Team

Post Reply
rkumawat
Jr. Member
Jr. Member
Posts: 2
Joined: 24 Nov 2023, 10:55

UaSpecs - HasOptionalInputArgumentDescription

Post by rkumawat »

Hi

I want to create a Method with one input argument as optional. I found that "HasOptionalInputArgumentDescription" can b used to define like this but I didn't find any example to use this.

Does Uacpp has any example for implementation of this reference type. if no can you please provide some example of nodeset file that has this reference type implemented for some Method node.

Thanks
Rahul

User avatar
Support Team
Hero Member
Hero Member
Posts: 3072
Joined: 18 Mar 2011, 15:09

Re: UaSpecs - HasOptionalInputArgumentDescription

Post by Support Team »

HHi,

you best option is to use UaModeler and create your own model including the method (with optional parameter). With UaModeler you can generate the code for the SDK and implement the business logic in your new method.
Best regards
Unified Automation Support Team

Post Reply