<?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: emWin GUI Main_Task execution Regarding in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/emWin-GUI-Main-Task-execution-Regarding/m-p/1334317#M16178</link>
    <description>&lt;P&gt;Hello &lt;BR /&gt;&lt;BR /&gt;Hope you are well.&lt;BR /&gt;The function of these lines is to keep the screen running.&amp;nbsp; It is executed twice to keep it running. This assure us that the screen is alive while executing one job in the GUI. &lt;BR /&gt;GUI_EXEC1() returns 0 when no job is done and the task goes to execute the second APPW_Exec() to enter in the second while.&lt;BR /&gt;In this post there is an example where APPW_Exec() is executed once, you can see the results: &lt;A href="https://community.nxp.com/t5/MCUXpresso-General/AppWizard-APPW-SetVarData-doesn-t-trigger-WM-NOTIFICATION-VALUE/m-p/1275124" target="_blank"&gt;https://community.nxp.com/t5/MCUXpresso-General/AppWizard-APPW-SetVarData-doesn-t-trigger-WM-NOTIFICATION-VALUE/m-p/1275124&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Let me know if this is helpful, if you have more questions do not hesitate to ask me.&lt;BR /&gt;Best regards,&lt;BR /&gt;Omar&lt;/P&gt;</description>
    <pubDate>Thu, 02 Sep 2021 19:37:17 GMT</pubDate>
    <dc:creator>Omar_Anguiano</dc:creator>
    <dc:date>2021-09-02T19:37:17Z</dc:date>
    <item>
      <title>emWin GUI Main_Task execution Regarding</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/emWin-GUI-Main-Task-execution-Regarding/m-p/1330892#M16092</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have the iMXRT1052 EVK and using AppWizard to create the screen for GUI.&lt;/P&gt;&lt;P&gt;I would like to know how the below lines of code work in Main_Task in the GUI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;while (1) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; while (GUI_Exec1()) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; APPW_Exec();&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; APPW_Exec();&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; PRINTF("GUI task ...\r\n");&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; GUI_Delay(50);&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;why should we call&amp;nbsp;&amp;nbsp;APPW_Exec();​ twice?&lt;/P&gt;&lt;P&gt;Will the PRINTF call which I have placed, be&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;printed&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;everytime?&lt;/P&gt;&lt;P&gt;I sometimes see that the serial messages are not printed and it looks like its still in GUI_EXEC1(). When will such situation occur?&lt;/P&gt;&lt;P&gt;Your help on this is highly appreciated.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 08:10:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/emWin-GUI-Main-Task-execution-Regarding/m-p/1330892#M16092</guid>
      <dc:creator>EmbeddedTech</dc:creator>
      <dc:date>2021-08-27T08:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: emWin GUI Main_Task execution Regarding</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/emWin-GUI-Main-Task-execution-Regarding/m-p/1334317#M16178</link>
      <description>&lt;P&gt;Hello &lt;BR /&gt;&lt;BR /&gt;Hope you are well.&lt;BR /&gt;The function of these lines is to keep the screen running.&amp;nbsp; It is executed twice to keep it running. This assure us that the screen is alive while executing one job in the GUI. &lt;BR /&gt;GUI_EXEC1() returns 0 when no job is done and the task goes to execute the second APPW_Exec() to enter in the second while.&lt;BR /&gt;In this post there is an example where APPW_Exec() is executed once, you can see the results: &lt;A href="https://community.nxp.com/t5/MCUXpresso-General/AppWizard-APPW-SetVarData-doesn-t-trigger-WM-NOTIFICATION-VALUE/m-p/1275124" target="_blank"&gt;https://community.nxp.com/t5/MCUXpresso-General/AppWizard-APPW-SetVarData-doesn-t-trigger-WM-NOTIFICATION-VALUE/m-p/1275124&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Let me know if this is helpful, if you have more questions do not hesitate to ask me.&lt;BR /&gt;Best regards,&lt;BR /&gt;Omar&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 19:37:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/emWin-GUI-Main-Task-execution-Regarding/m-p/1334317#M16178</guid>
      <dc:creator>Omar_Anguiano</dc:creator>
      <dc:date>2021-09-02T19:37:17Z</dc:date>
    </item>
  </channel>
</rss>

