<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: GUIX Studio Example Not Displaying in MCUXpresso General</title>
    <link>https://community.nxp.com/t5/MCUXpresso-General/GUIX-Studio-Example-Not-Displaying/m-p/1610819#M4890</link>
    <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/101064"&gt;@chadgraham&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello, I have taken example of GUIX from SDK for MIMXRT1062, I was also facing the half screen display issue. But when I recreate&amp;nbsp; the window in GUIX taking 320*480 resolution I am not getting any thing on display. would you please help me&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Mar 2023 10:14:54 GMT</pubDate>
    <dc:creator>vipuljain91</dc:creator>
    <dc:date>2023-03-07T10:14:54Z</dc:date>
    <item>
      <title>GUIX Studio Example Not Displaying</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/GUIX-Studio-Example-Not-Displaying/m-p/1307067#M4226</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am working with an RT1062 dev board with LCD screen.&amp;nbsp; I have successfully displayed binary graphics to the display and am reasonably certain that the display is working as intended using the SDK.&lt;/P&gt;&lt;P&gt;Due to the fact that our system will be running Azure RTOS, I am trying to get GUIX setup so that I can use GUIX Studio to develop the GUI and then run it on the dev board.&amp;nbsp; Following the example&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/azure/rtos/guix/guix-studio-10" target="_self"&gt;https://docs.microsoft.com/en-us/azure/rtos/guix/guix-studio-10&lt;/A&gt;&amp;nbsp;as a guide, I have setup a GUIX studio project and successfully integrated it into my code such that I can now execute my code and see the screen update with the intended canvas color.&amp;nbsp; (I used this as a simple check to ensure that GUIX was initialized and working.)&lt;/P&gt;&lt;P&gt;That said, I have added a text prompt and some button icons, but only the canvas color is shown.&amp;nbsp; I have tried playing with the properties, setting the Z level to top-most, changing the text font/color, etc...&amp;nbsp; In MCUXpresso, I have copied and pasted the example and updated the variable names, but no luck.&lt;/P&gt;&lt;P&gt;Has anyone else setup and used GUIX studio to generate and run a GUI on the RT1062?&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;void XXX::_initDisplay( GX_WINDOW_ROOT * _window)
{
    /* Initialize the GUIX library */
    gx_system_initialize();

    /* Configure the main display. */
    gx_studio_display_configure(
        LCD_DISPLAY,                      /* Display to configure*/
        _graphicsDriver, /* Driver to use */
        LANGUAGE_ENGLISH,                  /* Language to install */
        LCD_DISPLAY_THEME_1,        /* Theme to install */
        &amp;amp;_window);                     /* Root window pointer */

    /* Create the screen - attached to root window. */
    gx_studio_named_widget_create(
        ( char *) _DISPLAY_NAME.c_str(),
        (GX_WIDGET *) _window,
        GX_NULL);

    /* Show the root window to make it visible. */
    gx_widget_show( _window);
}&lt;/LI-CODE&gt;&lt;LI-CODE lang="c"&gt;void XXX::_threadEntry( ULONG thread_input)
{
  /* Let GUIX run. */
  gx_system_start();

  // Enable the backlight
  _lcd_display-&amp;gt;setBacklightEnable( true);

  while(1)
  {
    tx_thread_sleep( _THREAD_SLEEP_TICKS);
  }
}&lt;/LI-CODE&gt;&lt;P&gt;GUIX Studio:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2021-07-13_11-16-44.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/149710i50839328F4DAEE68/image-size/large?v=v2&amp;amp;px=999" role="button" title="2021-07-13_11-16-44.jpg" alt="2021-07-13_11-16-44.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 15:20:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/GUIX-Studio-Example-Not-Displaying/m-p/1307067#M4226</guid>
      <dc:creator>chadgraham</dc:creator>
      <dc:date>2021-07-13T15:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: GUIX Studio Example Not Displaying</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/GUIX-Studio-Example-Not-Displaying/m-p/1307168#M4227</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I was able to track down my issues and now have the display working.&amp;nbsp; In case other people have a similar issue, I had two bugs that ultimately stopped things from working.&lt;/P&gt;&lt;P&gt;The first was a naming issue in the&amp;nbsp;gx_studio_named_widget_create() function.&amp;nbsp; As part of my debugging, I had blown away my original window and recreated it with default settings.&amp;nbsp; In doing this, I forgot to update the widget name and GX didn't know to create the window on the display.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The second issue was in my custom driver where I had a pointer that wasn't incrementing properly.&amp;nbsp; After comparing the canvas buffer memory to the screen frame buffer, I found that the frame buffer was only being set to the first color value... which is why I thought the screen's background color was being properly controlled.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 20:40:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/GUIX-Studio-Example-Not-Displaying/m-p/1307168#M4227</guid>
      <dc:creator>chadgraham</dc:creator>
      <dc:date>2021-07-13T20:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: GUIX Studio Example Not Displaying</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/GUIX-Studio-Example-Not-Displaying/m-p/1610819#M4890</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/101064"&gt;@chadgraham&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello, I have taken example of GUIX from SDK for MIMXRT1062, I was also facing the half screen display issue. But when I recreate&amp;nbsp; the window in GUIX taking 320*480 resolution I am not getting any thing on display. would you please help me&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2023 10:14:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/GUIX-Studio-Example-Not-Displaying/m-p/1610819#M4890</guid>
      <dc:creator>vipuljain91</dc:creator>
      <dc:date>2023-03-07T10:14:54Z</dc:date>
    </item>
  </channel>
</rss>

