VisuFbXYChartGenericVariableArray (FB) ¶ FUNCTION_BLOCK VisuFbXYChartGenericVariableArray EXTENDS VisuFbXYChartGenericVariable This function block extends VisuFbXYChartGenericVariable. It is used in case of array, like curves. InOut: Scope Name Type Comment Inherited from Input pVar __XWORD Points to the variable VisuFbXYChartGenericVariable varType TypeClass Data type of variable VisuFbXYChartGenericVariable diSize DINT Data size VisuFbXYChartGenericVariable Methods: GetValueRAWixUnck GetValueREALixUnck CheckVarPointerIsChanged , inherited from VisuFbXYChartGenericVariable GetValueBOOL , inherited from VisuFbXYChartGenericVariable GetValueDINT , inherited from VisuFbXYChartGenericVariable GetValueREAL , inherited from VisuFbXYChartGenericVariable GetValueUDINT , inherited from VisuFbXYChartGenericVariable SetInitialAddress , inherited from VisuFbXYChartGenericVariable SetValueDINT , inherited from VisuFbXYChartGenericVariable SetValueREAL , inherited from VisuFbXYChartGenericVariable Structure: GetValueRAWixUnck (Method) GetValueREALixUnck (Method)
VisuFbXYChartGenericVariableArray.GetValueRAWixUnck (METH) ¶ METHOD GetValueRAWixUnck : LWORD Get RAW value with index without check if the index is in the range. The assumption is that the check it’s already done InOut: Scope Name Type Return GetValueRAWixUnck LWORD Input diPos DINT
VisuFbXYChartGenericVariableArray.GetValueREALixUnck (METH) ¶ METHOD GetValueREALixUnck : REAL Get value as REAL with index without check if the index is in the range. The assumption is that the check it’s already done InOut: Scope Name Type Return GetValueREALixUnck REAL Input diPos DINT
Functions ¶ GetChar (Function) SplitTextListId (Function) StrCaseCmpW (Function) StrCpyWtoA (Function)
GetChar (FUN) ¶ FUNCTION GetChar : BYTE Get ASCII characters as single byte InOut: Scope Name Type Comment Return GetChar BYTE Input sChar STRING Char to get
SplitTextListId (FUN) ¶ FUNCTION SplitTextListId : INT It splits the “one string” text in text list name and text ID Return values: 0 -> Ok -1 -> there are UNICODE chars, sobstitute with ‘?’ -2 -> invalid input pointers -3 -> not valid input string: e.g. ‘myproject.text.id’ InOut: Scope Name Type Comment Return SplitTextListId INT Input rwStr REFERENCE TO WSTRING “one string” text rsTLName REFERENCE TO STRING Text list name rsTLIndex REFERENCE TO STRING Text list ID
StrCaseCmpW (FUN) ¶ FUNCTION StrCaseCmpW : INT It does a caseinsensitive comparison of two wstrings Return values: 0 -> the strings are equal -1 -> pwStr1 is less than pwStr2 1 -> pwStr1 is larger than pwStr2 -2 -> Error: An invalid string (ie. Null-Pointer is given) InOut: Scope Name Type Return StrCaseCmpW INT Input rwStr1 REFERENCE TO WSTRING rwStr2 REFERENCE TO WSTRING
IXYChartDataProvider.GetUpdateType (METH) ¶ METHOD GetUpdateType : EnXYChartUpdateType Get the element update type InOut: Scope Name Type Return GetUpdateType EnXYChartUpdateType
IXYChartDataProvider.GetVariableItf (METH) ¶ METHOD GetVariableItf : IXYChartGenericVariable Get variable interface InOut: Scope Name Type Comment Return GetVariableItf IXYChartGenericVariable Input eWhich EnXYChartDataProviderVar Which variable I need
IXYChartDataProvider.IsAxisVarLocal (METH) ¶ METHOD IsAxisVarLocal : BOOL It returns if the axis variable VisuStructXYChartAxis is local or user instantiated InOut: Scope Name Type Return IsAxisVarLocal BOOL Input iWhich INT