Skip to content

Add Custom Data Types#

image88

This task allows adding custom data types to an OPCUA Server (connect-iot instance)

add_custom_data_types_parameters

Inputs#

Name Data Type Values Description
customDataTypes any Supply the dataTypes to create by input
Activate any Yes Activates the task

Outputs#

Name Data Type Values Description
rawData any The created DataTypes
Success Boolean Result of the method execution
Error Error Used to report an error in the method execution

Settings#

On the General Tab, you have the usual settings:

command_result_settings

On the Custom Data Types Tab, you have entries for each of the result parameters of the command:

add_custom_data_types_settings_datatypes

Behavior#

The task should be activated before connecting to the driver (onInitialize -> activate task -> connect). Custom DataType names don't need to end with DataType because this suffix will be automatically appended to each name. DataTypes can be inserted using settings or by input. Input value overrides settings values.

Remarks#

None.