RJKSolutions

Multistate Values

Discussion created by RJKSolutions on Aug 29, 2013
Latest reply on Aug 30, 2013 by tlebay

What is the most sought after feature of Coresight that OSIsoft hears users want?

 

Almost every conservation of Coresight I have ends up with the question "so how I do multistate the values" or "can I change the colour of the value". Although ProcessBook hosting may bring that feature (any confirmations???) still doesn't address core functionality of Coresight providing that capability.

 

Could the Cog schema be expanded to include Multistate Sets and persist those along with displays in the SQL database? You either have user definable sets, sets based on Digital States Sets from PI Servers, or sets based on AF Enumeration Sets. I know it is likely technically more challenging than it sounds but this is one missing feature that is frustrating - amongst the general extensibility topic.

 

Example Cog:

 

 

 
<COG xmlns="http://xml.osisoft.com/context/cog" Version="1.0">

  <Databases Version="1.0">
    <PI Id="myPIServer" Node="rhys001" ConnectionTimeout="0" ConnectionType="PI3" DataAccessTimeout="0" />
  </Databases>

  <Datasources Version="1.0">
    <PIData Id="\\myPIServer\DigitalTag001" DbRef="myPIServer">
      <Tag Name="DigitalTag001" />
    </PIData>
  </Datasources>

  <Symbols Version="1.0">
    <Symbol Id="sym1">
      <Datasource Ref="\\myPIServer\DigitalTag001" />
       <MultiState Ref="Set2" />
    </Symbol>
  </Symbols>

  <Groups Version="1.0" />
  <Contexts Version="1.0">
    <Range StartTime="*-5h" EndTime="*" />
  </Contexts>

  <MultiStateSets Version="1.0">
     <MultiStateSet Id="Set1" Type="AFEnumerationSet" DbRef="myAFServer" Ref="AFEnum001">
          <State Id="State 0">
               <Lower>0</Upper>
               <Upper>1</Upper>
               <Color>System.Drawing.Color.Red</Color>
          </State>
          <State Id="State 1">
               <Lower>1</Upper>
               <Upper>2</Upper>
               <Color>System.Drawing.Color.Green</Color>
          </State>
          <State Id="State 3">
               <Lower>2</Upper>
               <Upper>3</Upper>
               <Color>System.Drawing.Color.Blue</Color>
          </State>
     </MultiStateSet>
     <MultiStateSet Id="Set2" Type="DigitalStateSet" DbRef="myPIServer" RefName="DigSet001">
          <State Id="State 0">
               <Lower>0</Upper>
               <Upper>1</Upper>
               <Color>System.Drawing.Color.Red</Color>
          </State>
          <State Id="State 1">
               <Lower>1</Upper>
               <Upper>2</Upper>
               <Color>System.Drawing.Color.Green</Color>
          </State>
          <State Id="State 3">
               <Lower>2</Upper>
               <Upper>3</Upper>
               <Color>System.Drawing.Color.Blue</Color>
          </State>
     </MultiStateSet>
     <MultiStateSet Id="Set2" Type="UserDefined">
          <State Id="State 0">
               <Lower>-50</Upper>
               <Upper>50</Upper>
               <Color>System.Drawing.Color.Red</Color>
          </State>
          <State Id="State 1">
               <Lower>50</Upper>
               <Upper>10000</Upper>
               <Color>System.Drawing.Color.Green</Color>
          </State>
          <State Id="State 3">
               <Lower>10000</Upper>
               <Upper>Single.MaxValue</Upper>
               <Color>System.Drawing.Color.Blue</Color>
          </State>
     </MultiStateSet>
  </MultiStateSets>
  
</COG>

 

Outcomes