<?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: The Boneheaded Code Thread in BreakPoint</title>
    <link>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1984309#M19136</link>
    <description>&lt;P&gt;Altenbach, you sir, are correct! I had made a copy of a U8 constant when writing the code, and didn't realize it until about 20 minutes later!&lt;/P&gt;</description>
    <pubDate>Wed, 09 May 2012 16:20:57 GMT</pubDate>
    <dc:creator>GregFreeman</dc:creator>
    <dc:date>2012-05-09T16:20:57Z</dc:date>
    <item>
      <title>The Boneheaded Code Thread</title>
      <link>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1953927#M18811</link>
      <description>&lt;P&gt;Sometimes there is a very clear cause to a problem but it is so obvious that I just don't see it. Sort of like looking all over the place for your glasses when they are on top of your head.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let's put our boneheaded mistakes in this thread. Don't give away the problem and let others report how long it took to spot the issue with a fresh pair of eyes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a large project with many classes and many queues. I spent&amp;nbsp;an hour&amp;nbsp;trying to debug an "issue" where one of my loops would keep iterating after a dequeue operation. I tried to find what was enqueuing to it by running the Desktop Execution Trace Toolkit. The strangest thing - DETT reported a single enqueue yet the loop kept initializing my device over and over again. I closed LabVIEW and rebooted. Same problem. I was just about to file a bug report (could it have to do with the large number of queues in my application?) when I spotted the problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How long does it take you to see the problem in this example which demonstrates the nature of the problem? It took me an hour - Doh! &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://ni.lithium.com/i/smilies/16x16_smiley-very-happy.gif" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt; And my application has dozens of queues so it's not like I don't know how to use them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;IMG src="http://forums.ni.com/t5/image/serverpage/image-id/72345iF2F7D6D1FD205C9C/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Doh!_BD.png" title="Doh!_BD.png" align="center" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2012 22:32:52 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1953927#M18811</guid>
      <dc:creator>SteveChandler</dc:creator>
      <dc:date>2012-04-16T22:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: The Boneheaded Code Thread</title>
      <link>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1953953#M18812</link>
      <description>&lt;P&gt;Dequeue Element should be placed inside of while loop (I mean second loop). Isn't?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2012 22:50:52 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1953953#M18812</guid>
      <dc:creator>Andrey_Dmitriev</dc:creator>
      <dc:date>2012-04-16T22:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: The Boneheaded Code Thread</title>
      <link>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1953975#M18814</link>
      <description>&lt;P&gt;&lt;img id="smileyembarrassed" class="emoticon emoticon-smileyembarrassed" src="https://ni.lithium.com/i/smilies/16x16_smiley-embarrassed.gif" alt="Smiley Embarassed" title="Smiley Embarassed" /&gt; Yup. And I'll bet it just jumped right out at you too. What's the LabVIEW word for typo?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This one got me a long time ago.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://forums.ni.com/t5/image/serverpage/image-id/72351iFC717FC9A9E8DC00/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Example_VI_BD.png" title="Example_VI_BD.png" align="center" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2012 23:03:13 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1953975#M18814</guid>
      <dc:creator>SteveChandler</dc:creator>
      <dc:date>2012-04-16T23:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: The Boneheaded Code Thread</title>
      <link>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1954185#M18817</link>
      <description>&lt;P&gt;The dequeue and the fact that you're sending "Init" instead of "Initialize" as a command string.....&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2012 06:43:57 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1954185#M18817</guid>
      <dc:creator>Intaris</dc:creator>
      <dc:date>2012-04-17T06:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: The Boneheaded Code Thread</title>
      <link>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1954339#M18818</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/1994"&gt;@Steve&lt;/a&gt; Chandler wrote:&lt;BR /&gt;
