Running the Sample Processes

After importing the sample projects, you can run the processes in them to see how TIBCO ActiveMatrix BusinessWorks Plug-in for OSIsoft PI System works.

Prerequisites

Ensure that you have imported the sample projects to TIBCO Business Studio. For more information, see Importing the Sample Projects.

Procedure

  1. In the Project Explorer view, expand the Resource folder, and then expand the example shared resource.
  2. Check that your connection is successful by completing one of the following steps:
    • Double-click OSIsoftPISystemAFConnectionResource.piafResource to edit the OSIsoft PI System AF connection, and then click Test Connection to validate your connection to the PI Data Archive server.
    • Double-click OSIsoftPISystemAFServerConnectionResource.piafResource to edit the OSIsoft PI System AF connection, and then click Test Connection to validate your connection to the PI AF server.
    • Double-click OSIsoftPISystemJDBCConnectionResource.pijdbcResource to edit the OSIsoft PI System JDBC connection, and then click Test Connection to validate your connection with the PI Data Archive server and the PI JDBC server.

  3. In the Project Explorer view, expand the Module Descriptors resource, and then double-click Components.
  4. In the Components editor, select the process that you do not want to run and click the icon.
    By default, all the processes for the application module are listed in the Components editor.
  5. On the toolbar, click the icon to save your changes.
  6. From the menu, click Run > Run Configurations to run the selected process.
  7. In the Run Configurations dialog box, expand BusinessWorks Application and click BWApplication.
  8. From the right panel, click the Applications tab, and then select the check box next to Example.application.
  9. Click Run to run the process.
  10. Click the icon to stop the process.