Skip to content

File Server#

This task allows serving OPC-UA files on a directory or a single file. To be used with OPC UA driver in Server mode.

Screenshot showing a file server directory listing with filename hints.

Warning

This task is currently deprecated and will be removed in future versions.

Inputs#

Name Data Type Description
filePath String The full physical path of the file
fileNamespace String The namespace that shall be used by the file
Activate any Activate the task

Outputs#

Name Data Type Description
files any Files that have been added to the address space of the OPC-UA Server
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
Default Namespace String 1 Namespace where the file shall be inserted. The server must be able to work with the specified namespace.
Default Identifier Prefix String Prefix that allow to manipulate how the identifier of the file will be built. The identifier without prefix is the full path, without the root, separated by "."
Refresh File Boolean false Flag to indicate if the content of the file shall be refreshed if a previous input file is provided again on the task
Default Directory String The physical directory path where the files are located. All the files (subdirectory included) are considere. Only works if no file is input on filePath input.

Screenshot showing a settings page with a field labeled "File Server" and an input for directory files.

Behavior#

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

Remarks#

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