Does anybody know how to get a specific text from a text list within a program. Obviously it works in a visualization, but because I will have an HMI that has it's own system and I will have to send variables to this HMI via an OPC UA connection, I need to be able to get a text into a string.
I tried using the VisuElems like this, but it only returns an empty "" and nothing else.
Does anybody know how to get a specific text from a text list within a program. Obviously it works in a visualization, but because I will have an HMI that has it's own system and I will have to send variables to this HMI via an OPC UA connection, I need to be able to get a text into a string.
I tried using the VisuElems like this, but it only returns an empty "" and nothing else.
Any help and idea is highly appreciated because I am getting desperate here.
I think you will find something in the libary TexlistUtils: https://content.helpme-codesys.com/en/libs/TextListUtils/Current/index.html
Thank you, but sadly I already tried this and it also doesn't work. It's not doing anything.
Are your texts WSTRING? maybe you should try WSTRING versions.
I have a vague memory of having to switch to TextListUtils library also.