Tools for Troubleshooting the OPC Client

Click the following links for more information regarding the OPC Client:

Statistics View in the OPC Client Power Tool

The Power Tool displays communication statistics for each item, group, server, and the entire driver. Displaying these statistics is useful for narrowing down which part of the driver is not functioning. To view the statistics, select an item, group, or server from the Tree Browser and then select Stats Mode from the Display Mode menu.

Statistics in iFIX Mission Control

Mission Control is the main iFIX tool for monitoring background tasks, such as SAC, and I/O drivers. Using Mission Control, you can start and stop a driver, and view driver error numbers. This is useful for quickly determining if the driver is having a problem.

Mission Control also provides a summary of driver-level statistics. To see the statistics for each server, use the OPC Power Tool.

Windows Event Viewer

The driver reports any major errors to Windows Event Viewer. To learn more about using this application, refer to Using the Event Viewer.

Alarm History in iFIX

Because the I/O driver reports event messages to the Alarm History application in iFIX, you can use this program for debugging your driver. The events reported include when the driver:

  • Starts and stops.
  • Connects and disconnects.
  • Fails to connect with the OPC Server and subsequently recovers.

Refer to the iFIX documentation for details about enabling alarm services.

Message Log in the I/O Server Program

The message log in the I/O Server program tracks the following events:

  • The date and time a configuration file loads.
  • Which configuration file loads. If the driver is not loading the configuration file you want, you can change the default file name and location in the Power Tool’s Setup dialog box.
  • The date and time other applications attach to the server. This data can help you determine if someone is attached and making changes to the server you are working on.
  • CSV import errors.

 To view the I/O Server program in the I/O Server:

  1. Open the Power Tool.
  2. Select an object from the Tree Browser.
  3. Press Alt + Shift + S.

The options in the Server’s View menu let you choose the types of messages to display. The message priority is as follows:

Server View

Displays...

Errors

Connection errors, run-time errors, and any exceptions caused by the driver or OPC server.

Warnings

General warnings.

Information

General information such as loading files or .CSV activity.

Debug1

The connection status of the driver to an OPC server when the server is enabled. Debug1 messages also contain information about any OPC interface that was not obtained when the driver connected to the OPC server.

Debug2

Information about asynchronous transactions between the driver and the OPC server.

Debug3

Information about failed writes to the OPC server.

The default setting for the Server is to display errors, warnings, and informational messages. However, you can also enable any debug message you want more information about.

 To close the I/O Server program:

  1. Select an item from the Tree Browser.
  2. Press Alt + Shift + S.

iFIX Process Database Log File

The driver reports all actions performed to add items and database blocks to the iFIX process database. For more information, see Use the iFIX Process Database Log File.