AFValue.CreateSystemNoDataFound Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This method will create an AFValue object with a system state of NoData as its AFEnumerationValue
with a Bad status that is associated with an AFAttribute.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static AFValue CreateSystemNoDataFound( AFAttribute attribute, AFTime timestamp )
Public Shared Function CreateSystemNoDataFound ( attribute As AFAttribute, timestamp As AFTime ) As AFValue Dim attribute As AFAttribute Dim timestamp As AFTime Dim returnValue As AFValue returnValue = AFValue.CreateSystemNoDataFound(attribute, timestamp)
public: static AFValue^ CreateSystemNoDataFound( AFAttribute^ attribute, AFTime timestamp )
static member CreateSystemNoDataFound : attribute : AFAttribute * timestamp : AFTime -> AFValue
Parameters
- attribute
- Type: OSIsoft.AF.AssetAFAttribute
The AFAttribute to be associated with the new value. - timestamp
- Type: OSIsoft.AF.TimeAFTime
The timestamp associated with the new value.
Return Value
Type: AFValueAn instance of AFValue representing a NoData state that denotes that no data was found.
Remarks
This value should be used by data reference developers implementing RecordedValue(AFTime, AFRetrievalMode, AFAttributeList, AFValues) as a return value to denote that no values
exist while searching in direction of the passed in AFRetrievalMode.