I have problems in sending strings over TCP in Mervis. The string here is a command which need to be sent to a TCP to RS232 converter and from there to a Microturbine.
I have generated the String in Mervis (as the output of a function block) but not sure how to transfer it.
I also think there might be an issue with my TCP channel created in Mervis either in Channel properties, Group definition, or data point parameters setting. In particular I want to know:
1- Is it possible to send the string directly to a TCP variable defined as data point? How?
2- If it is not possible to directly send a string to a variable, how we can send it as bytes? I tried using String-To-Bytes but it says "can't implicitly case from Bytearray to byte".
Any help is appreciated.