<?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: Queued Message Handler (QMH)  and Asynchronous Message Communication (AMC) Reference Library in Components</title>
    <link>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/1508008#M592</link>
    <description>&lt;P&gt;Hi Christian,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've built an application using AMC and I'm generally happy with the package.&amp;nbsp; Two problems that are vexing me right now are:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) Spaces in the Keys and Values in the Message Attributes are replaced with underscores when sending a message over a network (Send Network Message), but not when sending local messages. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) No message is sent and no error generated if I try to send a flattened xml string over the network.&amp;nbsp; Again, this does work when sending local messages.&amp;nbsp; (I'm flattening objects to xml strings to pass to my RT target).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These problems kinda ruin the abstraction of the package as messaging strategy that works between local VIs breaks when moving the application to a network.&amp;nbsp; Any ideas for workarounds or for what might be the cause of this behavior?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-EDIT-&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Whoops!&amp;nbsp; Just saw that Nate had asked the same question on the first page of the thread!&amp;nbsp; Does the last update you posted fix this problem?&lt;/P&gt;</description>
    <pubDate>Thu, 31 Mar 2011 21:45:20 GMT</pubDate>
    <dc:creator>testingHotAir</dc:creator>
    <dc:date>2011-03-31T21:45:20Z</dc:date>
    <item>
      <title>Queued Message Handler (QMH)  and Asynchronous Message Communication (AMC) Reference Library</title>
      <link>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/828796#M91</link>
      <description>&lt;P&gt;Please post your questions, feedback, and comments on the &lt;A href="http://zone.ni.com/devzone/cda/epd/p/id/6091" target="_blank"&gt;Queue Message Handler and Asynchronous Message Communication reference library&lt;/A&gt; here.&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by Christian L on &lt;/SPAN&gt;&lt;SPAN class="local-date"&gt; 07-23-2009&lt;/SPAN&gt;&lt;SPAN class="local-time"&gt; 10:18 AM&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 23 Jul 2009 15:18:17 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/828796#M91</guid>
      <dc:creator>Christian_L</dc:creator>
      <dc:date>2009-07-23T15:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Queued Message Handler (QMH) Design Pattern and Reference Library</title>
      <link>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/856375#M115</link>
      <description>Why a Windows only package ?</description>
      <pubDate>Thu, 19 Feb 2009 14:27:03 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/856375#M115</guid>
      <dc:creator>_Chris</dc:creator>
      <dc:date>2009-02-19T14:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: Queued Message Handler (QMH) Design Pattern and Reference Library</title>
      <link>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/857321#M116</link>
      <description>&lt;P&gt;Chris,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you outline for me what it would take to publish the QMH for other platforms? I have attached an OpenG package that can be used with VIPM (at least on Windows).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to rename&amp;nbsp;the attached ZIP file to "nise_lib_qmh-1.0.7-1.ogp" as DevZone currently does not allow *.ogp files.&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by Christian L on &lt;/SPAN&gt;&lt;SPAN class="local-date"&gt; 02-20-2009&lt;/SPAN&gt;&lt;SPAN class="local-time"&gt; 10:23 AM&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 20 Feb 2009 16:23:10 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/857321#M116</guid>
      <dc:creator>Christian_L</dc:creator>
      <dc:date>2009-02-20T16:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Queued Message Handler (QMH)  and Asynchronous Message Communication (AMC) Reference Library</title>
      <link>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/953470#M240</link>
      <description>&amp;nbsp;Please post download for Labview Version 8.2 also.</description>
      <pubDate>Tue, 28 Jul 2009 14:51:58 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/953470#M240</guid>
      <dc:creator>ssingh1</dc:creator>
      <dc:date>2009-07-28T14:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Queued Message Handler (QMH)  and Asynchronous Message Communication (AMC) Reference Library</title>
      <link>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/953858#M244</link>
      <description>&lt;P&gt;Attached are the VIs saved back to LabVIEW 8.0. There will be some broken VIs when you first open the examples and library VIs as the code released on DevZone does use some newer features in LabVIEW which did not exist&amp;nbsp;in LV 8.0, but these should be pretty easy to correct.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2009 21:24:27 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/953858#M244</guid>
      <dc:creator>Christian_L</dc:creator>
      <dc:date>2009-07-28T21:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Queued Message Handler (QMH)  and Asynchronous Message Communication (AMC) Reference Library</title>
      <link>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/954013#M245</link>
      <description>&lt;P&gt;Dear &lt;SPAN class="noindex"&gt;Christian,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your quick reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will check the Vi's and let you know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Shourya &lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2009 06:00:09 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/954013#M245</guid>
      <dc:creator>ssingh1</dc:creator>
      <dc:date>2009-07-29T06:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Queued Message Handler (QMH)  and Asynchronous Message Communication (AMC) Reference Library</title>
      <link>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/954237#M247</link>
      <description>&lt;P&gt;Dear &lt;SPAN class="noindex"&gt;Christian,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;The Library is working and examples too can be correctly very easily.&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Shourya &lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2009 12:04:14 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/954237#M247</guid>
      <dc:creator>ssingh1</dc:creator>
      <dc:date>2009-07-29T12:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Queued Message Handler (QMH)  and Asynchronous Message Communication (AMC) Reference Library</title>
      <link>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/1074954#M372</link>
      <description>&lt;P&gt;The AMC Send Message and AMC Dispatcher apparently send message data by formatting to XML and parsing the resulting data via user.lib\AMC\subVIs\amc_Format XML.vi and user.lib\AMC\subVIs\amc_Parse XML.vi. It's not clear to me why the architecture makes use of XML at this level. It is true that the calling VIs don't care how this implemented--unless you are trying to send and receive characters that are normally reserved for XML, such as &amp;lt;&amp;gt; or "". Unfortunately, there does not seem to be a way to escape these special characters. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Incidentally, if you send a message that uses the special characters, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;e.g. A diagnostic message such as&lt;/P&gt;&lt;P&gt; "" is not a valid cmd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the user.lib\AMC\AMC Send Message.vi does not throw and error or warning and the Dispatcher on the other side filters out the message and you don't see an error or warning there either.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems to me that the messages should be formatted in a such a way so that any kind of data can be sent through the mechanism without regard for the formatting that is done to it. i.e. I should be able to send &lt;EM&gt;any&lt;/EM&gt; string value in one end and expect to get it verbatim on the receiving side.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Nate &lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2010 22:58:29 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/1074954#M372</guid>
      <dc:creator>wireman</dc:creator>
      <dc:date>2010-02-18T22:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Queued Message Handler (QMH)  and Asynchronous Message Communication (AMC) Reference Library</title>
      <link>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/1083901#M385</link>
      <description>&lt;P&gt;Nate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the feedback. I choose XML initially because I wanted an open protocol that could be easily implemented and supported in other programming languages. i.e. I want AMC to be able to communicate between LabVIEW and an application developed in C. I agree that it needs to do better error checking if the data contained in the message will cause a problem in the XML parsing. I will add this to the list for the next update and see if we can support any arbitary strings or binary objects. It may require the use of an alternate underlying transport protocol.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2010 16:17:43 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/1083901#M385</guid>
      <dc:creator>Christian_L</dc:creator>
      <dc:date>2010-03-04T16:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Queued Message Handler (QMH)  and Asynchronous Message Communication (AMC) Reference Library</title>
      <link>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/1084062#M386</link>
      <description>&lt;P&gt;Christian,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response. Since we do not have requirements for working with C code, we modified our AMC to use the LabVIEW flatten and unflatten. Thanks for making it for us and allowing it to be open source so that we can do this!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Nate &lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2010 18:56:15 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/1084062#M386</guid>
      <dc:creator>wireman</dc:creator>
      <dc:date>2010-03-04T18:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Queued Message Handler (QMH)  and Asynchronous Message Communication (AMC) Reference Library</title>
      <link>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/1114636#M413</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used the AMC library as suggested in the 'Reference design for Real time test' in &lt;A href="http://zone.ni.com/devzone/cda/tut/p/id/9883" target="_blank"&gt;this&lt;/A&gt; thread. The problem I am facing is that when I send a message from target to host, it takes a really long time (4-5 seconds approx) to reach the host. My time deterministic loop on target runs at around 1 ms. Hence, this performance is not acceptable at all.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this kind of performance expected with the AMC library?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aditya Changavalli&lt;/P&gt;&lt;P&gt;LabVIEW 2009&lt;/P&gt;&lt;P&gt;LV RT 9.0 &lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2010 12:00:15 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/1114636#M413</guid>
      <dc:creator>Changi</dc:creator>
      <dc:date>2010-04-20T12:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Queued Message Handler (QMH)  and Asynchronous Message Communication (AMC) Reference Library</title>
      <link>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/1114919#M414</link>
      <description>&lt;P&gt;Just to add to the above question, I did a few tests and the time taken for a message to reach the target from host is 10 ms approx while the time taken from host to target is 4500ms!! &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used the exact same VI design for both directions. Can someone please tell me why this is happening?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Aditya Changavalli&lt;/P&gt;&lt;P&gt;LabVIEW 2009&lt;/P&gt;&lt;P&gt;LV RT 9.0 &lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2010 15:35:44 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/1114919#M414</guid>
      <dc:creator>Changi</dc:creator>
      <dc:date>2010-04-20T15:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Queued Message Handler (QMH)  and Asynchronous Message Communication (AMC) Reference Library</title>
      <link>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/1114930#M415</link>
      <description>&lt;P&gt;&lt;SPAN class="noindex"&gt;Aditya,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure why it's happening. We have not seen that problem here. Have you tried using any of the sample projects to see if they exhibit the symptoms that you are seeing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Nate &lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2010 15:45:33 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/1114930#M415</guid>
      <dc:creator>wireman</dc:creator>
      <dc:date>2010-04-20T15:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Queued Message Handler (QMH)  and Asynchronous Message Communication (AMC) Reference Library</title>
      <link>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/1115473#M416</link>
      <description>&lt;P&gt;Hey Nate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for replying. I am not sure where to find the sample AMC projects. I tried to use the examples that come with the library. But, I was facing some problems since I changed the type-def of the message (just removed the message attributes) as suggested in the AMC tutorial.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Besides, I tried to send just a simple UDP message (without AMC) across from Target to Host and its received almost instantaneously. I just cannot figure out where the delay is coming from!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Aditya Changavalli &lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2010 08:22:18 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/1115473#M416</guid>
      <dc:creator>Changi</dc:creator>
      <dc:date>2010-04-21T08:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Queued Message Handler (QMH)  and Asynchronous Message Communication (AMC) Reference Library</title>
      <link>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/1115713#M418</link>
      <description>&lt;P&gt;&lt;SPAN class="noindex"&gt;Aditya,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ones I am thinking of are the Reference Applications linked from the bottom of this page:&amp;nbsp; &lt;A href="http://zone.ni.com/devzone/cda/tut/p/id/6145" target="_self"&gt;A Reference Architecture for Local Machine Control&amp;nbsp;&amp;nbsp; &lt;/A&gt;&lt;/P&gt;&lt;P&gt;in the Machine Control Architecture Content diagram. Click on the "A Simple Machine Control Example".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You will also need to download and install a bunch of the other Reference Libraries.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Nate &lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2010 14:17:08 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/1115713#M418</guid>
      <dc:creator>wireman</dc:creator>
      <dc:date>2010-04-21T14:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Queued Message Handler (QMH)  and Asynchronous Message Communication (AMC) Reference Library</title>
      <link>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/1115756#M419</link>
      <description>&lt;P&gt;Nate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have already used the reference applications 
from this page:&amp;nbsp; &lt;A href="http://zone.ni.com/devzone/cda/tut/p/id/9883" target="_blank"&gt;Reference Design for Real Time Test&lt;/A&gt;. This too had a bunch of other libraries.
 I modeled my use of AMC library exactly as given in this one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I
 did some more test and the problem seems to come from the fact that my 
host computer has two network connections, while the target has one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In
 fact, when I disable one network connection (not the one I connect to 
target), I stop getting any message from target. But when both are 
enabled, I get the same results:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using AMC dispatcher&lt;/P&gt;&lt;P&gt;1.
 Host --&amp;gt; Target : 10 ms&lt;/P&gt;&lt;P&gt;2. Target --&amp;gt; Host : 4500 ms &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using
 standard UDP VIs (open, read and close) on host&lt;/P&gt;&lt;P&gt;Target --&amp;gt; 
Host : 10 ms &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am aware that the Open UDP VI (which is 
called inside the AMC dispatcher) has an input terminal to specify the 
network address. But the results don't change whether I wire the network
 address to it or leave it unwired.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I feel the critical 
issue is the presence of multiple network connections. Any idea what is 
the dependency of the AMC library in such cases? &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2010 14:51:12 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/1115756#M419</guid>
      <dc:creator>Changi</dc:creator>
      <dc:date>2010-04-21T14:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Queued Message Handler (QMH)  and Asynchronous Message Communication (AMC) Reference Library</title>
      <link>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/1116664#M422</link>
      <description>&lt;P&gt;I used Wireshark to tap the network messages and the problem gets stranger still. Using AMC dispatcher, though I get the message from the target instantaneously, there are some "Name Query" over NBNS (NetBIOS) protocol. This causes an error "Destination Unreachable - Port unreachable" for the next 4500 ms. The AMC dispatcher does not stop executing till that time and hence does nto update the message received.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This problem is completely absent when I use UDP VIs. There are no NBNS queries and consequently no error messages. Hence, I get the message immediately.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For now, I got around the problem by disabling NetBIOS over TCP/IP in the WINS tab of advanced TCP/IP properties dialog box. I had to do this for &lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;both&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt; the network connections. Now, even AMC dispatcher gives instantaneous results.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I don't understand however is why the AMC dispatcher is sending NBNS queries to the target? I could not find anything like that in its code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Its particularly serious as I want to protect future users of my developed Real time VIs to be protected against such unpredictable behaviour. I might have to re-consider using AMC. Please help!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Aditya Changavalli&lt;/P&gt;&lt;P&gt;LabVIEW 2009&lt;/P&gt;&lt;P&gt;LV RT 9.0 &lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2010 13:40:44 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/1116664#M422</guid>
      <dc:creator>Changi</dc:creator>
      <dc:date>2010-04-22T13:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: Queued Message Handler (QMH)  and Asynchronous Message Communication (AMC) Reference Library</title>
      <link>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/1116814#M423</link>
      <description>&lt;P&gt;&lt;SPAN class="noindex"&gt;Aditya,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for digging into this more and posting your results. I have not had a chance to test and reproduce this with a low level Ethetnet monitor, but I'm pretty sure that the NetBIOS call you see is initiated by the IP to String function in amc_Dispatch Read and Process UDP Messages.vi in the Dispatcher. This function is used to convert an IP address stored as a U32 to a string, either as Dot notation or as the name of the other device. For conversion to dot notation the function should not need to go out on the network, but it seems that it does. I will look into this more.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can easily replace this function with a little LV code to do the conversion without this function and the associated network traffic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://ip1.i.lithium.com/09b5a29285b21ec9eac3bc7b22b5e3845c66de8a/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f313431373969353131413036443131303431323137432f696d6167652d73697a652f6f726967696e616c3f763d6d70626c2d312670783d2d31" border="0" alt="IP to Dot Notation.png" title="IP to Dot Notation.png" align="CENTER" /&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2010 16:03:55 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/1116814#M423</guid>
      <dc:creator>Christian_L</dc:creator>
      <dc:date>2010-04-22T16:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Queued Message Handler (QMH)  and Asynchronous Message Communication (AMC) Reference Library</title>
      <link>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/1117363#M424</link>
      <description>&lt;P&gt;Christian,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you! It solves a big mystery, but it was fun trying to figure it out. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it helps you, I have attached a screenshot of the trace monitored, along with the trace file (Wireshark format 'pcap'). &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for the AMC Library. It works like a charm &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS -&amp;nbsp; The NetBIOS problem is there in other LabVIEW palettes too, as I found out with the FTP transfer VI. But now I know why!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2010 09:16:51 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/1117363#M424</guid>
      <dc:creator>Changi</dc:creator>
      <dc:date>2010-04-23T09:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: Queued Message Handler (QMH)  and Asynchronous Message Communication (AMC) Reference Library</title>
      <link>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/1326585#M543</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to install amc on my computer, but get the message "You must install LabVIEW 8.5 or later on the system before you can run this setup". I get the same message when I try to install some of the other required files, but not for all. I guess it maybe has to do with the fact that I have 64 bits LabVIEW (2010), because it worked when I had the 32 bits version. What should I do? &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2010 09:14:18 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Queued-Message-Handler-QMH-and-Asynchronous-Message/m-p/1326585#M543</guid>
      <dc:creator>Pellerin</dc:creator>
      <dc:date>2010-12-01T09:14:18Z</dc:date>
    </item>
  </channel>
</rss>

