Create the database for your PI system
- Last UpdatedSep 10, 2024
- 1 minute read
- PI System
- AF SDK 2.10
- PI Server
The steps in this section create the database and sample data you need for the exercises in this guide.
The steps in this section are necessary only if you are creating your own environment and are not required if you are using a Virtual Learning Environment.
-
Clone a local copy of the GitHub repository.
The code for the exercises is located in GitHub:
https://github.com/AVEVA/AF-SDK-Getting-Started-Guide
-
Start PI System Explorer and click File > Database
The Select Database window displays.
-
Click New Database.
The Database Properties window displays.
-
In the Name field, enter the name of the database to create; in this case, Green Power Company.
Also provide a brief description, such as: Intro to AF SDK exercise database.
-
Click OK when finished, then click Close.
-
Click File > Import from File
-
In the File text box, browse to and select AF Database - Green Power Company.xml.
AF Database - Green Power Company.xml
-
Click OK when finished.
The data for the exercises is created and stored in the Green Power Company database.