Working with Sample Projects
To understand how TIBCO ActiveMatrix BusinessWorks Plug-in for OSIsoft PI System works, you can run the sample projects packaged with the installer, which are located in the TIBCO_HOME/bw/palettes/pi/version/samples directory.
The BigData Sample Project
The BigData sample project demonstrates the sending of PI tag change events to a Hadoop Distributed File System (HDFS) by using the OSIsoft PI system plug-in and the Big Data plug-in. The Big Data plug-in of version 6.2 is supported.
- createschema.bwp
Run this process first to create the schema for uploading data to the Big Data server.
- ErrorHandler.bwp
This process is run automatically to check the errors when creating schema. You are not required to run it.
- tagchanges.bwp
This process uses the AF TagEventListener activity to monitor and query tag changes.
The Example_AF Sample Project
The Example_AF sample project demonstrates the usage of the AF Server connection and the AF activities.
The Example_JDBC Sample Project
The Example_JDBC sample project demonstrates the usage of the JDBC connection and the JDBC Query activity.
- getArcvalues.bwp
This process shows how to use the JDBC Query activity to get a specified number of historical tag values within a specified time range.
- getSnapshot.bwp
This process shows how to use the JDBC Query activity to get the latest tag value.
- getTagDefinition.bwp
This process shows how to use the JDBC Query activity to get tag definitions.
- PIJDBC.bwp
This process shows how to use the JDBC Query activity to:
- Importing the Sample Projects
Before running the sample projects, you must import them to TIBCO Business Studio. - 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.