<?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: programmatically disabling a front panel button in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/programmatically-disabling-a-front-panel-button/m-p/3791457#M1069587</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/408998"&gt;@CLAD_in_training&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;This question is similar to the one above. I have an application that has 10 tabs with roughly 10 buttons on each tab. What I am trying to do is disable buttons, tabs, or vi application when another test is being performed. Is there a way other than creating a property node and disabling for every button?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Also, Look at subdividing&amp;nbsp;your task into separate&amp;nbsp;vi's I am sure that those tabs are likely better implemented&amp;nbsp;as &lt;A href="https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019OX6SAM" target="_self"&gt;different VI's in Sub Panels&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 10 May 2018 13:03:02 GMT</pubDate>
    <dc:creator>ATE-EGNE</dc:creator>
    <dc:date>2018-05-10T13:03:02Z</dc:date>
    <item>
      <title>programmatically disabling a front panel button</title>
      <link>https://ni.lithium.com/t5/LabVIEW/programmatically-disabling-a-front-panel-button/m-p/587993#M275025</link>
      <description>&lt;DIV&gt;I am new user and am using LB 8.5.&amp;nbsp; I have two buttons on my front panel that I want to disable and prevent the user from changing during certain situations, but I also need the output of the button to remain in the same status until the situation has been cleared - if the first button boolean output is one, and the second is zero, the user must not be able to change either one until the output of the external device has dropped to zero.&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I am not familiar enough with loops,&amp;nbsp;so if necessary, please point me to the proper example/tutorial.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Sat, 29 Sep 2007 19:28:51 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/programmatically-disabling-a-front-panel-button/m-p/587993#M275025</guid>
      <dc:creator>metzler</dc:creator>
      <dc:date>2007-09-29T19:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: programmatically disabling a front panel button</title>
      <link>https://ni.lithium.com/t5/LabVIEW/programmatically-disabling-a-front-panel-button/m-p/587994#M275026</link>
      <description>&lt;DIV&gt;You can disable a button by writing to a property node called disabled.&lt;/DIV&gt;
