<?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 Rif.: Boolean Value Signaling not generating Event in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Boolean-Value-Signaling-not-generating-Event/m-p/4129896#M1189618</link>
    <description>&lt;P&gt;Hi gowthameie,&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/241528"&gt;@gowthameie&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;1.Value Property does not trigger any event in UI&lt;/P&gt;
&lt;P&gt;2.Value (Signal) Property triggering event but its unhandled event&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;OL&gt;
&lt;LI&gt;This is expected behaviour!&lt;/LI&gt;
&lt;LI&gt;Because of the 10ms wait in your event handler loop!&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Please read the LabVIEW help on event structure, especially the Caveats section…&lt;/P&gt;</description>
    <pubDate>Mon, 22 Feb 2021 09:24:07 GMT</pubDate>
    <dc:creator>GerdW</dc:creator>
    <dc:date>2021-02-22T09:24:07Z</dc:date>
    <item>
      <title>Boolean Value Signaling not generating Event</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Boolean-Value-Signaling-not-generating-Event/m-p/4129866#M1189599</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Value and Value Signal Event Triggering.png" style="width: 728px;"&gt;&lt;img src="https://ip1.i.lithium.com/2e934e19181fb6822db49ad4609927945e779e26/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f32383232323669314130453838383042353045344142442f696d6167652d73697a652f6c617267653f763d76322670783d393939" role="button" title="Value and Value Signal Event Triggering.png" alt="Value and Value Signal Event Triggering.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I Just want to Trigger " Indicator value Change Event" that corresponds output to be shared to Target RT VI through Network Shared Variable&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;While Using &lt;STRONG&gt;Indicator Property Node Value (Signal)&lt;/STRONG&gt;, An &lt;EM&gt;event inspector window shows unhandled events in event queue. The Value is shared to Network shared variable.&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="inherit"&gt;At the same time if i change &lt;/FONT&gt;&lt;STRONG style="font-family: inherit;"&gt;Indicator property node as Value&lt;/STRONG&gt;&lt;FONT face="inherit"&gt; , The Event is Not &lt;/FONT&gt;triggered&lt;FONT face="inherit"&gt;&amp;nbsp;in UI Event &lt;/FONT&gt;structure&lt;FONT face="inherit"&gt;.&lt;EM&gt; The Value is not shared to Network shared variable.&lt;/EM&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;How to achieve "Indicator Value Change Event " without unhandled events in UI event structure&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 06:21:16 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Boolean-Value-Signaling-not-generating-Event/m-p/4129866#M1189599</guid>
      <dc:creator>gowthameie</dc:creator>
      <dc:date>2021-02-22T06:21:16Z</dc:date>
    </item>
    <item>
      <title>Rif.: Boolean Value Signaling not generating Event</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Boolean-Value-Signaling-not-generating-Event/m-p/4129881#M1189607</link>
      <description>&lt;P&gt;Are you sure that there are unhandled events? For me it works.&lt;/P&gt;
&lt;P&gt;Events appear only briefly in the topmost line of the unhandled events list and immediately disappear. They never pile up.&lt;/P&gt;
&lt;P&gt;I don't see why it would not work. Unless writing the shared variable is &lt;SPAN class="gramcat"&gt;&lt;SPAN class="sense"&gt;&lt;SPAN class="tran"&gt;unbearably&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; slow.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 08:18:41 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Boolean-Value-Signaling-not-generating-Event/m-p/4129881#M1189607</guid>
      <dc:creator>pincpanter</dc:creator>
      <dc:date>2021-02-22T08:18:41Z</dc:date>
    </item>
    <item>
      <title>Rif.: Boolean Value Signaling not generating Event</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Boolean-Value-Signaling-not-generating-Event/m-p/4129890#M1189615</link>
      <description>&lt;P&gt;Kindly check Video&lt;/P&gt;
