I would like to edit the textlist file during runtime. am I able to reload and update the textlist during runtime? I am using 3.5.12.
I found the following function:
Are there able to be used?
You jsut need to run the function "DynamicTextLoadDefaultTexts()".
DynLoadTextList.project [132.32 KiB]
Sorry if I expressed my question wrongly. I had a textlist but the user want to edit(Add/Remove) the textlist during runtime. Is that possible?
Same issue. The CmpDynamicText library has tools to set the text list to a file name and to update the text file. I guess we could point the text file to a csv, save to the csv file and then reload the text file from the csv. It seems bit convoluted and it also seems like basic functionality that should be considered for text files...am I missing something?
Hi. Right now there is no possible to edit textlists from IEC-code with this library.
I hope "set" functions will be added in next versions.
Right now I edit textlists during runtime with iconv&sed utilities (i use PLC with Linux OS) and use SysProcess library (honestly, vendor-specific analog of this library) to call this utilities from IEC-code.
Log in to post a comment.