<?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 statemachine with multiple timer, possible? in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/statemachine-with-multiple-timer-possible/m-p/1837903#M628018</link>
    <description>&lt;P&gt;Hi folks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is it possible to have multiple(10/20) timer in a state machine? Timer I meant as a stop watch, every stop watch will be set by queue with state machine and when the timer became 0 it will turn a Boolean on/off also, 20&amp;nbsp;timer will be on in same time and I have to check periodically all the timer with other command in state machine.&amp;nbsp;Which is easy to use with a parallel while loop but I don't know if its possible to use 20 while loop in parallel in one vi. Is there any hardware timer can I use for this? probably will use cRIO for this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 15 Jan 2012 19:01:13 GMT</pubDate>
    <dc:creator>grasho</dc:creator>
    <dc:date>2012-01-15T19:01:13Z</dc:date>
    <item>
      <title>statemachine with multiple timer, possible?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/statemachine-with-multiple-timer-possible/m-p/1837903#M628018</link>
      <description>&lt;P&gt;Hi folks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is it possible to have multiple(10/20) timer in a state machine? Timer I meant as a stop watch, every stop watch will be set by queue with state machine and when the timer became 0 it will turn a Boolean on/off also, 20&amp;nbsp;timer will be on in same time and I have to check periodically all the timer with other command in state machine.&amp;nbsp;Which is easy to use with a parallel while loop but I don't know if its possible to use 20 while loop in parallel in one vi. Is there any hardware timer can I use for this? probably will use cRIO for this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Jan 2012 19:01:13 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/statemachine-with-multiple-timer-possible/m-p/1837903#M628018</guid>
      <dc:creator>grasho</dc:creator>
      <dc:date>2012-01-15T19:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: statemachine with multiple timer, possible?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/statemachine-with-multiple-timer-possible/m-p/1837909#M628020</link>
      <description>&lt;P&gt;I am not completely clear on what you are asking, but I will attempt to address your questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Certainly multiple timers are possible. &amp;nbsp;The biggest issue may be what happens if several timers become 0 at the same time. &amp;nbsp;One way to approach this is to use multiple copies of the Express timer VI. &amp;nbsp;Another way would be to have an array of Stop times. Periodically check the current time against the values in the array, setting a boolean for each one where the time has expired. If the timing is too fast for software, it could probably be run on an FPGA system.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Lynn&lt;/P&gt;</description>
      <pubDate>Sun, 15 Jan 2012 19:18:15 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/statemachine-with-multiple-timer-possible/m-p/1837909#M628020</guid>
      <dc:creator>johnsold</dc:creator>
      <dc:date>2012-01-15T19:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: statemachine with multiple timer, possible?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/statemachine-with-multiple-timer-possible/m-p/1837913#M628022</link>
      <description>&lt;P&gt;Thanks john for quick response. Can you elaborate little bit more. if i use an express time vi, will it not be stuck in a while loop?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and yes i will build an array of timer to check it. can you send me an simple&amp;nbsp;example ?&lt;/P&gt;</description>
      <pubDate>Sun, 15 Jan 2012 19:25:10 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/statemachine-with-multiple-timer-possible/m-p/1837913#M628022</guid>
      <dc:creator>grasho</dc:creator>
      <dc:date>2012-01-15T19:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: statemachine with multiple timer, possible?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/statemachine-with-multiple-timer-possible/m-p/1837917#M628023</link>
      <description>&lt;P&gt;The Elapsed Time Express VI does not wait until it has timed out. &amp;nbsp;Each time it is called it returns immediately with a boolean indicating whether the time has elapsed along with a numeric indiating how much time has elapsed. &amp;nbsp;It also has several reset options for starting it again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Look at the detailed help and make some simple test VIs to see what it does. &amp;nbsp;The attached VI has the timer set for 10 seconds.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Lynn&lt;/P&gt;</description>
      <pubDate>Sun, 15 Jan 2012 19:54:29 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/statemachine-with-multiple-timer-possible/m-p/1837917#M628023</guid>
      <dc:creator>johnsold</dc:creator>
      <dc:date>2012-01-15T19:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: statemachine with multiple timer, possible?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/statemachine-with-multiple-timer-possible/m-p/1837925#M628024</link>
      <description>&lt;P&gt;This is very easy with LVOOP. Here is a timer class that I wrote some time ago (no pun intended) and an example of how to use it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://forums.ni.com/t5/image/serverpage/image-id/63155i240F131F06D583AD/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Test Timer_FP.png" title="Test Timer_FP.png" align="middle" /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Jan 2012 20:10:54 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/statemachine-with-multiple-timer-possible/m-p/1837925#M628024</guid>
      <dc:creator>SteveChandler</dc:creator>
      <dc:date>2012-01-15T20:10:54Z</dc:date>
    </item>
  </channel>
</rss>

