<?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: how to pass argument values to one task to another task in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/how-to-pass-argument-values-to-one-task-to-another-task/m-p/373708#M12383</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you matthew...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;DIV style="display: none;"&gt; &lt;/DIV&gt;&lt;DIV style="display: none;"&gt; &lt;/DIV&gt;&lt;DIV style="display: none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Apr 2015 04:36:16 GMT</pubDate>
    <dc:creator>sudhakarp</dc:creator>
    <dc:date>2015-04-03T04:36:16Z</dc:date>
    <item>
      <title>how to pass argument values to one task to another task</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/how-to-pass-argument-values-to-one-task-to-another-task/m-p/373704#M12379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I want to pass value's from one task to another task. how to do this things..? &lt;/P&gt;&lt;P&gt;example: in one variable &lt;STRONG&gt;char variable=10;&amp;nbsp; &lt;/STRONG&gt;i want to print this value to another task. and also my tasks are "MQX_AUTO_START_TASK"&lt;STRONG&gt;. give some simple example code. i want to pass string value also. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sudhakar&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV style="display: none;"&gt; &lt;/DIV&gt;&lt;DIV style="display: none;"&gt; &lt;/DIV&gt;&lt;DIV style="display: none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 11:42:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/how-to-pass-argument-values-to-one-task-to-another-task/m-p/373704#M12379</guid>
      <dc:creator>sudhakarp</dc:creator>
      <dc:date>2015-04-02T11:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to pass argument values to one task to another task</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/how-to-pass-argument-values-to-one-task-to-another-task/m-p/373705#M12380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A quick way is to just make those global variables. But probably a safer way is to use something like messages. Light weight messages (LWMSG) are part of MQX and can be found in MQX_User_Guide.pdf and MQX_Reference_Manual.pdf in your MQX install directory. Basically if task B needs data from task A, task B will hit a blocking call in your code and sit there waiting till task A sends a message containing the data to be passed from task A to task B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry but I don't have any lwmsg example code handy or I'd post it. I think there are examples in the documentation and in the example projects that come with MQX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MQX also has other things like semaphores and events that might work. It just depends on your situation. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;Sean&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 14:36:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/how-to-pass-argument-values-to-one-task-to-another-task/m-p/373705#M12380</guid>
      <dc:creator>seandema</dc:creator>
      <dc:date>2015-04-02T14:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to pass argument values to one task to another task</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/how-to-pass-argument-values-to-one-task-to-another-task/m-p/373706#M12381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Intertask messages. In the MQX RTOS Reference Manual (MQXRM) see the _msgq_* functions. There is a example code in the description of the _msgq_send() function. There is also a full example program in Freescale_MQX_4_1\mqx\examples\msg\&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 17:41:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/how-to-pass-argument-values-to-one-task-to-another-task/m-p/373706#M12381</guid>
      <dc:creator>matthewkendall</dc:creator>
      <dc:date>2015-04-02T17:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: how to pass argument values to one task to another task</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/how-to-pass-argument-values-to-one-task-to-another-task/m-p/373707#M12382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is possible to use global array in different task..?&lt;/P&gt;&lt;DIV style="display: none;"&gt; &lt;/DIV&gt;&lt;DIV style="display: none;"&gt; &lt;/DIV&gt;&lt;DIV style="display: none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2015 04:35:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/how-to-pass-argument-values-to-one-task-to-another-task/m-p/373707#M12382</guid>
      <dc:creator>sudhakarp</dc:creator>
      <dc:date>2015-04-03T04:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to pass argument values to one task to another task</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/how-to-pass-argument-values-to-one-task-to-another-task/m-p/373708#M12383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you matthew...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;DIV style="display: none;"&gt; &lt;/DIV&gt;&lt;DIV style="display: none;"&gt; &lt;/DIV&gt;&lt;DIV style="display: none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2015 04:36:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/how-to-pass-argument-values-to-one-task-to-another-task/m-p/373708#M12383</guid>
      <dc:creator>sudhakarp</dc:creator>
      <dc:date>2015-04-03T04:36:16Z</dc:date>
    </item>
  </channel>
</rss>

