<?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: Right Click Case Statement suggests replacing with a Stacked Sequence !!!! in BreakPoint</title>
    <link>https://forums.ni.com/t5/BreakPoint/Right-Click-Case-Statement-suggests-replacing-with-a-Stacked/m-p/729606#M5765</link>
    <description>I can see a use case, if you have a for-loop with the iteration index linked to the case selector. Such a structure can easily be replaced by a stacked case structure.&lt;BR /&gt;&lt;BR /&gt;Just because it's a bad programming technique it shouldn't be made impossible.&lt;BR /&gt;&lt;BR /&gt;Ton&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 23 Jun 2008 07:06:37 GMT</pubDate>
    <dc:creator>TCPlomp</dc:creator>
    <dc:date>2008-06-23T07:06:37Z</dc:date>
    <item>
      <title>Right Click Case Statement suggests replacing with a Stacked Sequence !!!!</title>
      <link>https://forums.ni.com/t5/BreakPoint/Right-Click-Case-Statement-suggests-replacing-with-a-Stacked/m-p/729537#M5763</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I must admit that I don't usually right click a Case Structure often with the intention of changing it to something else.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;A recent post made me look at the Case Structure to suggest how to change it into a "Disable DIagram Structure", so I figured maybe right-clicking it would offer that choice.&amp;nbsp;...&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;To my horror, the only replace choice is the most horrible of all structures!~!~!~!&amp;nbsp; the Stacked Sequence!~!&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":angry_face:"&gt;😠&lt;/span&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Maybe I should suggest to change that in the product suggestion thread.&amp;nbsp; &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Did other notice that before?&amp;nbsp; Yikes!&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":face_with_open_mouth:"&gt;😮&lt;/span&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;RayR&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="http://forums.ni.com/attachments/ni/BreakPoint/5763/1/Horror.PNG" /&gt;&lt;SPAN class="time_text"&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by JoeLabView on &lt;SPAN class="date_text"&gt;06-22-2008&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;09:22 PM&lt;/SPAN&gt;</description>
      <pubDate>Mon, 23 Jun 2008 01:22:15 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Right-Click-Case-Statement-suggests-replacing-with-a-Stacked/m-p/729537#M5763</guid>
      <dc:creator>Ray.R</dc:creator>
      <dc:date>2008-06-23T01:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: Right Click Case Statement suggests replacing with a Stacked Sequence !!!!</title>
      <link>https://forums.ni.com/t5/BreakPoint/Right-Click-Case-Statement-suggests-replacing-with-a-Stacked/m-p/729557#M5764</link>
      <description>&lt;DIV&gt;I agree there is little logical resemblance between a case structure and a stacked sequence, so I don't quite see the usefulness of this option.&amp;nbsp;I think it is very old, though, so it might have been retained for legacy reasons. Of course there is also the reverse, converting a stacked sequence to a case structure. I've never tried it but I wonder how it would handle sequence locals. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I rather&amp;nbsp;would prefer to be able to&amp;nbsp;convert between case structures and event structures, something we&amp;nbsp;cannot do.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 23 Jun 2008 03:59:30 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Right-Click-Case-Statement-suggests-replacing-with-a-Stacked/m-p/729557#M5764</guid>
      <dc:creator>altenbach</dc:creator>
      <dc:date>2008-06-23T03:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Right Click Case Statement suggests replacing with a Stacked Sequence !!!!</title>
      <link>https://forums.ni.com/t5/BreakPoint/Right-Click-Case-Statement-suggests-replacing-with-a-Stacked/m-p/729606#M5765</link>
      <description>I can see a use case, if you have a for-loop with the iteration index linked to the case selector. Such a structure can easily be replaced by a stacked case structure.&lt;BR /&gt;&lt;BR /&gt;Just because it's a bad programming technique it shouldn't be made impossible.&lt;BR /&gt;&lt;BR /&gt;Ton&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 23 Jun 2008 07:06:37 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Right-Click-Case-Statement-suggests-replacing-with-a-Stacked/m-p/729606#M5765</guid>
      <dc:creator>TCPlomp</dc:creator>
      <dc:date>2008-06-23T07:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Right Click Case Statement suggests replacing with a Stacked Sequence !!!!</title>
      <link>https://forums.ni.com/t5/BreakPoint/Right-Click-Case-Statement-suggests-replacing-with-a-Stacked/m-p/729619#M5766</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;BLOCKQUOTE&gt;
&lt;DIV&gt;
&lt;HR /&gt;
TonP wrote:&lt;BR /&gt;Such a structure can easily be replaced by a stacked case structure.&lt;BR /&gt;
&lt;HR /&gt;
&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;
&lt;DIV&gt;Really???&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;A case structure has typically multiple code alternatives wired to the &lt;STRONG&gt;same&lt;/STRONG&gt; output tunnels. This is logically incompatible with any kind of sequence and you'll get a lot of broken wires (I just tried it myself). So "easy" is probably not the right word. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 23 Jun 2008 07:33:03 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Right-Click-Case-Statement-suggests-replacing-with-a-Stacked/m-p/729619#M5766</guid>
      <dc:creator>altenbach</dc:creator>
      <dc:date>2008-06-23T07:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Right Click Case Statement suggests replacing with a Stacked Sequence !!!!</title>
      <link>https://forums.ni.com/t5/BreakPoint/Right-Click-Case-Statement-suggests-replacing-with-a-Stacked/m-p/729753#M5770</link>
      <description>&lt;DIV&gt;I agree with Altenbach which is why I was so surprised.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Even if a For Loop was used to index a Case Structure, any of the exit tunnels would have a value for each of the Cases.&amp;nbsp; So how does the Stacked Structure stacj up to that?&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&amp;nbsp; &amp;lt;pun intended&amp;gt; &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Let's assume for a minute the the magic of Labview does convert the Case Structure somehow correctly.&amp;nbsp; Personally, I try to educate others to stay away from those darn structures...&amp;nbsp; But it's offered as a selection when right clicking a Case Structure..&amp;nbsp; So who are they going to believe?&amp;nbsp; A Stacked Sequence of 3 or 4 frames (max) might be okay if coded properly.&amp;nbsp; But that is not what I constantly see.&amp;nbsp; I keep seeing nested S-S 3 to 4 layers deep with as many as 100 frames!!&amp;nbsp; &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;- sigh -&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 23 Jun 2008 11:54:43 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Right-Click-Case-Statement-suggests-replacing-with-a-Stacked/m-p/729753#M5770</guid>
      <dc:creator>Ray.R</dc:creator>
      <dc:date>2008-06-23T11:54:43Z</dc:date>
    </item>
  </channel>
</rss>

