<?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: gray out switch in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3206728#M930268</link>
    <description>&lt;P&gt;hi drek,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;FONT color="#FF0000"&gt;Gerd says its a labv7 problem&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only problem is: LabVIEW7 doesn't use an enum for this property. In this ancient version simple integers were used.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: left; padding-left: 30px;"&gt;&lt;FONT color="#FF0000"&gt;i quess dont know, need do look for anonther solution&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;No, you don't need another solution. You only need to create the correct value and wire it to the property node.&lt;/P&gt;
&lt;P&gt;Again: &lt;STRONG&gt;read the context help&lt;/STRONG&gt; for this property node to know which value you need to use!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What's your problem in reading the help?&lt;/P&gt;</description>
    <pubDate>Wed, 21 Oct 2015 13:56:21 GMT</pubDate>
    <dc:creator>GerdW</dc:creator>
    <dc:date>2015-10-21T13:56:21Z</dc:date>
    <item>
      <title>gray out switch</title>
      <link>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3205866#M929894</link>
      <description>&lt;P&gt;Dear,&lt;/P&gt;
&lt;P&gt;Does any know how to do it , when i use the switch the led should stay on and the switch should be grayed out&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2015 07:34:23 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3205866#M929894</guid>
      <dc:creator>drek123</dc:creator>
      <dc:date>2015-10-20T07:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: gray out switch</title>
      <link>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3205874#M929899</link>
      <description>&lt;P&gt;That VI is simple..... TOO simple.&lt;/P&gt;
