<?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: Replace Flat Sequence Structure? in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Replace-Flat-Sequence-Structure/m-p/3680237#M1034603</link>
    <description>&lt;P&gt;Bob, Bill. &amp;nbsp;2017 has this really nifty vim. Called delay dataflow&lt;/P&gt;</description>
    <pubDate>Thu, 24 Aug 2017 15:00:24 GMT</pubDate>
    <dc:creator>JÞB</dc:creator>
    <dc:date>2017-08-24T15:00:24Z</dc:date>
    <item>
      <title>Replace Flat Sequence Structure?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Replace-Flat-Sequence-Structure/m-p/3679932#M1034505</link>
      <description>&lt;P&gt;I have made a program that uses a flat sequence to complete 20 steps 10 output and 10 input, now the program is just a monitoring build which has an array for each o/p so I am able to select what I measure for each point. I was after some advice on the best way to build a multiplexer or something along that line to replace the flat sequence.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any advice is appreciated&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2017 04:16:40 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Replace-Flat-Sequence-Structure/m-p/3679932#M1034505</guid>
      <dc:creator>MichaelAUS</dc:creator>
      <dc:date>2017-08-24T04:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Flat Sequence Structure?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Replace-Flat-Sequence-Structure/m-p/3679935#M1034506</link>
      <description>&lt;P&gt;Search the forums for "state machine".&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2017 04:25:25 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Replace-Flat-Sequence-Structure/m-p/3679935#M1034506</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2017-08-24T04:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Flat Sequence Structure?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Replace-Flat-Sequence-Structure/m-p/3679938#M1034508</link>
      <description>&lt;P&gt;Share the piece of code you tried so that you can get the better solution&lt;/P&gt;