&lt;P&gt;How long does it take you to see the problem in this example which demonstrates the nature of the problem?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;15 seconds. &amp;nbsp;But knowing the problem is obvious means you look for the obvious. &amp;nbsp;I spent a large amount of time on a bug that was staring at me just recently. &amp;nbsp;I had a polymorphic VI that I removed one instance from, and LabVIEW automatically substituted another instance with the same connector pattern. &amp;nbsp;Obviously different icon, but I stared and stared at it and didn't notice. &amp;nbsp;The original VI was "Wait till this actor (loop) receives the shutdown message" and the replacement was "Send this actor the shutdowm message", which has a rather different effect. &amp;nbsp;I spent over an hour trying to track down who was sending the shutdown message to my actor before noticing.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2012 08:38:05 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1954339#M18818</guid>
      <dc:creator>drjdpowell</dc:creator>
      <dc:date>2012-04-17T08:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: The Boneheaded Code Thread</title>
      <link>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1954649#M18822</link>
      <description>I have to admit.  it took me longer to swap between full and mobile than to spot the loop invariant init.</description>
      <pubDate>Tue, 17 Apr 2012 12:59:19 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1954649#M18822</guid>
      <dc:creator>JÞB</dc:creator>
      <dc:date>2012-04-17T12:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: The Boneheaded Code Thread</title>
      <link>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1954863#M18828</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/102130"&gt;@Intaris&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;The dequeue and the fact that you're sending "Init" instead of "Initialize" as a command string.....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;How ironic. I whipped up an example to show my "loop invariant init" and the example had another.... what's the word for typo in LabVIEW... &lt;img id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://ni.lithium.com/i/smilies/16x16_smiley-frustrated.gif" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt; (Although in this case it is in fact just a typo)&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2012 14:47:13 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1954863#M18828</guid>
      <dc:creator>SteveChandler</dc:creator>
      <dc:date>2012-04-17T14:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: The Boneheaded Code Thread</title>
      <link>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1955201#M18840</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/1994"&gt;@Steve&lt;/a&gt; Chandler wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/102130"&gt;@Intaris&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;The dequeue and the fact that you're sending "Init" instead of "Initialize" as a command string.....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;How ironic. I whipped up an example to show my "loop invariant init" and the example had another.... what's the word for typo in LabVIEW... &lt;img id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://ni.lithium.com/i/smilies/16x16_smiley-frustrated.gif" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt; (Although in this case it is in fact just a typo)&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I had just assumed that was one of your space-saving strings---- go with that&lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://ni.lithium.com/i/smilies/16x16_smiley-wink.gif" alt="Smiley Wink" title="Smiley Wink" /&gt;&amp;nbsp; That's your story- stick to it&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2012 17:44:08 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1955201#M18840</guid>
      <dc:creator>JÞB</dc:creator>
      <dc:date>2012-04-17T17:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: The Boneheaded Code Thread</title>
      <link>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1955407#M18847</link>
      <description>&lt;P&gt;I wanted to come back and thatnk you for posting this.&amp;nbsp; I was a great opportunity to show around the shop!&amp;nbsp; EVERYONE now has show constant folding of wires ON, they know what the squiggly wires mean and they realize how useful that info can be.&lt;/P&gt;
&lt;P&gt;Aside- I've had those squiggly lines on for so long that I usually know which wires will squiggle as I sling them- so when I look at other code ("Hey! Jeff! What's going on with my code?")&amp;nbsp; It looks funny without the constant wires squggled.&amp;nbsp; Guess what would have saved you an hour?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2012 20:45:19 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1955407#M18847</guid>
      <dc:creator>JÞB</dc:creator>
      <dc:date>2012-04-17T20:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: The Boneheaded Code Thread</title>
      <link>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1956169#M18850</link>
      <description>&lt;P&gt;Oh boy!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A thread comparing boneheaded code developers. I think i can compete in that sandbox.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://forums.ni.com/t5/LabVIEW/Why-can-t-I-increment-a-control-at-run-time/m-p/60226#M37374" target="_self"&gt;In this thread&lt;/A&gt;, Dennis helped me figure out why* I could not increment a control at run-time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG title="shame.gif" border="0" alt="" align="center" src="http://forums.ni.com/t5/image/serverpage/image-id/54146i7CAF83AAF93745F4/image-size/original?px=-1&amp;amp;v=mpbl-1" width="60" height="36" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"I got better" since then.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ben&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;*&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;
&lt;P&gt;Yes, it was disabled.&lt;/P&gt;&lt;/LI-SPOILER&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2012 12:34:51 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1956169#M18850</guid>
      <dc:creator>Ben</dc:creator>
      <dc:date>2012-04-18T12:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: The Boneheaded Code Thread</title>
      <link>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1956337#M18851</link>
      <description>&lt;P&gt;Kudos Ben! That is the spirit I had in mind for this thread. If this were a book a good title might be "Brave Confessions of the Brain Dead Software Engineer"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let's keep 'em coming!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2012 13:58:39 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1956337#M18851</guid>
      <dc:creator>SteveChandler</dc:creator>
      <dc:date>2012-04-18T13:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: The Boneheaded Code Thread</title>
      <link>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1956829#M18859</link>
      <description>&lt;P&gt;OK I'll play too.&lt;/P&gt;