&lt;P&gt;You require a loop in the code (don't forget a time delay!). And you have to learn about properties of controls.&lt;/P&gt;
&lt;P&gt;Did you walk through the online training material for LV or attend a class at NI? If not, please do so!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks,&lt;BR /&gt;Norbert&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2015 07:44:25 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3205874#M929899</guid>
      <dc:creator>Norbert_B</dc:creator>
      <dc:date>2015-10-20T07:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: gray out switch</title>
      <link>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3205877#M929901</link>
      <description>&lt;P&gt;i know about the property nodes but but once someone hits the switch the switch should be grayed out and the led should stay on,&lt;/P&gt;
&lt;P&gt;so i dont know why i should use a timed loop&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2015 07:49:55 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3205877#M929901</guid>
      <dc:creator>drek123</dc:creator>
      <dc:date>2015-10-20T07:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: gray out switch</title>
      <link>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3205880#M929904</link>
      <description>&lt;P&gt;Hi drek,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;FONT color="#FF0000"&gt;but once someone hits the switch the switch should be grayed out and the led should stay on&lt;/FONT&gt;&lt;/P&gt;
&lt;PRE&gt;IF button THEN
  GrayOut(button)
  LED:=TRUE
ENDIF&lt;/PRE&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;FONT color="#FF0000"&gt;so i dont know why i should use a timed loop&lt;/FONT&gt;&lt;/P&gt;
&lt;DIV&gt;No, you need to use a loop. The timing is just needed to not hog your CPU… &lt;/DIV&gt;</description>
      <pubDate>Tue, 20 Oct 2015 07:51:56 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3205880#M929904</guid>
      <dc:creator>GerdW</dc:creator>
      <dc:date>2015-10-20T07:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: gray out switch</title>
      <link>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3205882#M929906</link>
      <description>&lt;P&gt;Next thing to consider:&lt;/P&gt;
&lt;P&gt;If the button is grayed out, it cannot be used anymore by the user. You should add code to re-enable the button and another code to stop the VI.&lt;/P&gt;
&lt;P&gt;DO NOT USE RUN CONTINUOUSLY!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Norbert&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2015 07:59:31 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3205882#M929906</guid>
      <dc:creator>Norbert_B</dc:creator>
      <dc:date>2015-10-20T07:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: gray out switch</title>
      <link>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3205883#M929907</link>
      <description>&lt;P&gt;it is just what i wanna do, gray out the switch so the user cant use the switch no more until end of program&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2015 08:03:41 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3205883#M929907</guid>
      <dc:creator>drek123</dc:creator>
      <dc:date>2015-10-20T08:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: gray out switch</title>
      <link>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3205970#M929942</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is this application for? Good practice would be to use the Queue Handler project. It’s a steep learning curve but it’s well worth it. This way you can make use of the event handling loop to reframe from constantly polling and to easily implement your grey out. If you don't want to go down that path here is an image of a way to perform this task using a case structure and shift registers. I highly recommend you look into the examples.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2015 12:07:30 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3205970#M929942</guid>
      <dc:creator>T._P_Titherington</dc:creator>
      <dc:date>2015-10-20T12:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: gray out switch</title>
      <link>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3206025#M929974</link>
      <description>&lt;P&gt;i know how to make the property node Disabled but not how to make the bleu Disabled and grayed out function&lt;/P&gt;
&lt;P&gt;thx very much already&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2015 13:06:02 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3206025#M929974</guid>
      <dc:creator>drek123</dc:creator>
      <dc:date>2015-10-20T13:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: gray out switch</title>
      <link>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3206037#M929978</link>
      <description>&lt;P&gt;Hi drek,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;how do you create a constant in LabVIEW?&lt;/P&gt;
&lt;P&gt;Usually you right-click an input and Create-&amp;gt; constant…&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pretty basic LabVIEW stuff: did you take the free beginner courses?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2015 13:12:39 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3206037#M929978</guid>
      <dc:creator>GerdW</dc:creator>
      <dc:date>2015-10-20T13:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: gray out switch</title>
      <link>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3206044#M929980</link>
      <description>&lt;P&gt;You mention enum constant i guess&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2015 13:16:27 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3206044#M929980</guid>
      <dc:creator>drek123</dc:creator>
      <dc:date>2015-10-20T13:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: gray out switch</title>
      <link>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3206102#M930012</link>
      <description>&lt;P&gt;that circle at the selector what kind of function is that ? at pin s&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2015 14:20:55 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3206102#M930012</guid>
      <dc:creator>drek123</dc:creator>
      <dc:date>2015-10-20T14:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: gray out switch</title>
      <link>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3206105#M930014</link>
      <description>&lt;P&gt;Pin S? You are talking about the '?' from the Select function?&lt;/P&gt;
&lt;P&gt;I think you are talking about "First Call".....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Norbert&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2015 14:23:19 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3206105#M930014</guid>
      <dc:creator>Norbert_B</dc:creator>
      <dc:date>2015-10-20T14:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: gray out switch</title>
      <link>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3206510#M930182</link>
      <description>&lt;P&gt;dont fibd the first call function in labv7&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 06:30:03 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3206510#M930182</guid>
      <dc:creator>drek123</dc:creator>
      <dc:date>2015-10-21T06:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: gray out switch</title>
      <link>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3206522#M930188</link>
      <description>&lt;P&gt;found it sry&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 07:05:57 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3206522#M930188</guid>
      <dc:creator>drek123</dc:creator>
      <dc:date>2015-10-21T07:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: gray out switch</title>
      <link>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3206535#M930190</link>
      <description>&lt;P&gt;made this , but the switch wont gray out&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 07:23:50 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3206535#M930190</guid>
      <dc:creator>drek123</dc:creator>
      <dc:date>2015-10-21T07:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: gray out switch</title>
      <link>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3206540#M930192</link>
      <description>&lt;P&gt;Hi drek,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I repeat my &lt;A href="https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3206037#M929978" target="_self"&gt;message #9&lt;/A&gt;: constants are created by right-clicking an input and selecting Create-&amp;gt;Constant.&lt;/P&gt;
&lt;P&gt;(Do you read our comments? Do you understand them? Did you take the free online courses to learn LabVIEW basics?)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Creating an enum on your own with just one entry will be senseless, when LabVIEW expects something different here!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 07:31:18 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3206540#M930192</guid>
      <dc:creator>GerdW</dc:creator>
      <dc:date>2015-10-21T07:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: gray out switch</title>
      <link>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3206544#M930193</link>
      <description>&lt;P&gt;sry Gerd have to learn much , like this than, but does not work stays always on 0&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 07:33:57 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3206544#M930193</guid>
      <dc:creator>drek123</dc:creator>
      <dc:date>2015-10-21T07:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: gray out switch</title>
      <link>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3206557#M930198</link>
      <description>&lt;P&gt;Hi Drek,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;repeating again&lt;/FONT&gt;&lt;/STRONG&gt;: create the constant by right-clicking the property node input. &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;RIGHT-CLICK! CONTEXT MENU!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you insist on creating an constant on your own you should read the context help of the property node to create the correct constant…&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 08:06:49 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3206557#M930198</guid>
      <dc:creator>GerdW</dc:creator>
      <dc:date>2015-10-21T08:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: gray out switch</title>
      <link>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3206569#M930202</link>
      <description>&lt;P&gt;i know how to create a constant but dont know what you are saying &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; sry have to learn&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 08:23:23 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3206569#M930202</guid>
      <dc:creator>drek123</dc:creator>
      <dc:date>2015-10-21T08:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: gray out switch</title>
      <link>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3206581#M930207</link>
      <description>&lt;P&gt;Hi drek,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;how did you create this constant "0"? My LV2011 shows a coercion dot for that property node input…&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you read the context help as suggested before? Do you know what happens when you write a zero into this property?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;FONT color="#FF0000"&gt;sry have to learn&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Reading the (context) help might be a good starting point…&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 08:43:49 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/gray-out-switch/m-p/3206581#M930207</guid>
      <dc:creator>GerdW</dc:creator>
      <dc:date>2015-10-21T08:43:49Z</dc:date>
    </item>
  </channel>
</rss>

