<?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: Continuous event queue ? in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Continuous-event-queue/m-p/413854#M204635</link>
    <description>I have never used events in 6.1 but assuming they function the same as they do in later versions, the events are queued continuously.&lt;BR /&gt;&lt;BR /&gt;You event structure should be in a loop, and the event triggers will be queued as they arrive.&lt;BR /&gt;&lt;BR /&gt;If you want to prove it out, create an event structure in a loop that fires when you click a button on the front panel.&amp;nbsp; Have a counter count each time the event is fired, and have a few second delay in the loop.&amp;nbsp; If you keep clicking that button faster than the delay in the loop, you won't see anything happen immediately, but the event counter you created will eventually match the number of times you pressed the button.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 08 Sep 2006 13:32:26 GMT</pubDate>
    <dc:creator>Will.D</dc:creator>
    <dc:date>2006-09-08T13:32:26Z</dc:date>
    <item>
      <title>Continuous event queue ?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Continuous-event-queue/m-p/413834#M204629</link>
      <description>&lt;DIV&gt;Hi, &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I'm using LV6.1 and &amp;nbsp;I got a little problem with events. How do I make a continuous event queue for activex component, that means LV will respond every time when mentioned event fires instead of it responds just once. Does anyone have an example ?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks in advance!&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 08 Sep 2006 13:01:17 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Continuous-event-queue/m-p/413834#M204629</guid>
      <dc:creator>supermango</dc:creator>
      <dc:date>2006-09-08T13:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: Continuous event queue ?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Continuous-event-queue/m-p/413854#M204635</link>
      <description>I have never used events in 6.1 but assuming they function the same as they do in later versions, the events are queued continuously.&lt;BR /&gt;&lt;BR /&gt;You event structure should be in a loop, and the event triggers will be queued as they arrive.&lt;BR /&gt;&lt;BR /&gt;If you want to prove it out, create an event structure in a loop that fires when you click a button on the front panel.&amp;nbsp; Have a counter count each time the event is fired, and have a few second delay in the loop.&amp;nbsp; If you keep clicking that button faster than the delay in the loop, you won't see anything happen immediately, but the event counter you created will eventually match the number of times you pressed the button.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 08 Sep 2006 13:32:26 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Continuous-event-queue/m-p/413854#M204635</guid>
      <dc:creator>Will.D</dc:creator>
      <dc:date>2006-09-08T13:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Continuous event queue ?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Continuous-event-queue/m-p/413872#M204639</link>
      <description>Hello Supermango,&lt;BR /&gt;&lt;BR /&gt;do you unregister for the activeX event inside the VI that reacts on the event? in that case you will loose the funictionality you wnat. Could you show some code?&lt;BR /&gt;&lt;BR /&gt;Ton&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 08 Sep 2006 14:29:39 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Continuous-event-queue/m-p/413872#M204639</guid>
      <dc:creator>TCPlomp</dc:creator>
      <dc:date>2006-09-08T14:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Continuous event queue ?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Continuous-event-queue/m-p/415610#M205342</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;I apologize that I do not have an answer to your question. But it seems like I have a similar issue.&amp;nbsp; I have 2 while loops and would like to have one event run continuously when another event is fired.&amp;nbsp; I'd appreciate any advise. (See attached vi)&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;KM&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2006 19:11:27 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Continuous-event-queue/m-p/415610#M205342</guid>
      <dc:creator>km76107</dc:creator>
      <dc:date>2006-09-13T19:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Continuous event queue ?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Continuous-event-queue/m-p/415635#M205353</link>
      <description>KM,&lt;BR /&gt;&lt;BR /&gt;I dont think you need an event structure at all.... Here, check this out. Is this along the lines of what you were looking for?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 13 Sep 2006 19:58:19 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Continuous-event-queue/m-p/415635#M205353</guid>
      <dc:creator>MJBrehm</dc:creator>
      <dc:date>2006-09-13T19:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Continuous event queue ?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Continuous-event-queue/m-p/415651#M205360</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;It seems silly to even use two loops:&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;IMG src="http://forums.ni.com/attachments/ni/170/205360/1/UpdateB.png" /&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;If you require two loops and want to use an event structure (maybe the rest of the code requires it), you can manipulate the event timeout, e.g. as follows.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;IMG src="http://forums.ni.com/attachments/ni/170/205360/2/updateB_2.png" /&gt;&lt;/DIV&gt;&lt;P&gt;Message Edited by altenbach on &lt;SPAN class="date_text"&gt;09-13-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;01:45 PM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2006 20:44:27 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Continuous-event-queue/m-p/415651#M205360</guid>
      <dc:creator>altenbach</dc:creator>
      <dc:date>2006-09-13T20:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: Continuous event queue ?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Continuous-event-queue/m-p/415952#M205487</link>
      <description>&lt;DIV&gt;Hi altenbach and brehm:&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;THanks for the prompt response and the VIs.&amp;nbsp; You are right... it really seems silly to use 2 while loops.&amp;nbsp;&amp;nbsp; Maybe there is a better way of doing what I am currently doing.&amp;nbsp; I am trying to modify the "New Event Handler" example that ships with LV.&amp;nbsp; I am creating an Intrusion Detection System.&amp;nbsp;&amp;nbsp; My program has three basic functions:&amp;nbsp; Acquire data continously via TCP/IP, analyze data (which includes multiple operations on demand such as different types of data analysis, image analyses and graphing) and display/archive data (which includes multiple operations on demand such as different display formats).&amp;nbsp;I am new to Event Structures and I thought that using events might be the best option to optimize CPU speed and memory.&amp;nbsp;&amp;nbsp; Any suggestions/advise on improvements?&amp;nbsp; Thanks again.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;KM&lt;/DIV&gt;</description>
      <pubDate>Thu, 14 Sep 2006 14:13:34 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Continuous-event-queue/m-p/415952#M205487</guid>
      <dc:creator>km76107</dc:creator>
      <dc:date>2006-09-14T14:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Continuous event queue ?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Continuous-event-queue/m-p/416058#M205534</link>
      <description>&lt;P&gt;km,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Take a look &lt;A href="https://www.ni.com/docs/en-US/bundle/labview/page/caveats-and-recommendations-when-using-events-in-labview.html" target="_blank" rel="noopener"&gt;here.&lt;/A&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;-Nathan&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 11 Jun 2025 15:22:54 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Continuous-event-queue/m-p/416058#M205534</guid>
      <dc:creator>NathanT</dc:creator>
      <dc:date>2025-06-11T15:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Continuous event queue ?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Continuous-event-queue/m-p/431015#M211625</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Altenbach,&lt;/P&gt;
