<?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: Run VI in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Run-VI/m-p/716154#M327770</link>
    <description>Depends on how you're opening it. If you open it from the file system it wil do it. If you have it as a subVI on a block diagram and double-click the icon on the block diagram it won't run. In fact, the latter is used as a method to allow you to open a VI that is set to automatically run when open.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 30 May 2008 16:23:47 GMT</pubDate>
    <dc:creator>smercurio_fc</dc:creator>
    <dc:date>2008-05-30T16:23:47Z</dc:date>
    <item>
      <title>Run VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Run-VI/m-p/716146#M327764</link>
      <description>&lt;DIV&gt;
&lt;DIV&gt;Hello&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I`ve a problem with the run of the VI. I want that my VI run when opened, so I`ve set&amp;nbsp;``Run when opened`` into the&amp;nbsp;Properties -&amp;gt; Execution of my VI.&lt;/DIV&gt;
&lt;DIV&gt;But When I open this it does not run.&lt;/DIV&gt;
&lt;DIV&gt;What Do I wrong?&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by enzo78 on &lt;SPAN class="date_text"&gt;05-30-2008&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;11:19 AM&lt;/SPAN&gt;</description>
      <pubDate>Fri, 30 May 2008 16:19:55 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Run-VI/m-p/716146#M327764</guid>
      <dc:creator>enzo78</dc:creator>
      <dc:date>2008-05-30T16:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Run VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Run-VI/m-p/716154#M327770</link>
      <description>Depends on how you're opening it. If you open it from the file system it wil do it. If you have it as a subVI on a block diagram and double-click the icon on the block diagram it won't run. In fact, the latter is used as a method to allow you to open a VI that is set to automatically run when open.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 30 May 2008 16:23:47 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Run-VI/m-p/716154#M327770</guid>
      <dc:creator>smercurio_fc</dc:creator>
      <dc:date>2008-05-30T16:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Run VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Run-VI/m-p/716161#M327774</link>
      <description>&lt;DIV&gt;Hello &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I`ve created an executable, and when run it does not work&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks&lt;/DIV&gt;</description>
      <pubDate>Fri, 30 May 2008 16:26:45 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Run-VI/m-p/716161#M327774</guid>
      <dc:creator>enzo78</dc:creator>
      <dc:date>2008-05-30T16:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: Run VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Run-VI/m-p/716166#M327776</link>
      <description>In the project specifications did you set the your VI as the startup VI? Do you also have the "Show front panel when called" and "Close afterwards if initially closed" options set in the "Window Appearance" section? I assume your VI has some form of loop that allows it to run continuously once started.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 30 May 2008 16:36:56 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Run-VI/m-p/716166#M327776</guid>
      <dc:creator>smercurio_fc</dc:creator>
      <dc:date>2008-05-30T16:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: Run VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Run-VI/m-p/716171#M327779</link>
      <description>&lt;DIV&gt;Yes I set the "Show front panel when called" and "Close afterwards if initially closed"&amp;nbsp;and my VI has a while loop, but where can I&amp;nbsp;set the&amp;nbsp;VI as the startup VI?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks&lt;/DIV&gt;</description>
      <pubDate>Fri, 30 May 2008 16:42:00 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Run-VI/m-p/716171#M327779</guid>
      <dc:creator>enzo78</dc:creator>
      <dc:date>2008-05-30T16:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Run VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Run-VI/m-p/716180#M327783</link>
      <description>Assuming you're using LabVIEW 8.x, you set this up in the "Source Files" section:&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 30 May 2008 16:50:42 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Run-VI/m-p/716180#M327783</guid>
      <dc:creator>smercurio_fc</dc:creator>
      <dc:date>2008-05-30T16:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Run VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Run-VI/m-p/716189#M327791</link>
      <description>&lt;DIV&gt;Yes olready done, I send you my VI. &lt;/DIV&gt;</description>
      <pubDate>Fri, 30 May 2008 16:59:43 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Run-VI/m-p/716189#M327791</guid>
      <dc:creator>enzo78</dc:creator>
      <dc:date>2008-05-30T16:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: Run VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Run-VI/m-p/716192#M327793</link>
      <description>When I opened your VI I did not see the "Run when opened" option checked. It was unchecked.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 30 May 2008 17:04:55 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Run-VI/m-p/716192#M327793</guid>
      <dc:creator>smercurio_fc</dc:creator>
      <dc:date>2008-05-30T17:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: Run VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Run-VI/m-p/716199#M327796</link>
      <description>&lt;DIV&gt;I`m sorry , I send you a wrong VI, This is the correct one.&lt;/DIV&gt;</description>
      <pubDate>Fri, 30 May 2008 17:12:37 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Run-VI/m-p/716199#M327796</guid>
      <dc:creator>enzo78</dc:creator>
      <dc:date>2008-05-30T17:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Run VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Run-VI/m-p/716219#M327806</link>
      <description>Your VI &lt;I&gt;is&lt;/I&gt; running. The problem is in your logic for the control of the loops. The way it's set up the main loop will stop after one iteration because the default value of the of the "Instrument ON/OFF" control is False. Also, your logic for the control of the two loops is opposite with regards to that control. Thus, in the one loop setting it on stops it. In the other, setting it on allows it to continue. &lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 30 May 2008 17:36:42 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Run-VI/m-p/716219#M327806</guid>
      <dc:creator>smercurio_fc</dc:creator>
      <dc:date>2008-05-30T17:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Run VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Run-VI/m-p/716230#M327811</link>
      <description>&lt;DIV&gt;The first loop would run until I turn on The switch " instrument on?oFF"&amp;nbsp; because it is False at start-up.&lt;/DIV&gt;
&lt;DIV&gt;After &amp;nbsp;I turn on The switch The second loop would run until I turn off the switch... Sorry, I don`t understand where I wrong.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks&lt;/DIV&gt;</description>
      <pubDate>Fri, 30 May 2008 17:49:45 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Run-VI/m-p/716230#M327811</guid>
      <dc:creator>enzo78</dc:creator>
      <dc:date>2008-05-30T17:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Run VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Run-VI/m-p/716236#M327815</link>
      <description>That's not what's happening because that's not how LabVIEW works. Both loops start up when you start the VI. Once the second loop starts it reads the value of that control. It's False. In all likelihood the other condition is also False, which means the loop control terminal receives a False, and therefore stops after one iteration. Meanwhile, the other loop is happily going on because the control is False. Run your VI in the development environment with execution highlighting on (the light bulb in the toolbar), and you will see what it happening. &lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 30 May 2008 17:59:49 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Run-VI/m-p/716236#M327815</guid>
      <dc:creator>smercurio_fc</dc:creator>
      <dc:date>2008-05-30T17:59:49Z</dc:date>
    </item>
  </channel>
</rss>

