<?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: Binary Conversion 16bit to 8bit in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195263#M925886</link>
    <description>&lt;P&gt;I think your right, thanks for the help. The split number function should work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just one other thing, is there a function to convert a decimal into a signed 16-bit integer?&lt;/P&gt;</description>
    <pubDate>Wed, 23 Sep 2015 09:06:04 GMT</pubDate>
    <dc:creator>sout23</dc:creator>
    <dc:date>2015-09-23T09:06:04Z</dc:date>
    <item>
      <title>Binary Conversion 16bit to 8bit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195207#M925867</link>
      <description>&lt;P&gt;Im having a little trouble making a labview VI for this process, where var1send and var2send are signed 16-bit integers&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;int8_t var1low = var1send &amp;amp; 0xff;&lt;BR /&gt; int8_t var1high = (var1send &amp;gt;&amp;gt; 8); &lt;BR /&gt; int8_t var2low = var2send &amp;amp; 0xff;&lt;BR /&gt; int8_t var2high = (var2send &amp;gt;&amp;gt; 8);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help would be awesome!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 06:45:49 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195207#M925867</guid>
      <dc:creator>sout23</dc:creator>
      <dc:date>2015-09-23T06:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Binary Conversion 16bit to 8bit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195212#M925869</link>
      <description>&lt;P&gt;Hi sout,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;does the "split number" VI do that for you? It splits a 16 bit number into two 8 bit numbers. You can find it under Programming &amp;gt;&amp;gt; Numeric &amp;gt;&amp;gt; Data Manipulation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 07:17:39 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195212#M925869</guid>
      <dc:creator>PeterFoerster</dc:creator>
      <dc:date>2015-09-23T07:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Binary Conversion 16bit to 8bit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195217#M925870</link>
      <description>First, there's an issue with problem definition. You say the inputs are 16 bit but they are being anded with an 8 bit value. If the point is to isolate the least significant byte, just do that by splitting the 16 bit number. &lt;BR /&gt;&lt;BR /&gt;Next you are shifting the original input by 8 bits (which will still result in a 16 bit value) and you are trying to assign it to an 8 bit value.&lt;BR /&gt;&lt;BR /&gt;Frankly, it looks like the intent might be to assign the low byte of the input to the low byte of the output, and the high byte of the input to the high byte of the output. Or if the outputs are 4, 8 bit values all you need to do is split the input integer.&lt;BR /&gt;&lt;BR /&gt;What is it exactly that you are trying to do?&lt;BR /&gt;&lt;BR /&gt;Mike...</description>
      <pubDate>Wed, 23 Sep 2015 07:32:29 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195217#M925870</guid>
      <dc:creator>mikeporter</dc:creator>
      <dc:date>2015-09-23T07:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Binary Conversion 16bit to 8bit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195263#M925886</link>
      <description>&lt;P&gt;I think your right, thanks for the help. The split number function should work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just one other thing, is there a function to convert a decimal into a signed 16-bit integer?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 09:06:04 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195263#M925886</guid>
      <dc:creator>sout23</dc:creator>
      <dc:date>2015-09-23T09:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: Binary Conversion 16bit to 8bit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195270#M925890</link>
      <description>&lt;P&gt;Yes, there is.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BTW, there also is a ton of tutorials available online that help you with these things:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.ni.com/white-paper/5243/en/" target="_blank" rel="nofollow"&gt;3 Hour Introduction&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.ni.com/white-paper/5241/en/" target="_blank" rel="nofollow"&gt;6 Hour Introduction&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.ni.com/gettingstarted/labviewbasics/" target="_blank" rel="nofollow"&gt;LabVEW Basics&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.ni.com/academic/students/learn/" target="_blank" rel="nofollow"&gt;Self Paced training for students&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The Function you're looking for is called "To Word Integer"&lt;/P&gt;
