<?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: Events in classes LabVIEW 8.6 in LabVIEW</title>
    <link>https://forums.ni.com/t5/LabVIEW/Events-in-classes-LabVIEW-8-6/m-p/803082#M366299</link>
    <description>&lt;P&gt;Dear Jarrod ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is EXCATLY what i look for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Its clean, nice programming, i miss the reference to the user events and thats why its didnt work for me when i try to implement that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bravo!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;many Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Moti&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Nov 2008 08:57:21 GMT</pubDate>
    <dc:creator>M0Reng</dc:creator>
    <dc:date>2008-11-04T08:57:21Z</dc:date>
    <item>
      <title>Events in classes LabVIEW 8.6</title>
      <link>https://forums.ni.com/t5/LabVIEW/Events-in-classes-LabVIEW-8-6/m-p/802285#M365975</link>
      <description>&lt;P&gt;i have class with some member (counter of something) &lt;/P&gt;&lt;P&gt;and i want to generate a user event when this member has specific values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;currently i manage to generate the event only if i register the event of the class &lt;/P&gt;&lt;P&gt;in the Top Vi that use this class&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can i register the event inside the class itself, let say inside the initilize vi that i ave for the this class ? &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Nov 2008 18:22:47 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Events-in-classes-LabVIEW-8-6/m-p/802285#M365975</guid>
      <dc:creator>M0Reng</dc:creator>
      <dc:date>2008-11-01T18:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Events in classes LabVIEW 8.6</title>
      <link>https://forums.ni.com/t5/LabVIEW/Events-in-classes-LabVIEW-8-6/m-p/802398#M366040</link>
      <description>&lt;P&gt;any help? &lt;/P&gt;</description>
      <pubDate>Sun, 02 Nov 2008 21:06:30 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Events-in-classes-LabVIEW-8-6/m-p/802398#M366040</guid>
      <dc:creator>M0Reng</dc:creator>
      <dc:date>2008-11-02T21:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Events in classes LabVIEW 8.6</title>
      <link>https://forums.ni.com/t5/LabVIEW/Events-in-classes-LabVIEW-8-6/m-p/802419#M366047</link>
      <description>&lt;P&gt;The question is a little confusing. You can register for the event anywhere you like, but somewhere you pretty much need to have an Event Structure in a running VI waiting for that event to occur.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What should be aware of these events? Class members&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S. On second reading, it seems you might just be asking if you can register the event in a class VI, instead of having to register it in the top-level VI. If that's the case, then yes you can. Just have the Register for Events function inside the Initialize VI of your class and have it output the Event Registration Refnum corresponding to your event. &lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by Jarrod S. on &lt;/SPAN&gt;&lt;SPAN class="local-date"&gt; 11-02-2008&lt;/SPAN&gt;&lt;SPAN class="local-time"&gt; 08:48 PM&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 03 Nov 2008 02:48:24 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Events-in-classes-LabVIEW-8-6/m-p/802419#M366047</guid>
      <dc:creator>Jarrod_S.</dc:creator>
      <dc:date>2008-11-03T02:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Events in classes LabVIEW 8.6</title>
      <link>https://forums.ni.com/t5/LabVIEW/Events-in-classes-LabVIEW-8-6/m-p/802453#M366063</link>
      <description>&lt;P&gt;Dear Jarod,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;your second reading is what i need. &lt;/P&gt;&lt;P&gt;to register the event inside the inilitilize Vi and offcurse i need the event structure on the top level vi that is running.&lt;/P&gt;&lt;P&gt;but i still dont know if i do it as i should.&lt;/P&gt;&lt;P&gt;i register the event in the top level vi, and connect its event registration ref to Global Variable from the same type&lt;/P&gt;&lt;P&gt;then the 'Write member' vi of the class is using the generate event vi in order to pupulate the event to the top level vi that us running.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;its look to me not clean programming&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;do you have a vi for example ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mor&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Nov 2008 06:20:39 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Events-in-classes-LabVIEW-8-6/m-p/802453#M366063</guid>
      <dc:creator>M0Reng</dc:creator>
      <dc:date>2008-11-03T06:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Events in classes LabVIEW 8.6</title>
      <link>https://forums.ni.com/t5/LabVIEW/Events-in-classes-LabVIEW-8-6/m-p/802627#M366125</link>
      <description>Here's an example. Register the event in the Initialize VI, and close it in the Shut Down VI. Example saved in LV85.</description>
      <pubDate>Mon, 03 Nov 2008 14:32:49 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Events-in-classes-LabVIEW-8-6/m-p/802627#M366125</guid>
      <dc:creator>Jarrod_S.</dc:creator>
      <dc:date>2008-11-03T14:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Events in classes LabVIEW 8.6</title>
      <link>https://forums.ni.com/t5/LabVIEW/Events-in-classes-LabVIEW-8-6/m-p/803082#M366299</link>
      <description>&lt;P&gt;Dear Jarrod ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is EXCATLY what i look for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Its clean, nice programming, i miss the reference to the user events and thats why its didnt work for me when i try to implement that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bravo!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;many Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Moti&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Nov 2008 08:57:21 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Events-in-classes-LabVIEW-8-6/m-p/803082#M366299</guid>
      <dc:creator>M0Reng</dc:creator>
      <dc:date>2008-11-04T08:57:21Z</dc:date>
    </item>
  </channel>
</rss>

