<?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: Time delays in LabVIEW</title>
    <link>https://forums.ni.com/t5/LabVIEW/Time-delays/m-p/322249#M166312</link>
    <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;The delay will only execute if that particular case is active (Signal Generator=1). Is it?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Within that case structure, you cannot predict what starts executing first, the 5000ms delay or the VISA stuff. Most likely they will start virtually simultaneously and the total time spent in that case structure will be the larger of (1) Time to execute the VISA stuff and&amp;nbsp;(2) 5000ms.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Notice that the flat sequence around it does not do anything, you can delete it without change in functionality. Execution order is entirely determined by dataflow alone.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Notice also that your "Numeric 8" increment operation has no data dependency, and will thus complete probably way before anything else in&amp;nbsp;each iteration of the big loop. (You might want to use a shift register instead of local variables here, see: &lt;A href="http://forums.ni.com/ni/board/message?board.id=170&amp;amp;message.id=153611#M153611" target="_blank"&gt;this example for a comparison&lt;/A&gt;)&lt;/DIV&gt;</description>
    <pubDate>Wed, 08 Feb 2006 19:06:04 GMT</pubDate>
    <dc:creator>altenbach</dc:creator>
    <dc:date>2006-02-08T19:06:04Z</dc:date>
    <item>
      <title>Time delays</title>
      <link>https://forums.ni.com/t5/LabVIEW/Time-delays/m-p/322169#M166281</link>
      <description>&lt;DIV&gt;Ok this question may seem really dumb but for some reason my time delays do not seem to be doing anything. Am I missing something here? Do they only work in loops? I have mine inside a flat sequence which is inside a for loop. Why wont it work? Do I need to connect anything besides the time I want it to delay? I am using a Wait(ms) icon, what is going on?&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 Feb 2006 16:53:57 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Time-delays/m-p/322169#M166281</guid>
      <dc:creator>b_lee</dc:creator>
      <dc:date>2006-02-08T16:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Time delays</title>
      <link>https://forums.ni.com/t5/LabVIEW/Time-delays/m-p/322191#M166287</link>
      <description>Usually you just wire the number of mx to the input of the Wait ms VI
and go from there.&amp;nbsp; Maybe if you submitteed a screenshot or your
VI we could take a look at it and see if something else is going on.&lt;BR /&gt;
&lt;BR /&gt;
Have you tried using the Highlight Execution to see if you are acutally going to the frame that has the wait ms in it??&lt;BR /&gt;
&lt;BR /&gt;
Kenny&lt;BR /&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 Feb 2006 17:25:34 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Time-delays/m-p/322191#M166287</guid>
      <dc:creator>Kenny_K</dc:creator>
      <dc:date>2006-02-08T17:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: Time delays</title>
      <link>https://forums.ni.com/t5/LabVIEW/Time-delays/m-p/322194#M166288</link>
      <description>&lt;P&gt;I have never found an instance where time delays don't delay &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Remember that the inputs is in milliseconds, not seconds, so to get a 1 second delay you would wire a 1000 to it.&lt;/P&gt;
&lt;P&gt;If you still have problems, please attach your code. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 Feb 2006 17:27:26 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Time-delays/m-p/322194#M166288</guid>
      <dc:creator>altenbach</dc:creator>
      <dc:date>2006-02-08T17:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Time delays</title>
      <link>https://forums.ni.com/t5/LabVIEW/Time-delays/m-p/322201#M166291</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;I know it does go into it because my equipment reacts to the flat sequence, but the is no delay.</description>
      <pubDate>Wed, 08 Feb 2006 17:42:05 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Time-delays/m-p/322201#M166291</guid>
      <dc:creator>b_lee</dc:creator>
      <dc:date>2006-02-08T17:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Time delays</title>
      <link>https://forums.ni.com/t5/LabVIEW/Time-delays/m-p/322249#M166312</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;The delay will only execute if that particular case is active (Signal Generator=1). Is it?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Within that case structure, you cannot predict what starts executing first, the 5000ms delay or the VISA stuff. Most likely they will start virtually simultaneously and the total time spent in that case structure will be the larger of (1) Time to execute the VISA stuff and&amp;nbsp;(2) 5000ms.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Notice that the flat sequence around it does not do anything, you can delete it without change in functionality. Execution order is entirely determined by dataflow alone.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Notice also that your "Numeric 8" increment operation has no data dependency, and will thus complete probably way before anything else in&amp;nbsp;each iteration of the big loop. (You might want to use a shift register instead of local variables here, see: &lt;A href="http://forums.ni.com/ni/board/message?board.id=170&amp;amp;message.id=153611#M153611" target="_blank"&gt;this example for a comparison&lt;/A&gt;)&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 Feb 2006 19:06:04 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Time-delays/m-p/322249#M166312</guid>
      <dc:creator>altenbach</dc:creator>
      <dc:date>2006-02-08T19:06:04Z</dc:date>
    </item>
  </channel>
</rss>

