Visual Productions forum

Products => CueCore, QuadCore, IoCore, TimeCore & B-Station => Topic started by: tonytee on September 20, 2016, 02:41:36 PM

Title: Special characters in send string
Post by: tonytee on September 20, 2016, 02:41:36 PM
Hi guys,

does anyone know if it's possible to send special characters like linefeed / carriage return over UDP from b-station?

adding \n send just exactly that... instead of a nice newline

thx. TT

update, just to clarify...
i did see the option "send bytes" which kind of exactly does what I want providing i make a very long string contaning hex numbers,
but i'm just hoping "send string hex" is somehow a combination of readable and special characters... can't find the syntax for that however.

i'm just looking for the "hello\n" or "hello\#oa" magic...





Title: Re: Special characters in send string
Post by: Guido Visser on September 20, 2016, 06:01:07 PM
Hello Tony,

We do not have tricks for entering special characters using the “Send String” feature in a UDP task.

When you select the “Send Bytes” feature, you are allowed to enter a hexadecimal value in param 1. If you would like to send text and other special characters you can use this option. Characters are encoded using the ASCII code. You can encode “hello” with line feed and carriage return at the end with the following code 68656C6C6F0A0D.

A website which may help you convert text to hexadecimal values is http://www.asciitohex.com. Please note that B-Station does not support spaces in between hexadecimal values.

Best regards,
Guido