&lt;P&gt;As suggested pls practice design patterns (State Machine preferably)&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2017 04:42:50 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Replace-Flat-Sequence-Structure/m-p/3679938#M1034508</guid>
      <dc:creator>PazhanivelVenkatt</dc:creator>
      <dc:date>2017-08-24T04:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Flat Sequence Structure?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Replace-Flat-Sequence-Structure/m-p/3680166#M1034581</link>
      <description>&lt;P&gt;If you are doing "multiple steps", a State Machine (which uses a loop structure, with common values placed in Shift Registers and a Case Statement selecting which step you are doing, with one of the Shift Registers usually serving as "Which Step is Next?" decision) makes sense, and also has the side benefit of taking a long strung-out Block Diagram and "stacking" it in a "natural" structure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On the other hand, some use the Sequence structure to (... pause ...) control the&amp;nbsp;&lt;U&gt;sequence&lt;/U&gt; of the VIs/functions involved. &amp;nbsp;In many cases, a better way to sequence things is to use the Principle of Data Flow, which often means&amp;nbsp;&lt;U&gt;The Error Line Is There for a Reason -- Use It&lt;/U&gt;. &amp;nbsp;Note that most NI functions have Error In and Error Out terminals, and NI Best Practices recommends that you use a 4-2-2-4 Connnector Pattern for your sub-VIs, with Error In and Error Out in the lower corners. &amp;nbsp;Functions place on the Error Line with (by the Principle of Data Flow) execute&amp;nbsp;&lt;U&gt;in the order they appear&lt;/U&gt; on the Error Line.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One of the few times that a Frame Sequence is required is if you need a 100-msec delay between one function finishing and the next one starting: &amp;nbsp;the Wait function doesn't have an Error Line, so when I need this, I either use a sub-VI I write that includes the Error Lines and a Wait inside, or use a Frame Sequence to surround the Wait and make sure "An Error Line Runs Through It". &amp;nbsp;[My apologies to those who may not catch the bad pun there ...].&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bob Schor&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2017 13:00:49 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Replace-Flat-Sequence-Structure/m-p/3680166#M1034581</guid>
      <dc:creator>Bob_Schor</dc:creator>
      <dc:date>2017-08-24T13:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Flat Sequence Structure?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Replace-Flat-Sequence-Structure/m-p/3680175#M1034584</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/95728"&gt;@Bob_Schor&lt;/a&gt; wrote:&lt;BR /&gt;&amp;lt;snip&amp;gt; &lt;BR /&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;One of the few times that a Frame Sequence is required&lt;/EM&gt;&lt;/STRONG&gt; is if you need a 100-msec delay between one function finishing and the next one starting: &amp;nbsp;the Wait function doesn't have an Error Line, so when I need this, &lt;STRONG&gt;&lt;EM&gt;I either use&lt;/EM&gt;&lt;/STRONG&gt; a sub-VI I write that includes the Error Lines and a Wait inside, or use a Frame Sequence to surround the Wait and make sure "An Error Line Runs Through It". &amp;nbsp;[My apologies to those who may not catch the bad pun there ...].&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bob Schor&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I was concentrating more on the fact that you contradicted yourself from one sentence to the next.&amp;nbsp; Apparently it &lt;EM&gt;isn't&lt;/EM&gt; required, Error Line Phoenix.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&amp;nbsp; (And my return pun is even more obscure.)&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2017 13:33:36 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Replace-Flat-Sequence-Structure/m-p/3680175#M1034584</guid>
      <dc:creator>billko</dc:creator>
      <dc:date>2017-08-24T13:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Flat Sequence Structure?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Replace-Flat-Sequence-Structure/m-p/3680215#M1034596</link>
      <description>&lt;P&gt;LabVIEW provides this really useful tool called a stacked sequence. &amp;nbsp;It's great! just take each from from your flat sequence and copy it into the stacked sequence structure.... much better than those Queued Message Handlers and State Machines. &amp;nbsp;More sustainable too!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2017 14:40:19 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Replace-Flat-Sequence-Structure/m-p/3680215#M1034596</guid>
      <dc:creator>Tim_McClung</dc:creator>
      <dc:date>2017-08-24T14:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Flat Sequence Structure?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Replace-Flat-Sequence-Structure/m-p/3680226#M1034599</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/213658"&gt;@Tim_McClung&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;LabVIEW provides this really useful tool called a stacked sequence. &amp;nbsp;It's great! just take each from from your flat sequence and copy it into the stacked sequence structure.... much better than those Queued Message Handlers and State Machines. &amp;nbsp;More sustainable too!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I hope this message was one that is intended to be a joke.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2017 14:49:27 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Replace-Flat-Sequence-Structure/m-p/3680226#M1034599</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2017-08-24T14:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Flat Sequence Structure?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Replace-Flat-Sequence-Structure/m-p/3680237#M1034603</link>
      <description>&lt;P&gt;Bob, Bill. &amp;nbsp;2017 has this really nifty vim. Called delay dataflow&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2017 15:00:24 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Replace-Flat-Sequence-Structure/m-p/3680237#M1034603</guid>
      <dc:creator>JÞB</dc:creator>
      <dc:date>2017-08-24T15:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Flat Sequence Structure?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Replace-Flat-Sequence-Structure/m-p/3680248#M1034606</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/63946"&gt;@RavensFan&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/213658"&gt;@Tim_McClung&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;LabVIEW provides this really useful tool called a stacked sequence. &amp;nbsp;It's great! just take each from from your flat sequence and copy it into the stacked sequence structure.... much better than those Queued Message Handlers and State Machines. &amp;nbsp;More sustainable too!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I hope this message was one that is intended to be a joke.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Humor often resides in ambiguity. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2017 15:16:04 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Replace-Flat-Sequence-Structure/m-p/3680248#M1034606</guid>
      <dc:creator>Tim_McClung</dc:creator>
      <dc:date>2017-08-24T15:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Flat Sequence Structure?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Replace-Flat-Sequence-Structure/m-p/3680270#M1034611</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/213658"&gt;@Tim_McClung&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/63946"&gt;@RavensFan&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/213658"&gt;@Tim_McClung&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;LabVIEW provides this really useful tool called a stacked sequence. &amp;nbsp;It's great! just take each from from your flat sequence and copy it into the stacked sequence structure.... much better than those Queued Message Handlers and State Machines. &amp;nbsp;More sustainable too!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I hope this message was one that is intended to be a joke.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Humor often resides in ambiguity. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It scared me that a new user might not have recognized the humor and would be come someone who believes a stacked sequence is a good thing.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2017 15:35:27 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Replace-Flat-Sequence-Structure/m-p/3680270#M1034611</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2017-08-24T15:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Flat Sequence Structure?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Replace-Flat-Sequence-Structure/m-p/3680307#M1034628</link>
      <description>&lt;P&gt;Valid point. &amp;nbsp;Thanks for holding the straight line and helping people learn good coding practices.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tim&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2017 16:15:47 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Replace-Flat-Sequence-Structure/m-p/3680307#M1034628</guid>
      <dc:creator>Tim_McClung</dc:creator>
      <dc:date>2017-08-24T16:15:47Z</dc:date>
    </item>
  </channel>
</rss>