&lt;P&gt;1.Value Property does not trigger any event in UI&lt;/P&gt;
&lt;P&gt;2.Value (Signal) Property triggering event but its unhandled event&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 08:54:40 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Boolean-Value-Signaling-not-generating-Event/m-p/4129890#M1189615</guid>
      <dc:creator>gowthameie</dc:creator>
      <dc:date>2021-02-22T08:54:40Z</dc:date>
    </item>
    <item>
      <title>Rif.: Boolean Value Signaling not generating Event</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Boolean-Value-Signaling-not-generating-Event/m-p/4129896#M1189618</link>
      <description>&lt;P&gt;Hi gowthameie,&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/241528"&gt;@gowthameie&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;1.Value Property does not trigger any event in UI&lt;/P&gt;
&lt;P&gt;2.Value (Signal) Property triggering event but its unhandled event&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;OL&gt;
&lt;LI&gt;This is expected behaviour!&lt;/LI&gt;
&lt;LI&gt;Because of the 10ms wait in your event handler loop!&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Please read the LabVIEW help on event structure, especially the Caveats section…&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 09:24:07 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Boolean-Value-Signaling-not-generating-Event/m-p/4129896#M1189618</guid>
      <dc:creator>GerdW</dc:creator>
      <dc:date>2021-02-22T09:24:07Z</dc:date>
    </item>
    <item>
      <title>Rif.: Boolean Value Signaling not generating Event</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Boolean-Value-Signaling-not-generating-Event/m-p/4129904#M1189623</link>
      <description>&lt;P&gt;There is a small latency, more in the display of the Event Inspector Window than in the event management itself, I believe. But eventually all events are handled in a short time.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 09:59:09 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Boolean-Value-Signaling-not-generating-Event/m-p/4129904#M1189623</guid>
      <dc:creator>pincpanter</dc:creator>
      <dc:date>2021-02-22T09:59:09Z</dc:date>
    </item>
    <item>
      <title>Rif.: Boolean Value Signaling not generating Event</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Boolean-Value-Signaling-not-generating-Event/m-p/4129914#M1189627</link>
      <description>&lt;P&gt;Check the following modified version of your vi, in which I grab the times (from the millisecond timer) of both event generation and management.&lt;/P&gt;
&lt;P&gt;You will see that most of the times, they differ by only one ms. I removed your 10 ms wait because it's useless, however it doesn't change much.&lt;/P&gt;
&lt;P&gt;Also:&lt;/P&gt;
&lt;P&gt;- I set the Stop button as Latch when released, which is the best choice&lt;/P&gt;
&lt;P&gt;- it's misleading to call indicator what is actually a Control (although cosmetically similar to an indicator)&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 10:23:26 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Boolean-Value-Signaling-not-generating-Event/m-p/4129914#M1189627</guid>
      <dc:creator>pincpanter</dc:creator>
      <dc:date>2021-02-22T10:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Boolean Value Signaling not generating Event</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Boolean-Value-Signaling-not-generating-Event/m-p/4129999#M1189657</link>
      <description>&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/241528"&gt;@gowthameie&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I Just want to Trigger " Indicator value Change Event" that corresponds output to be shared to Target RT VI through Network Shared Variable&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this is all you "just" want do do, I don't understand your extremely convoluted approach.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Your code should function. Not sure why you have problems.&lt;/LI&gt;
