<?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: Parallel Loops and Event Structure in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Parallel-Loops-and-Event-Structure/m-p/1547882#M572307</link>
    <description>&lt;P&gt;So is the only reason of placing the control in the corresponding event case to reset the control? &amp;nbsp;We don't really need to read the value from control directly from the control, since ther terminal of the event structure would give me the value of the control, correct?&lt;/P&gt;</description>
    <pubDate>Thu, 05 May 2011 02:25:58 GMT</pubDate>
    <dc:creator>jyang72211</dc:creator>
    <dc:date>2011-05-05T02:25:58Z</dc:date>
    <item>
      <title>Parallel Loops and Event Structure</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Parallel-Loops-and-Event-Structure/m-p/1547864#M572304</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is attached a valid way of using the event structure? &amp;nbsp;I always hear that the event case should contain the control of the event. &amp;nbsp;Can the control be placed else where? &amp;nbsp;For example, if I have 2 loops, I placed an event structure in the 1st loop and the control associated with the event in the 2nd loop, would there be any potential problem? &amp;nbsp;Is it true that regardless where a boolean with a value change is read, the value chagne in the event structure will be fired? &amp;nbsp;See attached.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2011 01:54:04 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Parallel-Loops-and-Event-Structure/m-p/1547864#M572304</guid>
      <dc:creator>jyang72211</dc:creator>
      <dc:date>2011-05-05T01:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Loops and Event Structure</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Parallel-Loops-and-Event-Structure/m-p/1547870#M572306</link>
      <description>&lt;P&gt;That screenshot you posted should work just fine for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The main reason you hear that the event case should contain the control for the event is so that the control gets read, and for latching booleans, gets reset when the event case executes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here since the parallel while loop is executing (assuming nothing else in the loops causes the loop to get blocked), the stop button will get read and reset.&amp;nbsp; The value change event will still be fired in the upper event structure loop.&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2011 02:04:47 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Parallel-Loops-and-Event-Structure/m-p/1547870#M572306</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2011-05-05T02:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Loops and Event Structure</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Parallel-Loops-and-Event-Structure/m-p/1547882#M572307</link>
      <description>&lt;P&gt;So is the only reason of placing the control in the corresponding event case to reset the control? &amp;nbsp;We don't really need to read the value from control directly from the control, since ther terminal of the event structure would give me the value of the control, correct?&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2011 02:25:58 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Parallel-Loops-and-Event-Structure/m-p/1547882#M572307</guid>
      <dc:creator>jyang72211</dc:creator>
      <dc:date>2011-05-05T02:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Loops and Event Structure</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Parallel-Loops-and-Event-Structure/m-p/1547924#M572312</link>
      <description>&lt;P&gt;Correct.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can either read the terminal in the event case, read the New Value node inside the event case, or in the case here where you just care that the boolean changed because you can pretty much assume the stop button was false to begin with, you aren't reading the boolean value at all in the event structure and are just relying on the fact the event case was fired.&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2011 04:04:09 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Parallel-Loops-and-Event-Structure/m-p/1547924#M572312</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2011-05-05T04:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Loops and Event Structure</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Parallel-Loops-and-Event-Structure/m-p/1547942#M572315</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/124604"&gt;@jyang72211&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;So is the only reason of placing the control in the corresponding event case to reset the control? &amp;nbsp;We don't really need to read the value from control directly from the control, since ther terminal of the event structure would give me the value of the control, correct?&lt;/P&gt;
&lt;HR /&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That, and it makes it easy to find if you in general place controls in their event cases.&lt;/P&gt;
&lt;P&gt;/Y&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2011 05:31:31 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Parallel-Loops-and-Event-Structure/m-p/1547942#M572315</guid>
      <dc:creator>Yamaeda</dc:creator>
      <dc:date>2011-05-05T05:31:31Z</dc:date>
    </item>
  </channel>
</rss>

