This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

GUI COMPOSER ASCII Format



Hello,

 

i want to display the variable as a ASCII Sign. How could i do this. Is there a possiblility like the formating in Hex? Thanks for answer.

  • Displaying a variable in ASCII format is not natively supported like some other formats like hex. However, you can manipulate the displayed data by creating a preprocessing function that is applied to the value of the variable to be displayed.

    Please see this post for more details on how to create and edit a preprocessing function. In that example, the variable format is being converted to binary. To convert to ASCII you could try the String.fromCharCode function (which I found by searching the internet).

    function converttoascii( valueFromTarget) {

                    return String.fromCharCode(valueFromTarget);

    }