&lt;P&gt;I am using your example as my reference. Instead of sending the value of A to B in the same VI, i am&amp;nbsp;calling a subVI and continuously sending the value of A to that subVi when&amp;nbsp; the OK button is pressed (see attached code).&amp;nbsp; I am not sure why the code isn't working.&amp;nbsp; Also, I notice that the CPU usage increases drastically.&amp;nbsp; Any suggestions?&amp;nbsp; Thanks in advance.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;KM&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2006 14:36:44 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Continuous-event-queue/m-p/431015#M211625</guid>
      <dc:creator>km76107</dc:creator>
      <dc:date>2006-10-23T14:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Continuous event queue ?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Continuous-event-queue/m-p/431963#M212016</link>
      <description>km,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Have you tried debugging the code using highlight execution so you can see what is going wrong?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;NathanT&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 24 Oct 2006 23:57:11 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Continuous-event-queue/m-p/431963#M212016</guid>
      <dc:creator>NathanT</dc:creator>
      <dc:date>2006-10-24T23:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Continuous event queue ?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Continuous-event-queue/m-p/431998#M212035</link>
      <description>yes i have and i think i know what i am doing wrong.. i was hoping to mock up my messy (and actual) code with a simple example given by altenbach.. here is my scenario:&lt;BR /&gt;&lt;BR /&gt;I am reading from a server continuously using TCP Vis every 5 seconds..this is my first loop.&amp;nbsp; I am using queues to pass the data to the second loop, which processes the data..i have a 3rd loop that is event driven by a boolean's value change which consists of a subvi that allows to configure the settings of the server by writing to the server via TCP write.&amp;nbsp; The configure subVI has multiple events, such as changing transmission time, changing settings etc. which are all event driven as well.... I'd like to be able to pass the data from my first loop into the subvi such that the subvi contains the streaming data in the first loop. &lt;BR /&gt;&lt;BR /&gt;Problem:&amp;nbsp; I am unable to continuously send the data to the subvi because my configure subvi is supposed to open its FP when called.&amp;nbsp; I have posted this code in another similar discussion forum and someone suggested to use Globals within the event structure of my Configure VI... this works fine only when the event is triggered... however, i'd like the data to be continuously updated in the subvi and use the current data for my events. &lt;BR /&gt;&lt;BR /&gt;I hope what I explained makes sense... I'd appreciate if you can suggest a method to implement my code.&lt;BR /&gt;Thanks&lt;BR /&gt;KM&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 25 Oct 2006 02:01:46 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Continuous-event-queue/m-p/431998#M212035</guid>
      <dc:creator>km76107</dc:creator>
      <dc:date>2006-10-25T02:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Continuous event queue ?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Continuous-event-queue/m-p/432472#M212254</link>
      <description>km,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Is the user changing the boolean control that triggers the event?&amp;nbsp; I have modified your code heavily and also added it to a project in order to use a shared variable.&amp;nbsp; Take a look and see if that is closer to what you are looking for.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;NathanT&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 25 Oct 2006 19:18:13 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Continuous-event-queue/m-p/432472#M212254</guid>
      <dc:creator>NathanT</dc:creator>
      <dc:date>2006-10-25T19:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Continuous event queue ?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Continuous-event-queue/m-p/432485#M212260</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;hi nathan,&lt;/P&gt;