&lt;LI&gt;It is very questionable to use a control as indicator. You can do exactly the same while leaving it an indicator and grabbing the value from the newval event data node.&lt;/LI&gt;
&lt;LI&gt;Whys is there a 10ms wait in the event loop?&lt;/LI&gt;
&lt;LI&gt;Why is there an unused timeout event?&lt;/LI&gt;
&lt;LI&gt;Why is the stop button the wrong mechanical action?&lt;/LI&gt;
&lt;LI&gt;Since you only write to the front panel in the stop event, only the LED resets, while the shared variable remains in an undetermined last state. Seems dangerous!&lt;/LI&gt;
&lt;LI&gt;Events are primarily for user interaction, not for programmatic control. Especially if you are spinning a loop at the right rate already. You have the "tail wagging the dog".&lt;/LI&gt;
&lt;LI&gt;If you want to update the indicator and shared variable every 100ms, all you need to do is the following:&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="altenbach_0-1614012400804.png" style="width: 999px;"&gt;&lt;img src="https://ip1.i.lithium.com/e69a4ffe0d1f4888a2cb3d6edcee6366de73617a/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f32383232333869453636313431323031323731383931392f696d6167652d73697a652f6c617267653f763d76322670783d393939" role="button" title="altenbach_0-1614012400804.png" alt="altenbach_0-1614012400804.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 16:58:07 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Boolean-Value-Signaling-not-generating-Event/m-p/4129999#M1189657</guid>
      <dc:creator>altenbach</dc:creator>
      <dc:date>2021-02-22T16:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Boolean Value Signaling not generating Event</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Boolean-Value-Signaling-not-generating-Event/m-p/4130225#M1189726</link>
      <description>&lt;P&gt;Let me explain my actual application&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;I want to monitor Digital Inputs (Low oil Level, Any fault status) (True/False)&amp;nbsp; for every 100 msec. (Similar to second loop operation what i simulated)&lt;/LI&gt;
&lt;LI&gt;Based on the Value of Digital Input status, Digital Output should be activated from my UI Event Structure (Similar to First loop operation).&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;(i.e) if Oil Level is Low , software should give notification to operator through Red lamp ON.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to achieve this?&lt;/P&gt;
&lt;P&gt;Give a proper architecture.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 12:10:41 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Boolean-Value-Signaling-not-generating-Event/m-p/4130225#M1189726</guid>
      <dc:creator>gowthameie</dc:creator>
      <dc:date>2021-02-23T12:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Boolean Value Signaling not generating Event</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Boolean-Value-Signaling-not-generating-Event/m-p/4130234#M1189728</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/241528"&gt;@gowthameie&lt;/a&gt;&amp;nbsp;wrote:
&lt;P&gt;&lt;STRONG&gt;(i.e) if Oil Level is Low , software should give notification to operator through Red lamp ON.&lt;/STRONG&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Use Altenbach's setup.&amp;nbsp; You just have the look monitor the level, do the comparison, and wire the output to the indicator.&amp;nbsp; No need for an Event Structure here.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 13:11:37 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Boolean-Value-Signaling-not-generating-Event/m-p/4130234#M1189728</guid>
      <dc:creator>crossrulz</dc:creator>
      <dc:date>2021-02-23T13:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Boolean Value Signaling not generating Event</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Boolean-Value-Signaling-not-generating-Event/m-p/4130660#M1189907</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/241528"&gt;@gowthameie&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Let me explain my actual application&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;I want to monitor Digital Inputs (Low oil Level, Any fault status) (True/False)&amp;nbsp; for every 100 msec. (Similar to second loop operation what i simulated)&lt;/LI&gt;
&lt;LI&gt;Based on the Value of Digital Input status, Digital Output should be activated from my UI Event Structure (Similar to First loop operation).&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;(i.e) if Oil Level is Low , software should give notification to operator through Red lamp ON.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to achieve this?&lt;/P&gt;
&lt;P&gt;Give a proper architecture.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You are spinning the loop anyway. As I said, events are primarily for user interactions and in your original code, the user could even click the LED and trigger an out of band event that could potentially interfere with proper operation or lead to dangerous conditions (i.e. low oil without indication!). Also note that a low oil level is probably a much rarer and more random occurrence. That shared variable update should be inside a case structure that only activates when the boolean actually changes (Note that I am avoiding the term "event" to keep you from falsely gravitating to the event structure again!). You can use a feedback node to compare current and previous.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 17:17:39 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Boolean-Value-Signaling-not-generating-Event/m-p/4130660#M1189907</guid>
      <dc:creator>altenbach</dc:creator>
      <dc:date>2021-02-24T17:17:39Z</dc:date>
    </item>
  </channel>
</rss>

