prvTblTrendConfigurationGetConfig ¶ LineStyleRead (Method) LineWidthRead (Method)
ITrendStorageAccessReadOperator2 ¶ CurveFillingAlphaRead (Method) CurveFillingColorRead (Method) CurveFillingTypeRead (Method) CurveTypeRead (Method) GradientAngleRead (Method) GradientBrightnessRead (Method) GradientCenterXRead (Method) GradientCenterYRead (Method) GradientColor1Read (Method) GradientColor2Read (Method) GradientColorBrightnessRead (Method) GradientTranspColor1Read (Method) GradientTranspColor2Read (Method) GradientTypeRead (Method) GradientUseTwoColorsRead (Method)
TrendStorageReader.CurveFillingAlphaRead (METH) ¶ METHOD CurveFillingAlphaRead This method returns the curve alpha color of the graph (transparency) InOut: Scope Name Type Comment Input iWhichVariable INT The 0 based index of the variable within all variables iValue INT The alpha color of the graph
SwapWord (FUN) ¶ FUNCTION SwapWord : BOOL InOut: Scope Name Type Return SwapWord BOOL Inout wd WORD
TrendStorageCache ¶ TrendStorageCacheItemData (FunctionBlock)
TrendStorageCacheItemData (FB) ¶ FUNCTION_BLOCK TrendStorageCacheItemData EXTENDS fbf.InstanceData InOut: Scope Name Type Inherited from Input hInst CAA.HANDLE InstanceData bActive BOOL stAppName STRING
TrendStorageConvertFromTimestamp (FUN) ¶ FUNCTION TrendStorageConvertFromTimestamp Converts a timestamp into a SYSTIMEDATE (UTC value) and extracts also the microseconds- InOut: Scope Name Type Comment Input liTimestamp LINT Output timeDate SYSTIMEDATE Returns a SYSTIMEDATE struct containing the date and time uiMicroseconds UINT Returns the microseconds of the timestamp
TrendStorageConvertToTimestamp (FUN) ¶ FUNCTION TrendStorageConvertToTimestamp : LINT This function provides the inverse functionality of function TrendStorageConvertFromTimestamp. Converts SYSTIMEDATE (UTC value) and a microsecond into a timestamp. InOut: Scope Name Type Comment Return TrendStorageConvertToTimestamp LINT The timestamp in the trend storage format. Input timeDate SYSTIMEDATE A SYSTIMEDATE struct containing the date and time (UTC) uiMicroseconds UINT the microseconds of the timestamp
TrendStorageReader (FB) ¶ FUNCTION_BLOCK TrendStorageReader EXTENDS TrendFbAbstractTrendStorageReader IMPLEMENTS ITrendStorageAccessReadOperator2 This function block can be used from the application code to access the trend storage Methods: AddTrendStorageWriterListener ContinueReading GetMinMaxTimestamps Initialize Read RemoveTrendStorageWriterListener CurveFillingAlphaRead CurveFillingColorRead CurveFillingTypeRead CurveTypeRead DoContinueReading GradientAngleRead GradientBrightnessRead GradientCenterXRead GradientCenterYRead GradientColor1Read GradientColor2Read GradientColorBrightnessRead GradientTranspColor1Read GradientTranspColor2Read GradientTypeRead GradientUseTwoColorsRead LineStyleRead LineWidthRead Structure: AddTrendStorageWriterListener (Method) ContinueReading (Method) GetMinMaxTimestamps (Method) ITrendStorageAccessReadOperator DoContinueReading (Method) prvTblTrendConfigurationGetConfig LineStyleRead (Method) LineWidthRead (Method) ITrendStorageAccessReadOperator2 CurveFillingAlphaRead (Method) CurveFillingColorRead (Method) CurveFillingTypeRead (Method) CurveTypeRead (Method) GradientAngleRead (Method) GradientBrightnessRead (Method) GradientCenterXRead (Method) GradientCenterYRead (Method) GradientColor1Read (Method) GradientColor2Read (Method) GradientColorBrightnessRead (Method) GradientTranspColor1Read (Method) GradientTranspColor2Read (Method) GradientTypeRead (Method) GradientUseTwoColorsRead (Method) Initialize (Method) Read (Method) RemoveTrendStorageWriterListener (Method)
TrendStorageReader.AddTrendStorageWriterListener (METH) ¶ METHOD AddTrendStorageWriterListener : ETrendStorageReaderErrors Adds an ITrendStorageWriterListener instance. InOut: Scope Name Type Comment Return AddTrendStorageWriterListener ETrendStorageReaderErrors A ETrendStorageReaderErrors value indicating, whether the processing has been completed successfully or not: ETrendStorageReaderErrors.NoError: Completed successfully ETrendStorageReaderErrors.WrongParameter: If the ITrendStorageWriterListener instance is invalid ETrendStorageReaderErrors.NoMemory: If the ITrendStorageWriterListener instance cannot be stored, because no memory available Input itfTrendStorageWriterListener ITrendStorageWriterListener An instance of ITrendStorageWriterListener, that will be informed every time, when new data has been written into the trend storage