FindNE Method
Finds the first time, within a specified time range, when an archive value for the point is not equal to a given value.
Definition
Namespace: GHost.GSharp.PI.ACE
Assembly: GHost.GSharp.PI.ACE (in GHost.GSharp.PI.ACE.dll) Version: 1.2.44.3 (1.2.44.3)
C#
public AFTime? FindNE(
Object startTime,
Object endTime,
Object value
)
VB
Public Function FindNE (
startTime As Object,
endTime As Object,
value As Object
) As AFTime?
Parameters
- Object
- Timestamp for the beginning of the time range to search.
- Object
- Timestamp for the end of the time range to search. This time may be earlier than Starttime; if so, the range is searched backwards.
- Object
- The value to search for. Must be an integer or real number, or character string corresponding to a digital state.
Return Value
Nullable(AFTime)
AFTime object corresponding to the first timestamp, within a specified time range, when an archive value for the point is not equal to a specified target value.
Remarks
If the point does not contain any value that meets the criteria, returns null and raises an error. Change to interface - returns AFTime struct instead of PISDK.PITime object.