ReadHistoricalValue (IEquipmentHistorian)

Retrieves historical data from the Historian tag associated with the specified equipment property.

InputsData TypeDescription
calculationModeHistorianCalculationModesSpecifies the Historian calculation mode to use to filter the data to retrieve.
directionHistorianDirectionSpecifies the Historian direction to use to filter the data to retrieve.
endTimeDateTimeSpecifies the end time to use to filter the data to retrieve.
equipmentAddressDirectoryResosurceSpecifies the equipment instance that owns the property you want to retrieve historical data from.
Note: In the Configure Method dialog box, click Next to select a resource. Otherwise, in the Inputs section of the activity configuration panel, click the ellipsis button to select a resource.
intervalUInt32Specifies the number of intervals within the specified start and end times to use to filter the data to retrieve.
numberOfSamplesUInt32Specifies the number of data samples you want to retrieve within the specified start and end times.
propertyNameStringSpecifies the property you want to retrieve historical data from.
samplingModeHistorianSamplingModesSpecifies the Historian sampling mode to use to filter the data to retrieve.
startTimeDateTimeSpecifies the start time to use to filter the data to retrieve.

OutputsDescription
ProcessValue[] 

Returns the historical data for the specified equipment property.