Driver TCP - ETX CharacterBased

Hello,

I have connected Ignition with a devices by using the TCP driver. The message delimiter type is “CharacterBased” and the character si ETX (End Of Text - 0x03).

Which is the right way to write this character in ignition gateway? (Normally I use carriage return, \r, or new line feed, \n.

Regards

Well, I’m not using the TCP driver, but I’m working on a similar problem using the serial driver and scripting. Try using this:

chr(0x03)

It worked for me.

You should be able to use unicode escape sequences in the config: \u0003

Using the code \u0003 and setting “Message Delimiter type” to PackedBased is running.

Thanks!

1 Like