<?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: declare labview data word in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/declare-labview-data-word/m-p/2051964#M668986</link>
    <description>&lt;P&gt;Hi huikim,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; what you are trying to achieve is,you are entering a word into a string control and after running the VI you have to display it in an indicator.Is it??&lt;/P&gt;</description>
    <pubDate>Mon, 02 Jul 2012 08:32:55 GMT</pubDate>
    <dc:creator>danil33</dc:creator>
    <dc:date>2012-07-02T08:32:55Z</dc:date>
    <item>
      <title>declare labview data word</title>
      <link>https://ni.lithium.com/t5/LabVIEW/declare-labview-data-word/m-p/2051962#M668985</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;I am a new user on labview. Previously a PLC programmer.&lt;/P&gt;
&lt;P&gt;I wish to know or is there a sample program for the steps below.&lt;/P&gt;
&lt;P&gt;1) declare a local word variable&lt;/P&gt;
&lt;P&gt;2) use (read &amp;amp; write)&amp;nbsp;individual bit from the word for programming&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;adrian&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2012 08:28:51 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/declare-labview-data-word/m-p/2051962#M668985</guid>
      <dc:creator>huikim</dc:creator>
      <dc:date>2012-07-02T08:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: declare labview data word</title>
      <link>https://ni.lithium.com/t5/LabVIEW/declare-labview-data-word/m-p/2051964#M668986</link>
      <description>&lt;P&gt;Hi huikim,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; what you are trying to achieve is,you are entering a word into a string control and after running the VI you have to display it in an indicator.Is it??&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2012 08:32:55 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/declare-labview-data-word/m-p/2051964#M668986</guid>
      <dc:creator>danil33</dc:creator>
      <dc:date>2012-07-02T08:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: declare labview data word</title>
      <link>https://ni.lithium.com/t5/LabVIEW/declare-labview-data-word/m-p/2051988#M668992</link>
      <description>&lt;P&gt;hi danil33,&lt;/P&gt;
&lt;P&gt;would like to individually change the bit status of a word variable.&lt;/P&gt;
&lt;P&gt;example, first i need to create&amp;nbsp;a word variable. The i want to change the bit3 of the word from 0 to 1. i.e. 1 word =8bits i.e. bit7, bit 6,.... bit1, bit0.&lt;/P&gt;
&lt;P&gt;How can i create the local word &amp;amp; change the status of the bit?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2012 08:55:26 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/declare-labview-data-word/m-p/2051988#M668992</guid>
      <dc:creator>huikim</dc:creator>
      <dc:date>2012-07-02T08:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: declare labview data word</title>
      <link>https://ni.lithium.com/t5/LabVIEW/declare-labview-data-word/m-p/2052000#M668994</link>
      <description>&lt;P&gt;Hi huikim,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; From your explanation I think you are trying to achieve this.If not please tell.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2012 09:06:53 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/declare-labview-data-word/m-p/2052000#M668994</guid>
      <dc:creator>danil33</dc:creator>
      <dc:date>2012-07-02T09:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: declare labview data word</title>
      <link>https://ni.lithium.com/t5/LabVIEW/declare-labview-data-word/m-p/2052020#M668999</link>
      <description>&lt;P&gt;Hi Danil33,&lt;/P&gt;
&lt;P&gt;It's not what i actually wanted but thanks for the support anyway. i'll try to figure it out first.&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2012 09:20:24 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/declare-labview-data-word/m-p/2052020#M668999</guid>
      <dc:creator>huikim</dc:creator>
      <dc:date>2012-07-02T09:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: declare labview data word</title>
      <link>https://ni.lithium.com/t5/LabVIEW/declare-labview-data-word/m-p/2052288#M669050</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/232172"&gt;@huikim&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;I am a new user on labview. Previously a PLC programmer.&lt;/P&gt;
&lt;P&gt;I wish to know or is there a sample program for the steps below.&lt;/P&gt;
&lt;P&gt;1) declare a local word variable&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;There are no variables in LabVIEW. While you can create "local variables", they are a misnomer. They are actually more like shadow copies of front panel controls/indicators. You can create constants. Perhaps this is what you are looking for.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;2) use (read &amp;amp; write)&amp;nbsp;individual bit from the word for programming&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Boolean functions can be used to do this. They can operate on integers just as well as Booleans. For example, if you have an integer datatype, like an I8 (8-bit integer). You can find out if the 3rd bit is set by simply ANDing it with the value of 4 and seeing if the result is greater than zero (if you want a Boolean yes/no). &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To set a bit you'd OR with the appropriate mask (i.e., a mask that has only a 1 at the position you want to set and everything else a 0).&lt;/P&gt;
&lt;P&gt;To clear a bit you'd AND with the appropriate mask (i.e., a mask that has a 0 at the position you want to clear and everything else a 1).&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2012 13:28:30 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/declare-labview-data-word/m-p/2052288#M669050</guid>
      <dc:creator>smercurio_fc</dc:creator>
      <dc:date>2012-07-02T13:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: declare labview data word</title>
      <link>https://ni.lithium.com/t5/LabVIEW/declare-labview-data-word/m-p/2054790#M669469</link>
      <description>&lt;P&gt;Thanks for the information, &lt;A id="link_12" class="lia-link-navigation lia-page-link lia-user-name-link" style="color: #666666;" href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/33243" target="_self"&gt;&lt;SPAN class="login-bold"&gt;smercurio_fc&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also thought of this method &amp;amp; will try to play around with LabView.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One more request. Do you have the instruction list for LabView. List each instruction/module with details desciption &amp;amp; function?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jul 2012 05:46:08 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/declare-labview-data-word/m-p/2054790#M669469</guid>
      <dc:creator>huikim</dc:creator>
      <dc:date>2012-07-04T05:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: declare labview data word</title>
      <link>https://ni.lithium.com/t5/LabVIEW/declare-labview-data-word/m-p/2054850#M669484</link>
      <description>&lt;P&gt;Hi huikim,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;there's the great context help, also available as &lt;A href="http://zone.ni.com/reference/en-XX/help/371361H-01/" target="_self"&gt;online help&lt;/A&gt;...&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jul 2012 07:36:31 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/declare-labview-data-word/m-p/2054850#M669484</guid>
      <dc:creator>GerdW</dc:creator>
      <dc:date>2012-07-04T07:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: declare labview data word</title>
      <link>https://ni.lithium.com/t5/LabVIEW/declare-labview-data-word/m-p/2055194#M669541</link>
      <description>&lt;P&gt;Since it sounds like you are very new to LabVIEW, you might want to look at some of the &lt;A href="http://www.ni.com/academic/students/learnlabview/" target="_blank"&gt;online tutorials&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jul 2012 13:48:19 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/declare-labview-data-word/m-p/2055194#M669541</guid>
      <dc:creator>crossrulz</dc:creator>
      <dc:date>2012-07-04T13:48:19Z</dc:date>
    </item>
  </channel>
</rss>

