GetPIValue Properties
- Last UpdatedDec 15, 2025
- 3 minute read
The GetPIValue type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| ArchiveMode | The value retrieval mode with which to retrieve the value/values. If not specified, "Interpolated" is the default retrieval mode. | |
| Connection | Specifies which connection to a PI Data Archive to use. | |
| Count | The number of values to return when retrieving a specific number of values from a StartTime. The values are returned forward in time from the StartTime by default. To reverse the order, use the -Reverse parameter. | |
| EndTime | The EndTime to use when retrieving a range of values. | |
| InterpolatedEvents | Specifices if Interpolated Events should be returned. | |
| MaxCount | The maximum number of values to retrieve when retrieving values by time range (with StartTime and EndTime). | |
| Outside | Include the first value outside the time range specified. | |
| PIPoint | The PIPoint object for which to retrieve a value/values. | |
| PointId | The PointID of the PI Point for which to retrieve a value/values. | |
| PointName | The name of the PI Point for which to retrieve a value/values. | |
| Reverse | Reverses the order of the number of values retrieved using -StartTime and -Count parameters. Causes values to be returned backwards in time from the -StartTime. | |
| StartTime | The StartTime to use when retrieving a range of values. | |
| Stream | The Stream object for which to retrieve a value/values. | |
| Time | Time for which to retrieve a value |