Skip to main content

Values(Object, Object, BoundaryTypeConstants) Method

Returns all events for a specified time range from the archive as a PIACEValues collection.

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 PIACEValues Values(
Object startTime,
Object endTime,
BoundaryTypeConstants boundaryType
)

VB

Public Function Values ( 
startTime As Object,
endTime As Object,
boundaryType As BoundaryTypeConstants
) As PIACEValues

Parameters​

  Object
Timestamp for the beginning of the time range.
  Object
Timestamp for the end of the time range.
  BoundaryTypeConstants
An enumerated type (0, 1, 2, and 3) that determines how the boundary points are returned. Possible values are:
  • 0: To return boundary values at or within the time range specified.
  • 1: To return boundary values at or outside the time range specified.
  • 2: To return boundary values interpolated to the start and end times specified.
  • 3: To return boundary values at or within the time range specified for points with the Step attribute set (i.e., Step = 1) and to return boundary values interpolated to the start and end times specified for points without the Step attribute set (i.e., Step = 0).

Return Value​

PIACEValues
PIACEValues collection consisting of all events for a specified time range from the archive.

Remarks​

For points with the Step attribute set (i.e., Step = 1), this function returns boundary values at or within the time range specified. For points without the Step attribute set (i.e., Step = 0), this functions returns boundary values interpolated to the start and end times specified.

Change to interface - returns PIACEValues instead of PISDK.PIValues collection.

See Also​

Reference​

PIACEPoint Class
Values Overload
GHost.GSharp.PI.ACE Namespace