Exercise 1 - Create Weather AFDatabase and 30 related PI points

Version 4

    Estimated Completion Time: 30 - 45 min

     

    Objective: Create new PI points and set up a new PI AF database

     

    Please follow the steps below:

     

    1. Create new PI points on your PI server using the spreadsheet below and PI Builder add-in.

     

    PIPointsForPIAFSDKWorkshop.xlsx

     

    2. Check if all the new PI points have received new values, which means that none of them should have "Pt Created" as their snapshot. It may take several minutes until all the tags receive their first snapshot values. The tag data for this exercise is generated by OSI Random Simulator Interface (pointsource = R).

    3. Create a new PI AF database.

    4. Create a new element template named "City template" that contains the following 6 attribute templates. Please set the default unit of measure (UOM) according to the table below:

     

    Attribute name

    Default UOM

    Cloud Cover

    percent (%)

    Humidity

    percent (%)

    Pressure

    millibar (mbar)

    Temperature

    degree Celsius (°C)

    Visibility

    kilometer (km)

    Wind Speed

    meter per second (m/s)

     

    5. Create 5 elements from the city template named: Chicago, Los Angeles, New York, San Francisco, and Washington.

    6. Check if all the 30 attributes are linked to PI points properly.

     

    Hint: If you can't find the unit in the UOM database, you will have to create a new one.

     

    Please use this discussion forum to discuss any ideas or questions related to Exercise 1