<?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: Compiled vi always runs when opened, Labview 2013 bug? in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629239#M786802</link>
    <description>&lt;P&gt;I want to enter values and set up things before I actually run the vi.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why am I able to uncheck "run when opened" if it actually doesn't do anything?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're not going to answer the question, please refrain from posting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Nov 2013 14:43:39 GMT</pubDate>
    <dc:creator>LarsM</dc:creator>
    <dc:date>2013-11-20T14:43:39Z</dc:date>
    <item>
      <title>Compiled vi always runs when opened, Labview 2013 bug?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629213#M786796</link>
      <description>&lt;P&gt;I'm presuming it's not a bug, but right now it looks like that:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I compile a vi to an exe using the application builder, but no matter how I adjust the settings, the vi will always run when opened.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm running LabVIEW 2013.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2013 14:21:17 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629213#M786796</guid>
      <dc:creator>LarsM</dc:creator>
      <dc:date>2013-11-20T14:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Compiled vi always runs when opened, Labview 2013 bug?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629221#M786797</link>
      <description>&lt;P&gt;Hi Lars,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;when I run an executable (regardless LabVIEW or any other programming language was used to create it) I expect it to &lt;STRONG&gt;run when opened&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;Do you expect something different when you start MSWord, FireFox or any other program you need?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2013 14:32:00 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629221#M786797</guid>
      <dc:creator>GerdW</dc:creator>
      <dc:date>2013-11-20T14:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Compiled vi always runs when opened, Labview 2013 bug?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629233#M786800</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/165484"&gt;@LarsM&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;I'm presuming it's not a bug, but right now it looks like that:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I compile a vi to an exe using the application builder, but no matter how I adjust the settings, the vi will always run when opened.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm running LabVIEW 2013.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That would be what happens to any "Start-up.vi" when an application starts up&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2013 14:40:30 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629233#M786800</guid>
      <dc:creator>JÞB</dc:creator>
      <dc:date>2013-11-20T14:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Compiled vi always runs when opened, Labview 2013 bug?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629239#M786802</link>
      <description>&lt;P&gt;I want to enter values and set up things before I actually run the vi.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why am I able to uncheck "run when opened" if it actually doesn't do anything?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're not going to answer the question, please refrain from posting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2013 14:43:39 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629239#M786802</guid>
      <dc:creator>LarsM</dc:creator>
      <dc:date>2013-11-20T14:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Compiled vi always runs when opened, Labview 2013 bug?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629243#M786803</link>
      <description>&lt;P&gt;The start up vi will run.&amp;nbsp; This is expected behavior.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want the running vi to wait for user input before executing a process you need to code a proper arcetecture to do that.&amp;nbsp; Look into the Producer Consumer (Events) design pattern.&amp;nbsp; It is a good way to start an application like you describe.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-SPOILER&gt;See, asking a question (or at least explaining what behavior you want) gets more specific answers.&lt;/LI-SPOILER&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2013 14:48:35 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629243#M786803</guid>
      <dc:creator>JÞB</dc:creator>
      <dc:date>2013-11-20T14:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Compiled vi always runs when opened, Labview 2013 bug?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629329#M786813</link>
      <description>&lt;P&gt;Are you saying that the "run when opened" checkbox is obsolete?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What's the purpose of having a run mode (as opposed to edit mode) if nobody's expected to use it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2013 15:17:13 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629329#M786813</guid>
      <dc:creator>LarsM</dc:creator>
      <dc:date>2013-11-20T15:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Compiled vi always runs when opened, Labview 2013 bug?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629387#M786815</link>
      <description>&lt;P&gt;"Run when opened" and "edit mode" apply to the VI file, not the exe.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2013 15:27:56 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629387#M786815</guid>
      <dc:creator>jcarmody</dc:creator>
      <dc:date>2013-11-20T15:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Compiled vi always runs when opened, Labview 2013 bug?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629397#M786817</link>
      <description>&lt;P&gt;In the app builder properties, under "Source File Settings" I can click "Customize VI Properties..." and there uncheck "Run When Opened". Does this actually do anything?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2013 15:32:14 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629397#M786817</guid>
      <dc:creator>LarsM</dc:creator>
      <dc:date>2013-11-20T15:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Compiled vi always runs when opened, Labview 2013 bug?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629403#M786819</link>
      <description>&lt;P&gt;Hi Lars,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the point is: any executable is set to "run when opened", that's the expected behaviour on any OS. You cannot change that behaviour!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But you can (or "have to") program a good UI that allows the user to start a measurement when (s)he is ready to do so. In the simplest form you just wait in a polling loop for a "Start now" button, in more advanced schemes you will use an event structure and maybe a state machine. A producer/consumer scheme can be used to, but will probably use the event structure and the state machine too...&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2013 15:35:59 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629403#M786819</guid>
      <dc:creator>GerdW</dc:creator>
      <dc:date>2013-11-20T15:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: Compiled vi always runs when opened, Labview 2013 bug?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629459#M786820</link>
      <description>&lt;P&gt;A problem is that even though it runs when opened, it only runs once, not continuously.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2013 15:36:32 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629459#M786820</guid>
      <dc:creator>LarsM</dc:creator>
      <dc:date>2013-11-20T15:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Compiled vi always runs when opened, Labview 2013 bug?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629637#M786822</link>
      <description>&lt;P&gt;If you want it to run continuously, then&amp;nbsp; you need to have a while loop in it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please don't tell me that when you were creating this VI in the development environment you were using the "Run Continuously" button.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2013 15:44:51 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629637#M786822</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2013-11-20T15:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Compiled vi always runs when opened, Labview 2013 bug?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629649#M786824</link>
      <description>&lt;P&gt;I was not using the "run continuously" button, no, but if a compiled vi is expected to always run, then that would be the logical behaviour.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2013 15:48:39 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629649#M786824</guid>
      <dc:creator>LarsM</dc:creator>
      <dc:date>2013-11-20T15:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: Compiled vi always runs when opened, Labview 2013 bug?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629659#M786827</link>
      <description>&lt;P&gt;Hi Lars,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it is not expected to "always and forever run", it is expected to "run when opened".&lt;/P&gt;
