Skip to content

Create Directory#

Screenshot showing a directory creation interface.

This task creates a directory in OPC UA server using the File Transfer feature. To be used with OPC UA driver in Client mode.

Provide a nodeId and a name for the directory and activate the task. Activate will send a message to the driver with the values provided in the inputs and settings.

In case of success, the driver will reply to this task with the newly created node id associated to the directory as an output with name directoryNodeId.

The nodeId can be inserted using the settings or by input. Input value overrides settings values.

Screenshot showing a UI with input fields for "directory" and "filename" hints.

Inputs#

Name Data Type Description
nodeId String The node id where the directory will be created
name String Name for the directory
Activate any Activate the task

Outputs#

Name Data Type Description
directoryNodeId String The newly created node id for the directory
isNew Boolean The flag that specifies whether the directory was created or already existed
Success Boolean If there was no problem emits a true
Error Error Error that occurred during the processing of this task

Settings#

On the General Tab, you have the usual settings and the following settings:

Name Data Type Default Description
NodeId String The node id where the directory will be created
Fail if exists Boolean False If true and the directory exists, will throw an error, otherwise will output the already existing node id

Screenshot showing the "Create Directory" settings.

Behavior#

Activate will trigger a message to the driver. The contents of the message are the values received in the inputs or settings.

Remarks#

All the communication with the equipment is handled by the driver in the backend.