<?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 User interface actions stopping program execution? in LabWindows/CVI</title>
    <link>https://ni.lithium.com/t5/LabWindows-CVI/User-interface-actions-stopping-program-execution/m-p/4714#M331</link>
    <description>Hi,&lt;BR /&gt;     I have an application that is continuously collecting real time data.&lt;BR /&gt; It is&lt;BR /&gt;currently designed with an event loop.  When the user activates a button,&lt;BR /&gt;&lt;BR /&gt;or uses a pull down menu, the program stops running until the menu is&lt;BR /&gt;no longer open.  Is there a way of getting the event loop to continue until&lt;BR /&gt;the user has committed an action on the window?  Or do I need to have&lt;BR /&gt;my event loop run in a seperate thread?  Will changing everything over to&lt;BR /&gt;callbacks solve my problem?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Mike &lt;BR /&gt;</description>
    <pubDate>Wed, 26 Jul 2000 20:12:31 GMT</pubDate>
    <dc:creator>Mike Levine</dc:creator>
    <dc:date>2000-07-26T20:12:31Z</dc:date>
    <item>
      <title>User interface actions stopping program execution?</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/User-interface-actions-stopping-program-execution/m-p/4714#M331</link>
      <description>Hi,&lt;BR /&gt;     I have an application that is continuously collecting real time data.&lt;BR /&gt; It is&lt;BR /&gt;currently designed with an event loop.  When the user activates a button,&lt;BR /&gt;&lt;BR /&gt;or uses a pull down menu, the program stops running until the menu is&lt;BR /&gt;no longer open.  Is there a way of getting the event loop to continue until&lt;BR /&gt;the user has committed an action on the window?  Or do I need to have&lt;BR /&gt;my event loop run in a seperate thread?  Will changing everything over to&lt;BR /&gt;callbacks solve my problem?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Mike &lt;BR /&gt;</description>
      <pubDate>Wed, 26 Jul 2000 20:12:31 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/User-interface-actions-stopping-program-execution/m-p/4714#M331</guid>
      <dc:creator>Mike Levine</dc:creator>
      <dc:date>2000-07-26T20:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: User interface actions stopping program execution?</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/User-interface-actions-stopping-program-execution/m-p/4715#M332</link>
      <description>I'm not sure if this will help in an event loop, but there is a system setting&lt;BR /&gt;that may affect this.  You can try:&lt;BR /&gt;&lt;BR /&gt;  SetSystemAttribute (ATTR_ALLOW_UNSAFE_TIMER_EVENTS, 1);&lt;BR /&gt;&lt;BR /&gt;This will supposedly allow timer callbacks (post event as well?) to occur&lt;BR /&gt;when windows are moved or resized or the system menu is open (I haven't tried&lt;BR /&gt;it myself).  Again, not sure if this will make any difference when using&lt;BR /&gt;event loops....&lt;BR /&gt;&lt;BR /&gt;Chris&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;"Mike Levine" &lt;MIKE&gt; wrote:&lt;BR /&gt;&amp;gt;&amp;gt;Hi,&amp;gt;     I have an application that is continuously collecting real time&lt;BR /&gt;data.&amp;gt; It is&amp;gt;currently designed with an event loop.  When the user activates&lt;BR /&gt;a button,&amp;gt;&amp;gt;or uses a pull down menu, the program stops running until the&lt;BR /&gt;menu is&amp;gt;no longer open.  Is there a way of getting the event loop to continue&lt;BR /&gt;until&amp;gt;th&lt;BR /&gt;e user has committed an action on the window?  Or do I need to have&amp;gt;my&lt;BR /&gt;event loop run in a seperate thread?  Will changing everything over to&amp;gt;callbacks&lt;BR /&gt;solve my problem?&amp;gt;&amp;gt;Thanks,&amp;gt;Mike &lt;BR /&gt;&lt;/MIKE&gt;</description>
      <pubDate>Wed, 09 Aug 2000 23:01:56 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/User-interface-actions-stopping-program-execution/m-p/4715#M332</guid>
      <dc:creator>Chris Savage</dc:creator>
      <dc:date>2000-08-09T23:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: User interface actions stopping program execution?</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/User-interface-actions-stopping-program-execution/m-p/4716#M333</link>
      <description>Changing to the Callback method using a timer with the Interval set to 0&lt;BR /&gt;seconds would probably solve the probelm, going to a multithreaded&lt;BR /&gt;architecture would be the next step after that.&lt;BR /&gt;&lt;BR /&gt;Euros &lt;BR /&gt;</description>
      <pubDate>Tue, 05 Sep 2000 22:52:00 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/User-interface-actions-stopping-program-execution/m-p/4716#M333</guid>
      <dc:creator>Euros</dc:creator>
      <dc:date>2000-09-05T22:52:00Z</dc:date>
    </item>
  </channel>
</rss>

