Announcement

Collapse
No announcement yet.

Display Greek String

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Display Greek String

    Dear all,

    I am using the Diablo 70DCT-CLB touch monitor, i have succesfully use the genieArduino library to send data to the screen and get events on buttons from it. Now, as i receive greek strings of data through udp connection from an MQTT broker, i cant display them succesfully on the screen.
    I had use for a textbox charset Unicode, and i try to use the genie.WriteStrU functions but i just cant figure it out.
    I am using the designer for the configuration and design of the screen.
    I read application notes within the documantation but i couldnt follow them, so is anyone availble to help me sort this out i would really appreciate it.
    Thank you in advance

  • #2
    Hi amant,

    These forum posts might help you out:

    Strings - unicode or extended ASCII?
    http://forum.4dsystems.com.au/forum/...extended-ascii

    How to use fonts
    http://forum.4dsystems.com.au/forum/...w-to-use-fonts

    genieWriteStr and special characters
    http://forum.4dsystems.com.au/forum/...ial-characters

    Print/Write Special characters - In Visi
    http://forum.4dsystems.com.au/forum/...ial-characters

    Application Note:

    ViSi-Genie Labels, Texts, and Strings
    http://www.4dsystems.com.au/download...013_R_1_01.pdf

    You might also want to try displaying Greek characters without using MQTT at first for testing.

    Regards,

    Comment


    • #3
      Dear Joseph,

      i hook the display and use the gtx to send directly greek characters to the relative string boxes with success. So, i think that i need to do as the gtx did programmatically, so i probably need some instructions on send command under the arduino.
      I use the
      genieArduino librarry and try to use the writeStrU function without success. I would need your help on this implementation. how i shoould replicate what gtx do?

      Thank you in advance

      Comment


      • #4
        Hi amant,

        You can try the attached sample project in printing Strings using Unicode.

        sample project from genieWriteStr and special characters:
        http://forum.4dsystems.com.au/forum/...ial-characters

        Then in the Arduino code (also attached), you could use WriteStrU like:

        uint16_t hexArray3[] = { 0x00D8, 0x00DD, 0x00D5 }; // ØÝÕ
        genie.WriteStrU(0, hexArray4); // prints ØÝÕ on the string widget.

        You could also use the application here to translate some unicode characters to their equivalent HEX:

        How to use fonts - post #17
        http://forum.4dsystems.com.au/forum/...se-fonts/page2

        You can also use the GTX you tried to check the HEX bytes that is needed to be sent. (see attached picture)

        Hope this helps,
        Attached Files

        Comment

        Working...
        X