Click or drag to resize
OSIsoft, LLC

AFSystemStateCode Enumeration

This enumeration defines the values for the standard system enumeration set derived from the system digital code values in the PI Data Archive.

Namespace:  OSIsoft.AF.Asset
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version:
public enum AFSystemStateCode
  Member nameValueDescription
None0 No state specified. This state should not be used to create a system state set.
AccessDenied210 AccessDenied state.
NoSample211 No Sample state.
NoResult212 No Result state.
UnitDown213 Unit Down state.
SampleBad214 Sample Bad state.
EquipFail215 Equip Fail state.
NoLabData216 No Lab Data state.
Trace217 Trace state.
DCSFailed233 DCS Failed state.
BadOutput237 Bad Output state.
ScanOff238 Scan Off state.
ScanOn239 Scan On state.
Configure240 Configure state.
Failed241 Failed state.
Error242 Error state.
Execute243 Execute state.
Filtered244 Filtered state.
CalcOff245 Calculations Off state.
IOTimeout246 Interfaces use this state to indicate that communication with a remote device has failed.
SetToBad247 Set To Bad state.
NoData248 Data-retrieval functions use this state for time periods where no archive values for a tag can exist 10 minutes into the future or before the oldest mounted archive.
CalcFailed249 Calculation Failed state.
CalcOverflow250 Calculation Overflow state.
UnderRange251 For float16 point types, this state indicates a value that is less than the zero for the tag.
OverRange252 For float16 point types, this state indicates a value that is greater than the top of range (Zero+Span) for that tag.
PointCreated253 This state is assigned to a tag when it is created. This is a tag's value before any value is entered into the system.
Shutdown254 All tags that are configured to receive shutdown events are set to this state on system shutdown.
BadInput255 Interfaces use this state to indicate that a device is reporting bad status.
BadTotal256 Bad Total state.
NoAlarm257 No Alarm state.
OverUCL258 Over UCL state.
UnderLCL259 Under LCL state.
OverWL260 Over WL state.
UnderWL261 Under WL state.
Substituted298 Substituted state.
InvalidData299 Invalid Data state.
ScanTimeout300 Scan Timeout state.
No_Sample301 No_Sample state.
ArcOffline302 Used by data-retrieval functions to indicate a period of time not covered by any mounted archive.
Good305 Good state.
Bad307 Bad state.
Doubtful308 Doubtful state.
WrongType309 Wrong Type state.
Overflow_st310 Overflow_st state.
InterfaceShut311 Interface Shut state.
OutOfService312 Out of Service state.
CommFail313 Comm Fail state.
NotConnect314 Not Connect state.
CoercionFailed315 Coercion Failed state.
Snapfix316 Snapfix state.
InvalidFloat317 Represents Nan (Not a Number) in later some PI Data Archives.
FutureDataUnsupported318 Future Data Unsupported state, which represents the return from a data access call (to a future tag) that is not supported.
This enumeration defines the values for the standard system enumeration set returned from the AFEnumeration.SystemStateSet. These values can be used to lookup a system AFEnumerationValue using the GetBySystemStateCode(AFSystemStateCode) method.
Version Information


Supported in: 2.10.5, 2.10, 2.9.5, 2.9, 2.8.5, 2.8, 2.7.5, 2.7, 2.6, 2.5, 2.4
See Also
Enabling Operational Intelligence