saxyogi

Need help regarding Process Book and PI Tags

Discussion created by saxyogi on Dec 1, 2010
Latest reply on Dec 5, 2010 by RJKSolutions

  Normal   0           false   false   false     EN-CA   X-NONE   X-NONE                                        MicrosoftInternetExplorer4                                                                                                                                                                                                                                                                                                                       

 

Hi Guys,

 

I have a requirement as following:

 

In my Organization X department uses three methods to calculate some values using a few PI Tags.

 

For the sake of simplicity let's assume three methods are:

 

1.  Main Calculation (This is an ACE Calculation. Result of this is stored in PI tag for each day.)

 

2.  Alternative Calculation (This is an ACE Calculation. Result of this is stored in PI tag for each day.)

 

3.  User overridden (This can be any value entered by end user. We are planning to save this value in a PI tag for each day. Normally this value is entered by end user if Main Calculation and Alternative Calculation’s result are not satisfactory. An Interface would be provided to end user to enter this value.)

 

I am planning to provide an interface similar to following (This interface would be in ProcessBook). End user should select a value for the day and then should be able to save that set of result. I have two choices to save the selected set of records.

 

1.  I can use some RDBMS such as SQL Server to save this data. This approach is straight forward but requires maintaining database for long term.

 

2.  I should somehow save this to PI Server. It’s a little tricky as shown values are already PI Tags. One option could be to save an indication/flag which value is used for a given day in a different PI Tag (For Example: This PI Tag can have value such as “Main” or “Alter” or “Overridden” for a given date). Value in this tag will be updated on the Click of Save button.

 

2133.Untitled.png

 

  Normal   0           false   false   false     EN-CA   X-NONE   X-NONE                                        MicrosoftInternetExplorer4                                                                                                                                                                                                                                                                                                                       

 

Could you guys give me your advice if second approach is doable?

 

I am also think if somehow I could make use of Digital State?

 

 Thanks in advance.

Outcomes