Ini_EntryManager.DeleteEntryAtIndex (METH) ¶ METHOD DeleteEntryAtIndex : Error Delete IniFileEntry at given index InOut: Scope Name Type Comment Return DeleteEntryAtIndex Error Input udiIniFileEntryIndex UDINT Index where to delete the IniFileEntry
IJSONData.FindFirstElementByKey (METH) ¶ METHOD FindFirstElementByKey : ERROR Find the first element in the data array by key. InOut: Scope Name Type Comment Return FindFirstElementByKey ERROR Input wsKey WSTRING(GParams.g_diMaxStringSize) The key to search diStartIndex DINT Index of the array to start the search Output jsonElement JSONElement The first element in the array with the requested key
IJSONData.FindFirstValueByKey (METH) ¶ METHOD FindFirstValueByKey : ERROR Find the first value of the requested key. InOut: Scope Name Type Comment Return FindFirstValueByKey ERROR Input wsKey WSTRING(GParams.g_diMaxStringSize) The key to search diStartIndex DINT Start index Output jsonElement JSONElement The first value for the requested key
IJSONData.GetChildren (METH) ¶ METHOD GetChildren : ERROR Get all children of an element InOut: Scope Name Type Comment Return GetChildren ERROR Input diIndex DINT Index of the parent element pResult POINTER TO JSONElement Children of the parent element index udiMaxSize UDINT Maximum number of children Output udiResultSize UDINT Size of the result array
IJSONData.GetElementByIndex (METH) ¶ METHOD GetElementByIndex : ERROR Get an element by index InOut: Scope Name Type Comment Return GetElementByIndex ERROR Input diIndex DINT Index of the element Output jsonElement JSONElement The element with the requested index
IJSONData.SetArray (METH) ¶ METHOD SetArray : ERROR Method to set an object InOut: Scope Name Type Comment Return SetArray ERROR Input diIndex DINT Index of the lement diParentIndex DINT Parent index, -1 if top level
IJSONData.SetBool (METH) ¶ METHOD SetBool : ERROR Method to set BOOL values InOut: Scope Name Type Comment Return SetBool ERROR Input bValue BOOL Value diIndex DINT Index of the lement diParentIndex DINT Parent index, -1 if top level
IJSONData.SetKey (METH) ¶ METHOD SetKey : ERROR Method to set a key InOut: Scope Name Type Comment Return SetKey ERROR Input wsKey WSTRING(GParams.g_diMaxStringSize) Value diIndex DINT Index of the lement diParentIndex DINT Parent index, -1 if top level
IJSONData.SetLReal (METH) ¶ METHOD SetLReal : ERROR Method to set REAL values InOut: Scope Name Type Comment Return SetLReal ERROR Input lrValue LREAL Value diIndex DINT Index of the lement diParentIndex DINT Parent index, -1 if top level
IJSONData.SetLRealRounded (METH) ¶ METHOD SetLRealRounded : ERROR Method to set rounded LREAL values. Rounding mode: Round half away from zero InOut: Scope Name Type Comment Return SetLRealRounded ERROR Input lrValue LREAL Value diIndex DINT Index of the lement diParentIndex DINT Parent index, -1 if top level iDecimalPlaces INT Number of decimal places