I am creating a Windows Services using PI SDK and AF SDK (C# Programming) to monitor the events of some PIPoints of the PI Server (I am using EventPipe method). According with the name of the PIPoint, I need to associate some values for variables in my solution.
At first, I plan create an app.config file with the values that I need to associate the variables but, before doing this, I was thinking use a PIAF Table and I would like to know how can I get the values of the tables created in PI AF (Library --> Tables) using AF SDK. It is possible? If it’s possible, I think that is a better solution.
For example: If the PIPoint name is W01, I need associate the values to the variables 1, 2 and 3 in my code.
I appreciate an example of code to show how this can be done in a C# console app.
Thanks in advance.