No announcement yet.

Best approach to create a terminal window

  • Filter
  • Time
  • Show
Clear All
new posts

  • Best approach to create a terminal window

    While waiting for my hardware to arrive, I've been playing with a ViSi-Genie project. I plan to have a few buttons and a window that I send text to, like a terminal window. It looked like my best option is a strings object in book mode, but the 3 lines of text overwrite each other. Doesn't matter what font size I select. Will the real hardware behave the same way? What can I do to fix this? Click image for larger version

Name:	ScreenTest.jpg
Views:	117
Size:	34.9 KB
ID:	72834

  • #2

    On the actual display the string newline will work correctly. Just to confirm are you only using one string object?
    You can also learn more about the string object in ViSi-Genie from our application note

    I hope this helps,
    Best Regards
    Last edited by Jerson; 13 August 2020, 11:15 AM.


    • #3
      Was your example above just a single String Object in Book mode, and you have 3 lines?
      We have tested this here and ours do no overlap at all like your image shows. This is only a single String object, correct?
      Can you maybe attach your project (zipped) so we can have a closer look as to how you are getting what you are seeing in your picture?


      • #4
        The string element is book mode, with a single string of text. This text has linefeeds in it to create multiple lines. I'll attach the zip file.
        Attached Files


        • #5

          We were able to replicate your issue, the Magwidth and Magheight of the Label object is being carried over to the String object.
          I also confirmed that it will not affect the GUI in the hardware once uploaded as shown below.

          Click image for larger version

Name:	IMG20200818101950.jpg
Views:	36
Size:	161.1 KB
ID:	73223

          Best Regards,


          • #6
            So that's an error in your IDE, but the hardware will work ok?


            • #7
              Yes, it works fine as shown in the attached image on my previous post.