<?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: Real-Time Event-Based Sequencer in Components</title>
    <link>https://forums.ni.com/t5/Components/Real-Time-Event-Based-Sequencer/m-p/1021697#M302</link>
    <description>&lt;P&gt;This ref design fits my requirements pretty well, thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to use Timed Loops in my application only because I want some of my execution step VIs to 1) have priority over other loops in the system,and 2) be repeatable, timing-wise. I don't really need determinism.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some of my step VIs will contain a state machine loop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question about the Execution VI.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Why are you using VI server? Couldn't you just put all the Step VIs on the diagram inside the case where you have the Run VI method?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Questions about nested loops. &lt;/P&gt;&lt;P&gt;I see the Execution VI has a For loop inside the Timed Loop, and the step VIs contain For and While Loops. Is that ok to mix all those loop types on RT? &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I heard that you should go with all While or all Timed loops, and also it is not good touse nested Timed Loops.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the Execution.vi just had a Timed Loop indexed by Steps to Run (not the For loop) to sequence the step VIs, and the step VIs were on the  Execution.vi diagram as described above, then I would have a situation of nested Timed Loops. The Excution.vi sequencer loop and the loops inside the step VIs. If I used VI Server to call the step VIs, could I consider the step loops no longer nested inside the Execution.vi loop? &amp;lt;&amp;lt; hope this makes sense, Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chris C. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Nov 2009 18:18:19 GMT</pubDate>
    <dc:creator>dowNow</dc:creator>
    <dc:date>2009-11-12T18:18:19Z</dc:date>
    <item>
      <title>Real-Time Event-Based Sequencer</title>
      <link>https://forums.ni.com/t5/Components/Real-Time-Event-Based-Sequencer/m-p/958312#M259</link>
      <description>&lt;P data-unlink="true"&gt;&lt;FONT face="Arial" size="2" color="#5f5f5f"&gt;Please provide feedback, comments, and questions on&amp;nbsp;the Real-Time Event-Based Sequencer Reference Example&amp;nbsp;in this thread.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2026 15:18:55 GMT</pubDate>
      <guid>https://forums.ni.com/t5/Components/Real-Time-Event-Based-Sequencer/m-p/958312#M259</guid>
      <dc:creator>ninjaphil</dc:creator>
      <dc:date>2026-05-05T15:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Real-Time Event-Based Sequencer</title>
      <link>https://forums.ni.com/t5/Components/Real-Time-Event-Based-Sequencer/m-p/1021697#M302</link>
      <description>&lt;P&gt;This ref design fits my requirements pretty well, thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to use Timed Loops in my application only because I want some of my execution step VIs to 1) have priority over other loops in the system,and 2) be repeatable, timing-wise. I don't really need determinism.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some of my step VIs will contain a state machine loop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question about the Execution VI.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Why are you using VI server? Couldn't you just put all the Step VIs on the diagram inside the case where you have the Run VI method?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Questions about nested loops. &lt;/P&gt;&lt;P&gt;I see the Execution VI has a For loop inside the Timed Loop, and the step VIs contain For and While Loops. Is that ok to mix all those loop types on RT? &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I heard that you should go with all While or all Timed loops, and also it is not good touse nested Timed Loops.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the Execution.vi just had a Timed Loop indexed by Steps to Run (not the For loop) to sequence the step VIs, and the step VIs were on the  Execution.vi diagram as described above, then I would have a situation of nested Timed Loops. The Excution.vi sequencer loop and the loops inside the step VIs. If I used VI Server to call the step VIs, could I consider the step loops no longer nested inside the Execution.vi loop? &amp;lt;&amp;lt; hope this makes sense, Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chris C. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2009 18:18:19 GMT</pubDate>
      <guid>https://forums.ni.com/t5/Components/Real-Time-Event-Based-Sequencer/m-p/1021697#M302</guid>
      <dc:creator>dowNow</dc:creator>
      <dc:date>2009-11-12T18:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Real-Time Event-Based Sequencer</title>
      <link>https://forums.ni.com/t5/Components/Real-Time-Event-Based-Sequencer/m-p/1022992#M308</link>
      <description>&lt;P&gt;&lt;SPAN class="noindex"&gt;Why are you using VI server? Couldn't you just put all the Step VIs on the diagram inside the case where you have the Run VI method?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;You could, but that makes it more static.&amp;nbsp;&amp;nbsp; Typically you would build the Steps into a LLB that includes all the dependencies.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="color: #ff0000;"&gt;&amp;nbsp;&lt;SPAN class="noindex"&gt;I see the Execution VI has a For loop inside the Timed Loop, and the step VIs contain For and While Loops. Is that ok to mix all those loop types on RT? &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="color: #333333;"&gt;&amp;nbsp;It is ok to do that.&amp;nbsp; What you need to be concerned about on RT is the method that you use to set priorities. You should either use VI priority or set Timed Loop priority.&amp;nbsp; You do not want to mix and match those.&amp;nbsp; You are also correct about not using timed loops inside of timed loops (get difficult to determine the correct priority.&lt;/P&gt;
&lt;P style="color: #ff0000;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="color: #ff0000;"&gt;&lt;SPAN class="noindex"&gt;If I used VI Server to call the step VIs, could I consider the step loops no longer nested inside the Execution.vi loop?&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="color: #ff0000;"&gt;&lt;SPAN&gt;To be honest I am not sure.&amp;nbsp; I think the question is if you call a VI inside a timed loop using VI server, does the VI inherit the priority set by the timed loop.&amp;nbsp; I don't know the answer to that one.&lt;/SPAN&gt; &lt;SPAN&gt;Of course if you don't care about determinism, then you should just set everything to the default priority and you will be ok.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="color: #ff0000;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="color: #ff0000;" data-unlink="true"&gt;&lt;SPAN&gt;If you liked this article and example code then you might also like another higher level article Multi-process Engine.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2026 13:57:34 GMT</pubDate>
      <guid>https://forums.ni.com/t5/Components/Real-Time-Event-Based-Sequencer/m-p/1022992#M308</guid>
      <dc:creator>Brian_K.</dc:creator>
      <dc:date>2026-04-30T13:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Real-Time Event-Based Sequencer</title>
      <link>https://forums.ni.com/t5/Components/Real-Time-Event-Based-Sequencer/m-p/1023005#M309</link>
      <description>&lt;P data-unlink="true"&gt;Thanks for your answers. MPE &lt;SPAN class="noindex"&gt;&lt;SPAN&gt;Multi-process Engine&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;looks good, I'll definitely check it out in detail.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cc&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2026 13:57:49 GMT</pubDate>
      <guid>https://forums.ni.com/t5/Components/Real-Time-Event-Based-Sequencer/m-p/1023005#M309</guid>
      <dc:creator>dowNow</dc:creator>
      <dc:date>2026-04-30T13:57:49Z</dc:date>
    </item>
  </channel>
</rss>