&lt;P&gt;That's quite a difference!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2013 15:50:20 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629659#M786827</guid>
      <dc:creator>GerdW</dc:creator>
      <dc:date>2013-11-20T15:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: Compiled vi always runs when opened, Labview 2013 bug?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629689#M786831</link>
      <description>&lt;P&gt;Your program, if it is not controlled by a loop, will only run once.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want continuous execution you need to program it that way.&amp;nbsp; If you want something like when you press "Run continuously" in development mode, then you'll have to program that I'm afraid.&amp;nbsp; The mode of execution in an EXE is comparable to a single click of the "run" button in the IDE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Melander.&amp;nbsp; It's a few years since I came across that name.&amp;nbsp; It always sparks memories of the Snork Maiden and such.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2013 16:01:19 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629689#M786831</guid>
      <dc:creator>Intaris</dc:creator>
      <dc:date>2013-11-20T16:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Compiled vi always runs when opened, Labview 2013 bug?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629753#M786838</link>
      <description>&lt;P&gt;A LabVIEW executable should run when opened and close when done. A stopped program is pointless, since you cannot edit anyway. The easiest would be to look at the help.&amp;nbsp;Takes 5 seconds and is much faster than posting here and waiting for an answer. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://zone.ni.com/reference/en-XX/help/371361K-01/lvdialog/vi_settings_db/" target="_self"&gt;From the help&lt;/A&gt;:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;LabVIEW &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;ignores this option in the following scenarios&lt;/FONT&gt;&lt;/STRONG&gt;:&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;EM&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;When you use the VI Server to load the VI. Use the&amp;nbsp;&lt;A href="http://zone.ni.com/reference/en-XX/help/371361K-01/lvprop/vi_run_vi/" target="_blank"&gt;Run VI&lt;/A&gt;&amp;nbsp;method to run a VI you use the VI Server to load.&lt;/FONT&gt;&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;EM&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;When you designate the VI as a startup VI in a built application&lt;/FONT&gt;&lt;/STRONG&gt;. Startup VIs run when they are opened by default and LabVIEW overrides the option you set in this dialog box. You can configure a startup VI to&amp;nbsp;not&amp;nbsp;run when it is opened when you configure the build specification. On the&amp;nbsp;&lt;A href="http://zone.ni.com/reference/en-XX/help/371361K-01/lvdialog/vi_settings_tab/" target="_blank"&gt;Source File Settings&lt;/A&gt;&amp;nbsp;page of the&lt;A href="http://zone.ni.com/reference/en-XX/help/371361K-01/lvdialog/build_app_or_dll_db/" target="_blank"&gt;Application Properties&lt;/A&gt;&amp;nbsp;dialog box, click the&amp;nbsp;&lt;STRONG&gt;Customize VI Properties&lt;/STRONG&gt;&amp;nbsp;button. In the&amp;nbsp;&lt;STRONG&gt;VI Properties (Application Builder)&lt;/STRONG&gt;&amp;nbsp;dialog box, remove the checkmark from the Run when opened checkbox.&lt;/FONT&gt;&lt;/EM&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;HR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you can see, the option is ignored for startup VIs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need to enter values before running the main code, a state machine is the answer. have the program start up in the idle state, then progress into a processing state.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2013 16:49:27 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629753#M786838</guid>
      <dc:creator>altenbach</dc:creator>
      <dc:date>2013-11-20T16:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: Compiled vi always runs when opened, Labview 2013 bug?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629897#M786853</link>
      <description>&lt;P&gt;"You can configure a startup VI to not run when it is opened when you configure the build specification."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The help text contradicts what you are writing. Maybe you should follow your own advice.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2013 18:14:37 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629897#M786853</guid>
      <dc:creator>LarsM</dc:creator>
      <dc:date>2013-11-20T18:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Compiled vi always runs when opened, Labview 2013 bug?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629943#M786859</link>
      <description>&lt;P&gt;I agree that the help is somewhat contradictory &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2013 18:56:02 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629943#M786859</guid>
      <dc:creator>altenbach</dc:creator>
      <dc:date>2013-11-20T18:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: Compiled vi always runs when opened, Labview 2013 bug?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629975#M786861</link>
      <description>&lt;P&gt;I have to admit that I'm also a bit confused- the build option &lt;EM&gt;does&lt;/EM&gt; seem to work, at least on my machine. Example attached. Built in 13.0.0. This KnowledgeBase also indicates that this should work:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;KnowledgeBase 1MA7L97T: Why Does My LabVIEW Application Default to "Run When Opened"?&lt;/P&gt;