&lt;DIV&gt;1.&amp;nbsp; Find the terminal for the button in your block diagram.&amp;nbsp; Right click, select Create/Property Node/ and then disabled. Drop onto block diagram.&lt;/DIV&gt;
&lt;DIV&gt;2.&amp;nbsp; If necessary, right click that and select "Change to Write".&lt;/DIV&gt;
&lt;DIV&gt;3.&amp;nbsp;&amp;nbsp; Wire in a constant depending on what you want to do.&amp;nbsp; 0 is Enabled, 1 is Disabled, 2 is Disabled and Greyed out.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Sat, 29 Sep 2007 20:04:11 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/programmatically-disabling-a-front-panel-button/m-p/587994#M275026</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2007-09-29T20:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: programmatically disabling a front panel button</title>
      <link>https://ni.lithium.com/t5/LabVIEW/programmatically-disabling-a-front-panel-button/m-p/588694#M275345</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;I cannot get the property node to work.&amp;nbsp; I keep getting an error that says I cannot connect boolean to an unsigned integer, and conversions don't seem to work.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;If I could figure out how, I would post part of my vi to give everyone an idea of what is going on.&amp;nbsp; Can you tell me&amp;nbsp;how to post my vi?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 01 Oct 2007 19:48:55 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/programmatically-disabling-a-front-panel-button/m-p/588694#M275345</guid>
      <dc:creator>metzler</dc:creator>
      <dc:date>2007-10-01T19:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: programmatically disabling a front panel button</title>
      <link>https://ni.lithium.com/t5/LabVIEW/programmatically-disabling-a-front-panel-button/m-p/588697#M275348</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;You can post your VI by clicking on the browse button at the bottom of the reply window and select the VI you want to post.&amp;nbsp; If your VI is too big or complicated, make a small version of the VI of just the part that is giving you a problem.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;By the error you describe, it sounds like you are wiring the boolean button to the disabled property node??????&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Attached is a simple VI that shows what you are asking to do.&lt;/DIV&gt;&lt;P&gt;Message Edited by Ravens Fan on &lt;SPAN class="date_text"&gt;10-01-2007&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;03:55 PM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Oct 2007 19:54:33 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/programmatically-disabling-a-front-panel-button/m-p/588697#M275348</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2007-10-01T19:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: programmatically disabling a front panel button</title>
      <link>https://ni.lithium.com/t5/LabVIEW/programmatically-disabling-a-front-panel-button/m-p/589013#M275470</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;thank you, that works well&lt;/P&gt;</description>
      <pubDate>Tue, 02 Oct 2007 11:51:12 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/programmatically-disabling-a-front-panel-button/m-p/589013#M275470</guid>
      <dc:creator>metzler</dc:creator>
      <dc:date>2007-10-02T11:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: programmatically disabling a front panel button</title>
      <link>https://ni.lithium.com/t5/LabVIEW/programmatically-disabling-a-front-panel-button/m-p/841343#M381904</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;just wondering how did u create the borders around the label ? In my program, there is no border around the text when i click to set the label visible. &lt;/P&gt;&lt;P&gt;Btw, i am referring to the untitled 4.vi prog. thank u.&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by rdtttttttttttttt on &lt;/SPAN&gt;&lt;SPAN class="local-date"&gt; 01-26-2009&lt;/SPAN&gt;&lt;SPAN class="local-time"&gt; 08:22 AM&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 26 Jan 2009 14:22:26 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/programmatically-disabling-a-front-panel-button/m-p/841343#M381904</guid>
      <dc:creator>rdtttttttttttttt</dc:creator>
      <dc:date>2009-01-26T14:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: programmatically disabling a front panel button</title>
      <link>https://ni.lithium.com/t5/LabVIEW/programmatically-disabling-a-front-panel-button/m-p/841365#M381915</link>
      <description>&lt;P&gt;Which version of LabVIEW are you using.&amp;nbsp; In LV 8.2 (which is the version for that VI), the labels came up with the boxes around them by default.&amp;nbsp; If you look under Tools, Options, New and Changed for LabVIEW 8.x,&amp;nbsp; there is an option called transparent label names.&amp;nbsp; If that is checked, then the box doesn't appear.&amp;nbsp; If it is unchecked, the box does appear.&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forums.ni.com/ni/attachments/ni/170/381915/2/Options.png" border="0" /&gt;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by Ravens Fan on &lt;/SPAN&gt;&lt;SPAN class="local-date"&gt; 01-26-2009&lt;/SPAN&gt;&lt;SPAN class="local-time"&gt; 09:38 AM&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 26 Jan 2009 14:38:43 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/programmatically-disabling-a-front-panel-button/m-p/841365#M381915</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2009-01-26T14:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: programmatically disabling a front panel button</title>
      <link>https://ni.lithium.com/t5/LabVIEW/programmatically-disabling-a-front-panel-button/m-p/841456#M381956</link>
      <description>thanks a lot for ur prompt reply. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Mon, 26 Jan 2009 16:09:59 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/programmatically-disabling-a-front-panel-button/m-p/841456#M381956</guid>
      <dc:creator>rdtttttttttttttt</dc:creator>
      <dc:date>2009-01-26T16:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: programmatically disabling a front panel button</title>
      <link>https://ni.lithium.com/t5/LabVIEW/programmatically-disabling-a-front-panel-button/m-p/3791077#M1069456</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;This question is similar to the one above. I have an application that has 10 tabs with roughly 10 buttons on each tab. What I am trying to do is disable buttons, tabs, or vi application when another test is being performed. Is there a way other than creating a property node and disabling for every button?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 14:33:12 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/programmatically-disabling-a-front-panel-button/m-p/3791077#M1069456</guid>
      <dc:creator>CLAD_in_training</dc:creator>
      <dc:date>2018-05-09T14:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: programmatically disabling a front panel button</title>
      <link>https://ni.lithium.com/t5/LabVIEW/programmatically-disabling-a-front-panel-button/m-p/3791100#M1069463</link>
      <description>&lt;P&gt;(I recommend starting a new thread instead of adding to an ancient discussion that is already marked as solved.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/408998"&gt;@CLAD_in_training&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This question is similar to the one above. I have an application that has 10 tabs with roughly 10 buttons on each tab. What I am trying to do is disable buttons, tabs, or vi application when another test is being performed. Is there a way other than creating a property node and disabling for every button?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I don't know what you mean by disabling a "VI application".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are many solutions. For example&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;if you disable a certain tab, all controls on it will automatically be disabled.&lt;/LI&gt;
&lt;LI&gt;Create an array of references for the controls that go together and use a FOR loop and a single property node to iterate over the references and disable/enable them.&lt;/LI&gt;
&lt;LI&gt;Group related controls into (invisible if needed) cluster containers and disable the clusters according the the current needs.&lt;/LI&gt;
&lt;LI&gt;...&lt;/LI&gt;
&lt;LI&gt;Don't do too much FP micromanagement and simply ignore certain button actions if the time is not right for them.&lt;/LI&gt;
&lt;LI&gt;...&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 15:02:26 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/programmatically-disabling-a-front-panel-button/m-p/3791100#M1069463</guid>
      <dc:creator>altenbach</dc:creator>
      <dc:date>2018-05-09T15:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: programmatically disabling a front panel button</title>
      <link>https://ni.lithium.com/t5/LabVIEW/programmatically-disabling-a-front-panel-button/m-p/3791457#M1069587</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/408998"&gt;@CLAD_in_training&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;This question is similar to the one above. I have an application that has 10 tabs with roughly 10 buttons on each tab. What I am trying to do is disable buttons, tabs, or vi application when another test is being performed. Is there a way other than creating a property node and disabling for every button?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Also, Look at subdividing&amp;nbsp;your task into separate&amp;nbsp;vi's I am sure that those tabs are likely better implemented&amp;nbsp;as &lt;A href="https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019OX6SAM" target="_self"&gt;different VI's in Sub Panels&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2018 13:03:02 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/programmatically-disabling-a-front-panel-button/m-p/3791457#M1069587</guid>
      <dc:creator>ATE-EGNE</dc:creator>
      <dc:date>2018-05-10T13:03:02Z</dc:date>
    </item>
  </channel>
</rss>

