At a Glance

The Derived FB Types Import function allows the user to import one or several DFB types. The imported DFB can be either write protected or not write protected. If the DFB is write protected, the DFB elements can only be accessible in read only mode. If the DFB has version protection, the version number is only accessible as read only. Any nested DFB or DDT that are used to compose the imported DFB is also be imported.

If the imported DFB type already exists in the application, a pop-up window appears to allow the user to either:

  • keep the element from the current project,

  • replace the project element with the one in the import file,

  • rename the imported element.

Importing a DFB type

The following steps can be used to import the DFB:

Step

Action

1

In the project browser, select the Derived FB Types folder.

Result: This folder appears in reverse video

2

Activate the Import command from the File menu or the contextual menu.

Result: A dialog box appears on the screen.

3

Choose the source directory for the import (directory tree), then select the file to be imported (XDB).

Result: The name of the file then appears in the File name field.

4

Activate the Import command.

Result: A progress indicator lets you know how the import is proceeding or the popup window appears to choose between keep, replace or rename, in that case, choose and validate by the OK button.

5

A message tells you that the import is complete.

If any errors occur during import, you are informed of these by a message in the Output Window.

NOTE: If the imported duplicate DFB is not renamed, the DFB might not function as expected. Multiple reuse of the same instance of either the imported DFB or copied DFB is not recommended because it could lead to improper execution of the DFB.