Using CitectSCADA > Defining and Drawing Graphics Pages > Understanding Object Types > Managing associated data sources

Managing associated data sources

If an ActiveX object has an association with a data source (for example, it stores data to a DBF file), you need to consider the impact of running a project that contains it on a different machine or via one of the Internet clients (Internet Display Client or Web Client).

If the path to the data source is hardcoded to a location on the local machine, the data source will not be found if the project is moved or run remotely. For example, the Database Exchange ActiveX control connects to a recipe.DBF file in the project path. If you restore a project that uses it on a different computer with a different installation path, you will need to recreate the data source to retrieve any recipes.

UNINTENDED EQUIPMENT OPERATION

  • Whenever possible, avoid programming the literal paths to data sources in your project.
  • When a project or a data source is relocated to a different computer, examine the program and program objects and correct any literal paths before placing the project back into service.

Failure to follow these instructions can result in death, serious injury, or equipment damage.

One way to avoid having to recreate data sources is to locate any associated data sources in a central location on a network. For example, if the data source is located on a SQL server, it will be accessible from every machine on the common network.

To insert an ActiveX Control:

  1. Click the ActiveX tool,
  2. or choose Edit | Insert ActiveX Control.

  3. Select an ActiveX Control and click Insert.

See Also