&lt;P&gt;Task: Jeff quick set up a vi to cycle a temperature chamber up and down all night with this recording device in the chamber.&amp;nbsp; We want to make sure these production prototypes do what they are supposed to do (Shut off when either too hot or too cold).&amp;nbsp; You have 30 Minutes to set up.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a simplified recreation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG title="BH.png" border="0" alt="BH.png" align="center" src="http://forums.ni.com/t5/image/serverpage/image-id/72573i5F568B3FA1C05543/image-size/original?v=mpbl-1&amp;amp;px=-1" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;We learned the plastic melts at 137C 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;LI-SPOILER&gt;The AND is bad!!! shouldn't that be an OR?&lt;/LI-SPOILER&gt;I've since learned how to use In Range And Coerce&lt;/LI-SPOILER&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI-SPOILER&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2012 18:20:53 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1956829#M18859</guid>
      <dc:creator>JÞB</dc:creator>
      <dc:date>2012-04-18T18:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: The Boneheaded Code Thread</title>
      <link>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1957077#M18864</link>
      <description>&lt;P&gt;I must have had a hundred bugs that were due to me reversing the True and False cases, or using Less Than when I should have used Greater Than. &amp;nbsp;Almost seems like I do it wrong more than 50% of the time.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2012 21:16:13 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1957077#M18864</guid>
      <dc:creator>drjdpowell</dc:creator>
      <dc:date>2012-04-18T21:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: The Boneheaded Code Thread</title>
      <link>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1958229#M18879</link>
      <description>&lt;P&gt;Yeah, I've been there Jeff.&amp;nbsp; My recent boneheaded mistake was checking to see if an element want found in an array (Search 1D Array) and set the comparison to &amp;gt;0.&amp;nbsp; It took me awhile before I realized that it's &amp;gt;=0.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2012 15:05:04 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1958229#M18879</guid>
      <dc:creator>crossrulz</dc:creator>
      <dc:date>2012-04-19T15:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: The Boneheaded Code Thread</title>
      <link>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1958465#M18880</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/66277"&gt;@drjdpowell&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;I must have had a hundred bugs that were due to me reversing the True and False cases, or using Less Than when I should have used Greater Than. &amp;nbsp;Almost seems like I do it wrong more than 50% of the time.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;They're like USB connectors.&amp;nbsp; 50% chance of getting it in the right way the first time, and 80% of the time you get it wrong.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2012 16:56:51 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1958465#M18880</guid>
      <dc:creator>SnowMule</dc:creator>
      <dc:date>2012-04-19T16:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: The Boneheaded Code Thread</title>
      <link>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1958545#M18881</link>
      <description>&lt;P&gt;Odd...I find that if I have a 50% chance of getting it right, I have a 100% chance of getting it wrong.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SnowMule is either smarter or luckier than I am.&amp;nbsp; &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://ni.lithium.com/i/smilies/16x16_smiley-very-happy.gif" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2012 17:36:40 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1958545#M18881</guid>
      <dc:creator>DianeS</dc:creator>
      <dc:date>2012-04-19T17:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: The Boneheaded Code Thread</title>
      <link>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1959727#M18887</link>
      <description>&lt;P&gt;Also, you're not subtracting the step from the previous value, but the previous value from the step? This means on the first attempt to reverse direction you end up with a negative temperature (once you fix the boolean logic error)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://forums.ni.com/t5/image/serverpage/image-id/72807iC3AFE8AB6AED9420/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="subtract.jpg" title="subtract.jpg" align="middle" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2012 13:46:38 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1959727#M18887</guid>
      <dc:creator>Thoric</dc:creator>
      <dc:date>2012-04-20T13:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: The Boneheaded Code Thread</title>
      <link>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1959783#M18889</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/108818"&gt;@Thoric&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Also, you're not subtracting the step from the previous value, but the previous value from the step? This means on the first attempt to reverse direction you end up with a negative temperature (once you fix the boolean logic error)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://forums.ni.com/t5/image/serverpage/image-id/72807iC3AFE8AB6AED9420/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="subtract.jpg" title="subtract.jpg" align="middle" /&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;go figure! recreate a bonehead mistake and make another! &lt;img id="smileyembarrassed" class="emoticon emoticon-smileyembarrassed" src="https://ni.lithium.com/i/smilies/16x16_smiley-embarrassed.gif" alt="Smiley Embarassed" title="Smiley Embarassed" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2012 14:08:28 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1959783#M18889</guid>
      <dc:creator>JÞB</dc:creator>
      <dc:date>2012-04-20T14:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: The Boneheaded Code Thread</title>
      <link>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1984243#M19134</link>
      <description>&lt;P&gt;In benckmarking code, why the @#$@#$!#$!#$!#$!#$!#$ &lt;STRIKE&gt;won't my two sums come out the same&lt;/STRIKE&gt;&amp;nbsp;do my two sums SOMETIMES come out the same:headbang:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://forums.ni.com/ni/attachments/ni/BreakPoint/19134/1/benchmarkoops.png" border="0" alt="" title="" align="center" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2012 16:04:07 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1984243#M19134</guid>
      <dc:creator>GregFreeman</dc:creator>
      <dc:date>2012-05-09T16:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: The Boneheaded Code Thread</title>
      <link>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1984299#M19135</link>
      <description>&lt;P&gt;Just looking at the picture, they will be the same if you have fewer than 256 matches. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2012 16:14:50 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/BreakPoint/The-Boneheaded-Code-Thread/m-p/1984299#M19135</guid>
      <dc:creator>altenbach</dc:creator>
      <dc:date>2012-05-09T16:14:50Z</dc:date>
    </item>
  </channel>
</rss>