&lt;P&gt;&lt;A href="http://digital.ni.com/public.nsf/allkb/F5E0C938A602A7028625678D004B4F5A?OpenDocument" target="_blank"&gt;http://digital.ni.com/public.nsf/allkb/F5E0C938A602A7028625678D004B4F5A?OpenDocument&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LarsM- Could you provide an example of a case where the option you're using&amp;nbsp;fails?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2013 19:11:18 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629975#M786861</guid>
      <dc:creator>0utlaw</dc:creator>
      <dc:date>2013-11-20T19:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Compiled vi always runs when opened, Labview 2013 bug?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629981#M786863</link>
      <description>&lt;P&gt;OK lets revisit it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes you can get a startup vi to launch without running.&amp;nbsp; note the two builds in the attached .zip&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why you would chose to launch an application without running the top-level vi is the point of our questions.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://forums.ni.com/t5/image/serverpage/image-id/126163i097A076CC2E6E734/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Capture.PNG" title="Capture.PNG" align="middle" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Christian got bit by a common miss-reading of that help file line-&amp;nbsp; the "Run when opened" property cannot be set to "Use vi Property" this is the meaning behind "the setting is ignored.&amp;nbsp; By default a start-up vi is set to run when opened irrespective of the vi properties.&amp;nbsp; You can change it BUT, some would argue this should NEVER have been exposed since it is very bad programming practice.&amp;nbsp; However: the attached zip contains a build of the same vi with each run when opened option set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope I made it clear that this is a silly way to configure a build spec to get around coding a proper UI.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The source file is also attached.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2013 19:12:51 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629981#M786863</guid>
      <dc:creator>JÞB</dc:creator>
      <dc:date>2013-11-20T19:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Compiled vi always runs when opened, Labview 2013 bug?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629985#M786865</link>
      <description>&lt;P&gt;Yes, I got confused. Back in LabVIEW 8.2 (?) there was a bug that did not allow the setting work (exe runs even if told not to in the builder). I think I even posted a workaround, placing a small while loop with an USR, that would immediately stop the VI when it run for the first time, but not at later runs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In any case, disabling "run when openend" only makes sense when exe debugging is enabled. Also applications typically have the toolbar and LabVIEW specific menu entries removed, in which case you would not even be able to run the exe if it start as not running. &lt;span class="lia-unicode-emoji" title=":face_with_open_mouth:"&gt;😮&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2013 19:21:35 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Compiled-vi-always-runs-when-opened-Labview-2013-bug/m-p/2629985#M786865</guid>
      <dc:creator>altenbach</dc:creator>
      <dc:date>2013-11-20T19:21:35Z</dc:date>
    </item>
  </channel>
</rss>

