<?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: Sequence in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Sequence/m-p/3038631#M866607</link>
    <description>&lt;P&gt;Thank you very much.&lt;/P&gt;
&lt;P&gt;I will try that&amp;nbsp;:manhappy:&lt;/P&gt;</description>
    <pubDate>Thu, 30 Oct 2014 12:48:17 GMT</pubDate>
    <dc:creator>junim97</dc:creator>
    <dc:date>2014-10-30T12:48:17Z</dc:date>
    <item>
      <title>Sequence</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Sequence/m-p/3038583#M866596</link>
      <description>Hello,

I have a question about one sequence.
I stop my program and I'd like restart where I stopped.
How do I do that?

Thanks</description>
      <pubDate>Thu, 30 Oct 2014 12:23:23 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Sequence/m-p/3038583#M866596</guid>
      <dc:creator>junim97</dc:creator>
      <dc:date>2014-10-30T12:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Sequence</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Sequence/m-p/3038597#M866597</link>
      <description>&lt;P&gt;Please provide more information. What sequence are you talking about? What did you try up til now? What does "stop" mean for you (does it e.g. include a reboot of the system)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Quite puzzling,&lt;/P&gt;
&lt;P&gt;Norbert&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2014 12:31:39 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Sequence/m-p/3038597#M866597</guid>
      <dc:creator>Norbert_B</dc:creator>
      <dc:date>2014-10-30T12:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sequence</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Sequence/m-p/3038599#M866598</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm sending you my program.&lt;/P&gt;
&lt;P&gt;I apreciate if you could take a look.&lt;/P&gt;
&lt;P&gt;I have 4 tanks that are always moving the fluid between themself.&lt;/P&gt;
&lt;P&gt;For example:&lt;/P&gt;
&lt;P&gt;If stop my program between tank 3 and 4, how do I do to the program restart where it stopped?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2014 12:36:56 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Sequence/m-p/3038599#M866598</guid>
      <dc:creator>junim97</dc:creator>
      <dc:date>2014-10-30T12:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sequence</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Sequence/m-p/3038615#M866601</link>
      <description>&lt;P&gt;I am sorry, but i dont see any sequential flow in your application. All i see are five concurrent running loop with a lot of race conditions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should start working with a state machine. In this case, you can add a "shutdown" case which saves the last active state to file. An "init" case (which is static first case for execution) loads that file, resets it and proceeds to the next (saved) state for execution.&lt;/P&gt;
&lt;P&gt;This will work if init indeed can initialize everything for every case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Norbert&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2014 12:43:32 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Sequence/m-p/3038615#M866601</guid>
      <dc:creator>Norbert_B</dc:creator>
      <dc:date>2014-10-30T12:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Sequence</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Sequence/m-p/3038631#M866607</link>
      <description>&lt;P&gt;Thank you very much.&lt;/P&gt;
&lt;P&gt;I will try that&amp;nbsp;:manhappy:&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2014 12:48:17 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Sequence/m-p/3038631#M866607</guid>
      <dc:creator>junim97</dc:creator>
      <dc:date>2014-10-30T12:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sequence</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Sequence/m-p/3038837#M866642</link>
      <description>&lt;P&gt;In general, to continue where you quit, you need to save some status to a file which you read back at the start of the program.&lt;/P&gt;
&lt;P&gt;/Y&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2014 15:03:45 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Sequence/m-p/3038837#M866642</guid>
      <dc:creator>Yamaeda</dc:creator>
      <dc:date>2014-10-30T15:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sequence</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Sequence/m-p/3040013#M866883</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm sending my program with the flat sequence so you can see what I want to do.&lt;/P&gt;
&lt;P&gt;Have the program running and I control the level of the tanks with those numbers controlers. But in my process I'll have pressure transmitters, level sensors and etc instead numbers controlers.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So... If I stop the program when the liquid are moving from tank 3 and tank 4 my EV34 and my B34 have to be on when I restart the program.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&amp;nbsp;:manhappy:&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2014 15:08:47 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Sequence/m-p/3040013#M866883</guid>
      <dc:creator>junim97</dc:creator>
      <dc:date>2014-10-31T15:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: Sequence</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Sequence/m-p/3040021#M866884</link>
      <description>&lt;P&gt;A sequence structure is NOT a statemachine. In fact, it makes things even worse compared to your original VI.....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That being said, i urge you to go through the available online material for LV or better to attend a LV class at NI.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Norbert&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2014 15:14:12 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Sequence/m-p/3040021#M866884</guid>
      <dc:creator>Norbert_B</dc:creator>
      <dc:date>2014-10-31T15:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sequence</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Sequence/m-p/3040055#M866890</link>
      <description>&lt;P&gt;The absolutely easiest is to combine the values you want to save to a cluster and use Read/Write to binary file.&lt;/P&gt;
&lt;P&gt;Then you'll notice that the saved values is of no help as your program writes to the booleans in every loop in every test, so you need to implement some way to jump to your active tank. A State machine comes to mind.&lt;/P&gt;
&lt;P&gt;Also your top loop can&amp;nbsp;cause your tanks&amp;nbsp;to run twice, depending on what the values is of Tank4 when you start. That's probably not what you want.&lt;/P&gt;
&lt;P&gt;Meh, that snippet became strange ... anyhow, you need to start with something similar to the binary read in the lower right and finish with a similar Write.&lt;/P&gt;
&lt;P&gt;/Y&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;IMG src="https://ip1.i.lithium.com/e5a811378389d887815e09e91ece29adc871f3ed/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f31353833393569323946363036343242413134454245362f696d6167652d73697a652f6f726967696e616c3f763d6d70626c2d312670783d2d31" border="0" alt="VIStatus.png" title="VIStatus.png" align="center" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2014 15:39:16 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Sequence/m-p/3040055#M866890</guid>
      <dc:creator>Yamaeda</dc:creator>
      <dc:date>2014-10-31T15:39:16Z</dc:date>
    </item>
  </channel>
</rss>

