Verifying Databases

You can ensure a process database contains no configuration errors by verifying it. Verifying a database also ensures that iFIX can process each block and that the database functions as you intend.

While verifying a process database, Database Manager ensures that each block:

  • Is in only one chain.
  • Is linked to an appropriate block (for example, a Statistical Control block can be preceded only by a Statistical Data block).
  • Is used in the correct context (for example, as a stand-alone, a primary, or a secondary block).
  • Does not reference non-existent blocks.

If Database Manager detects no errors, it displays a message box to inform you. However, if it encounters errors, the Verify Database dialog box appears. This dialog box lists each error and the block that contains it. The following table lists the possible verification errors and how to resolve them.

Resolving Verification Messages

When you see the message...

It means...

To correct this configuration...

tagname a:tagname b Tag is in more than one chain

The block, tagname b, has more than one upstream block linked to it. Tagname a identifies one of these blocks.

Remove one or more links to tagname b.

tagname:Tag is not in any chain

You may have a secondary block that is not in any chain or is the first block in a chain.

Remove the secondary block or add a primary block to the start of the chain.

tagname: Block not found for NEXT

The block, tagname, chains to a block that does not exist.

Create a block with the name specified in the Next field or enter the name of a block that exists.

tagname:Chains to itself

The block, tagname, contains its own name in its Next field.

Change the name in the Next field or leave it blank. If you want to repeatedly perform a task, use a Program block instead.

tagname: is not defined

The block, tagname, does not exist and another block references it.

Create the block or change the reference to a block that exists.

fieldname No such field in FDT

The field, fieldname, does not exist and it is referenced by a block in the database.

Change the reference to a field that exists.

Exceeding MAX chain size of 30

The database contains a chain with more than 30 blocks.

Redesign this chain by breaking it into two smaller chains or remove any unnecessary blocks.

Correcting Errors

You can correct any error by double-clicking it to display the associated block configuration dialog box.

To correct errors:

  1. Edit the block to correct the problem.
  2. Save the block.
  3. Re-verify the database.

 

See Also

How Do I...