Hi,
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:
DynamicTextRegisterFile
DynamicTextLoadDefaultTexts
DynamicTextRegisterPath
Are there able to be used?
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
Last edit: kislov 2020-06-04
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
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:
DynamicTextRegisterFile
DynamicTextLoadDefaultTexts
DynamicTextRegisterPath
Are there able to be used?
Thanks
You jsut need to run the function "DynamicTextLoadDefaultTexts()".
Regards
DynLoadTextList.project [132.32 KiB]
Hi,
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?
Thanks
Regards,
Lai
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.
Last edit: kislov 2020-06-04