Visual Productions forum

Author Topic: Special characters in send string  (Read 966 times)

September 20, 2016, 02:41:36 PM
Read 966 times

tonytee

  • Member
  • *
  • Posts: 1
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...





« Last Edit: September 20, 2016, 03:53:01 PM by tonytee »

September 20, 2016, 06:01:07 PM
Reply #1

Guido Visser

  • Administrator
  • Member
  • *****
  • Posts: 227
    • Visual Productions
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
Guido Visser
Visual Productions BV

 

SMF spam blocked by CleanTalk