&lt;P&gt;&lt;A href="http://sine.ni.com/myni/self-paced-training/app/main.xhtml" target="_blank" rel="nofollow"&gt;Self Paced training beginner to advanced, SSP Required&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://labviewwiki.org/LabVIEW_tutorial#External_Links" target="_blank" rel="nofollow"&gt;LabVIEW Wiki on Training&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.learnni.com/" target="_blank" rel="nofollow"&gt;Learning NI&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.ni.com/getting-started/" target="_blank" rel="nofollow"&gt;Getting Started with NI Products&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 09:18:42 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195270#M925890</guid>
      <dc:creator>PeterFoerster</dc:creator>
      <dc:date>2015-09-23T09:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Binary Conversion 16bit to 8bit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195278#M925894</link>
      <description>&lt;P&gt;Sorry my mistake, i meant to say from a decimal to binary 16bit signed&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 09:38:40 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195278#M925894</guid>
      <dc:creator>sout23</dc:creator>
      <dc:date>2015-09-23T09:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Binary Conversion 16bit to 8bit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195286#M925897</link>
      <description>&lt;P&gt;Do you mean a boolean array of the Value? And number to boolean doesn't work?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 09:52:28 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195286#M925897</guid>
      <dc:creator>PeterFoerster</dc:creator>
      <dc:date>2015-09-23T09:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Binary Conversion 16bit to 8bit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195289#M925899</link>
      <description>&lt;P&gt;Everything i try, doesnt seem to work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Basically, I can't seem to figure out how to convert a signed 16 bit decimal number into a signed 16bit binary number and then split that&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 10:01:10 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195289#M925899</guid>
      <dc:creator>sout23</dc:creator>
      <dc:date>2015-09-23T10:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Binary Conversion 16bit to 8bit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195293#M925901</link>
      <description>&lt;P&gt;Decimal and Binary just two representations of the same number. Right click on the Element &amp;gt;&amp;gt; Visible Items &amp;gt;&amp;gt; Radix; then click on the radix and select.&lt;/P&gt;
&lt;P&gt;Splitting should work as described above.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you still have questions, please include an example, as it's hard to guess what does work, when we don't know what you already tried.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 10:16:37 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195293#M925901</guid>
      <dc:creator>PeterFoerster</dc:creator>
      <dc:date>2015-09-23T10:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: Binary Conversion 16bit to 8bit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195299#M925903</link>
      <description>&lt;P&gt;Ok, so this is basically what I want, i dont want to enter the number in as a binary number. Ive tried to use format into string to convert to binary, but I am not able to split the string into 2 seperate 8-bit bytes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not sure what other functions i can use to convert from decimal to binary except not in a string.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://ip1.i.lithium.com/6b81a20180573b1e82dd038e3dc3b290317cfb5e/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f31373236323769443330384646364530383633313738302f696d6167652d73697a652f6f726967696e616c3f763d6d70626c2d312670783d2d31" border="0" alt="binary split.PNG" title="binary split.PNG" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 10:41:44 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195299#M925903</guid>
      <dc:creator>sout23</dc:creator>
      <dc:date>2015-09-23T10:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Binary Conversion 16bit to 8bit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195300#M925904</link>
      <description>&lt;P&gt;So, I assume, what I wrote earlier didn't work? Because it works on my end. See attached VI&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 10:53:52 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195300#M925904</guid>
      <dc:creator>PeterFoerster</dc:creator>
      <dc:date>2015-09-23T10:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Binary Conversion 16bit to 8bit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195307#M925907</link>
      <description>&lt;P&gt;I can't seem to open this VI, it says my labVIEW isnt 2015 or something. Could you post a picture instead?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 11:17:08 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195307#M925907</guid>
      <dc:creator>sout23</dc:creator>
      <dc:date>2015-09-23T11:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Binary Conversion 16bit to 8bit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195310#M925908</link>
      <description>&lt;P&gt;&lt;IMG src="https://ip1.i.lithium.com/882ef515e1e8b2a40398fa17ea4323c8dde804c9/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f31373236323869354546334236453139303731383345322f696d6167652d73697a652f6f726967696e616c3f763d6d70626c2d312670783d2d31" border="0" alt="binary.PNG" title="binary.PNG" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 11:49:54 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195310#M925908</guid>
      <dc:creator>PeterFoerster</dc:creator>
      <dc:date>2015-09-23T11:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Binary Conversion 16bit to 8bit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195313#M925910</link>
      <description>&lt;P&gt;Yes that is what i am looking for and that does work. But this is for a user interface. So i want the user to enter a decimal value, rather then a binary value. But i need to convert it to a binary to execute the function you have attatched&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 11:55:16 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195313#M925910</guid>
      <dc:creator>sout23</dc:creator>
      <dc:date>2015-09-23T11:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Binary Conversion 16bit to 8bit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195324#M925915</link>
      <description>&lt;P&gt;Then change the display mode of the control to decimal instead of binary!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 12:09:16 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195324#M925915</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2015-09-23T12:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Binary Conversion 16bit to 8bit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195332#M925920</link>
      <description>&lt;P&gt;woops, of course. thanks for everyones help!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 12:32:17 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195332#M925920</guid>
      <dc:creator>sout23</dc:creator>
      <dc:date>2015-09-23T12:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Binary Conversion 16bit to 8bit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195365#M925931</link>
      <description>&lt;P&gt;So many kudos were given that day...&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 13:42:32 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Binary-Conversion-16bit-to-8bit/m-p/3195365#M925931</guid>
      <dc:creator>PeterFoerster</dc:creator>
      <dc:date>2015-09-23T13:42:32Z</dc:date>
    </item>
  </channel>
</rss>