&lt;P&gt;Could you post the code in LV 7.0 or 7.1.1? I don't have LV 8.0&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2006 19:33:14 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Continuous-event-queue/m-p/432485#M212260</guid>
      <dc:creator>km76107</dc:creator>
      <dc:date>2006-10-25T19:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Continuous event queue ?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Continuous-event-queue/m-p/433064#M212486</link>
      <description>km,&lt;BR /&gt;&lt;BR /&gt;Here you go.&amp;nbsp; Unfortunately I had to take the shared variables out since they are not supported by 7.1.&amp;nbsp; Keep in mind this is just an example to demonstrate the use of VI server and property nodes.&amp;nbsp; Use it as a rough starting point if you would like.&lt;BR /&gt;&lt;BR /&gt;NathanT&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 26 Oct 2006 18:35:46 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Continuous-event-queue/m-p/433064#M212486</guid>
      <dc:creator>NathanT</dc:creator>
      <dc:date>2006-10-26T18:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Continuous event queue ?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Continuous-event-queue/m-p/434735#M213131</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Sorry for the delayed response Nathan.&amp;nbsp; Thank you for posting the code.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;R,&lt;/P&gt;
&lt;P&gt;km&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2006 17:48:12 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Continuous-event-queue/m-p/434735#M213131</guid>
      <dc:creator>km76107</dc:creator>
      <dc:date>2006-10-31T17:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Continuous event queue ?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Continuous-event-queue/m-p/435423#M213389</link>
      <description>I am glad to help you out km.&amp;nbsp; Good luck with the rest of your application.&lt;BR /&gt;&lt;BR /&gt;NathanT&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 01 Nov 2006 20:04:31 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Continuous-event-queue/m-p/435423#M213389</guid>
      <dc:creator>NathanT</dc:creator>
      <dc:date>2006-11-01T20:04:31Z</dc:date>
    </item>
  </channel>
</rss>

