<?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: separate compiled code from source, no effect? in LabVIEW</title>
    <link>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2652271#M791106</link>
    <description>&lt;P&gt;To follow up and expand on Christian's points.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some changes to a sub-vi will always require a recompile of the caller. Some of these are obvious if you really think about it, some are not so obvious.&amp;nbsp; But, if you break the interface to the caller (the connector pane) you will need to resave the caller&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Datatype change to a wired input terminal that is not dynamic dispatch (you really can't change the datatype of a DD terminal)&lt;/LI&gt;
&lt;LI&gt;Direction change to a wired input&lt;/LI&gt;
&lt;LI&gt;Connector Pane pattern change&lt;/LI&gt;
&lt;LI&gt;Recomended or optional terminals marked as required&lt;/LI&gt;
&lt;LI&gt;Change to a wired enum type def&lt;/LI&gt;
&lt;LI&gt;Change to which terminal is dynamic dispatch&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;This list is not necessarilly complete&lt;/P&gt;</description>
    <pubDate>Thu, 05 Dec 2013 16:43:07 GMT</pubDate>
    <dc:creator>JÞB</dc:creator>
    <dc:date>2013-12-05T16:43:07Z</dc:date>
    <item>
      <title>separate compiled code from source, no effect?</title>
      <link>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2598609#M780788</link>
      <description>&lt;P&gt;We use SVN for source control of our Labview code. I recently created a VI that goes through our entire labview project and selects the "separate compiled code from source" option on every VI. I thought this would prevent unnecessary requests to save VI's that have been affected by a change to a subvi. However, it has not had any effect. If anything, I believe it's worst. Has anyone else had this experience?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2013 19:55:56 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2598609#M780788</guid>
      <dc:creator>thutch79</dc:creator>
      <dc:date>2013-10-22T19:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: separate compiled code from source, no effect?</title>
      <link>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2598625#M780793</link>
      <description>&lt;P&gt;I also changed our repositories to not include compiled code. &amp;nbsp;Now when we change a type def control we no longer have to resave all the VIs it references. &amp;nbsp;This is good for source code control because obviously only the files changed get pushed. &amp;nbsp;Are you saying after making the change to have all VIs seperate compiled code, that the behavior is not the same as I described?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2013 20:14:10 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2598625#M780793</guid>
      <dc:creator>Hooovahh</dc:creator>
      <dc:date>2013-10-22T20:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: separate compiled code from source, no effect?</title>
      <link>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2598643#M780798</link>
      <description>&lt;P&gt;Yes I am. I've selected the check box on each VI to seperate compiled code, and it still asks to save many, many unnecessary files. In fact, I think it's worst.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is LV 2012, sp1 f5, by the way.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2013 20:25:18 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2598643#M780798</guid>
      <dc:creator>thutch79</dc:creator>
      <dc:date>2013-10-22T20:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: separate compiled code from source, no effect?</title>
      <link>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2598651#M780800</link>
      <description>&lt;P&gt;Is it necessary to do a mass compile after the switch? I wouldn't think so, since flipping the switch required me to save each VI at that time.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2013 20:26:47 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2598651#M780800</guid>
      <dc:creator>thutch79</dc:creator>
      <dc:date>2013-10-22T20:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: separate compiled code from source, no effect?</title>
      <link>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2598659#M780803</link>
      <description>&lt;P&gt;It's been a while but I believe this was the tool I used:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://decibel.ni.com/content/docs/DOC-20926" target="_blank"&gt;https://decibel.ni.com/content/docs/DOC-20926&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And afterwords I didn't have to mass compile. &amp;nbsp;I assume because like you said the save will force a recompile anyway.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2013 20:29:01 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2598659#M780803</guid>
      <dc:creator>Hooovahh</dc:creator>
      <dc:date>2013-10-22T20:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: separate compiled code from source, no effect?</title>
      <link>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2598687#M780811</link>
      <description>&lt;P&gt;Thanks, I haven't seen that tool. I made my own. How I got them all converted is probably irrelavent, right? If I go through all my VI's, they all now have the check box enabled. The problem is it isn't acting as advertised after that change was made.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2013 20:48:48 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2598687#M780811</guid>
      <dc:creator>thutch79</dc:creator>
      <dc:date>2013-10-22T20:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: separate compiled code from source, no effect?</title>
      <link>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2598689#M780812</link>
      <description>&lt;P&gt;Yeah the method likely doesn't matter, not sure why it isn't working right.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2013 20:49:58 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2598689#M780812</guid>
      <dc:creator>Hooovahh</dc:creator>
      <dc:date>2013-10-22T20:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: separate compiled code from source, no effect?</title>
      <link>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2598721#M780821</link>
      <description>&lt;P&gt;In looking further, many of the VI's it wants to save all use the same enum. I have recently made a change to that enum. I thought this would prevent the save request when something like that happens. Am I not right?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2013 20:58:41 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2598721#M780821</guid>
      <dc:creator>thutch79</dc:creator>
      <dc:date>2013-10-22T20:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: separate compiled code from source, no effect?</title>
      <link>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2598807#M780843</link>
      <description>&lt;P&gt;Is the enum (*.ctl) file also set to separate compiled code? Just wondering....&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2013 22:07:27 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2598807#M780843</guid>
      <dc:creator>altenbach</dc:creator>
      <dc:date>2013-10-22T22:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: separate compiled code from source, no effect?</title>
      <link>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2599351#M780938</link>
      <description>&lt;P&gt;Yes, the enum is a type def with the "seperate code" option selected.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2013 12:04:27 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2599351#M780938</guid>
      <dc:creator>thutch79</dc:creator>
      <dc:date>2013-10-23T12:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: separate compiled code from source, no effect?</title>
      <link>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2599361#M780942</link>
      <description>&lt;P&gt;If memory serves, I had to force a compile at least once before the separate took effect.&amp;nbsp; The mass compile did it for me when I made that change on a project to separate compiled.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2013 12:13:20 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2599361#M780942</guid>
      <dc:creator>crossrulz</dc:creator>
      <dc:date>2013-10-23T12:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: separate compiled code from source, no effect?</title>
      <link>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2599381#M780945</link>
      <description>&lt;P&gt;Worth a try. Thanks. I will have to wait until a good time to be able to check in all files to SVN again. I'll report back when I've tried it.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2013 12:33:12 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2599381#M780945</guid>
      <dc:creator>thutch79</dc:creator>
      <dc:date>2013-10-23T12:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: separate compiled code from source, no effect?</title>
      <link>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2599423#M780952</link>
      <description>&lt;P&gt;Have you tried to place your items in a project and use the project property to set compile source as separate. It seems to work for me without problems.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2013 13:07:11 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2599423#M780952</guid>
      <dc:creator>Joseph_Loo</dc:creator>
      <dc:date>2013-10-23T13:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: separate compiled code from source, no effect?</title>
      <link>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2599597#M780988</link>
      <description>&lt;P&gt;Huh....I tried looking for a global setting on the project in the past. I never knew that was there. I will try that after our next SVN branch merge.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2013 15:37:19 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2599597#M780988</guid>
      <dc:creator>thutch79</dc:creator>
      <dc:date>2013-10-23T15:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: separate compiled code from source, no effect?</title>
      <link>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2652083#M791052</link>
      <description>&lt;P&gt;I am in the process of running your tool.&amp;nbsp;&amp;nbsp; Will let you know how it works.&amp;nbsp; What prompted it for me is that an instrument class I was working on has one of the files show up as modified when I open it, and it is one of a very long list.&amp;nbsp; This beats opening them all up and checking them by hand, and I couldn't figure out how to check it programmatically.&amp;nbsp; I will get around to figuring it out, eventually.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2013 15:29:45 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2652083#M791052</guid>
      <dc:creator>MikeBowen</dc:creator>
      <dc:date>2013-12-05T15:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: separate compiled code from source, no effect?</title>
      <link>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2652197#M791084</link>
      <description>&lt;P&gt;I have now setup my project so all VIs, class, controls, etc all have seperated compiled code. Also all new items created will have seperated compiled code. I've mass compiled everything. From my experience, it has absolutely no effect. Anytime I change a subvi, any VI that calls it wants to be saved as well. Maybe I don't have a good understanding of how this should work, but I thought it was to prevent unnecessary save requests, right?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the mean time, I've also moved to LV 2013. It doesn't seem to help in 2013 either.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2013 16:14:13 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2652197#M791084</guid>
      <dc:creator>thutch79</dc:creator>
      <dc:date>2013-12-05T16:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: separate compiled code from source, no effect?</title>
      <link>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2652217#M791090</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/182348"&gt;@thutch79&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;I have now setup my project so all VIs, class, controls, etc all have seperated compiled code. Also all new items created will have seperated compiled code. I've mass compiled everything. From my experience, it has absolutely no effect. Anytime I change a subvi, any VI that calls it wants to be saved as well. Maybe I don't have a good understanding of how this should work, but I thought it was to prevent unnecessary save requests, right?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What are you actually changing in the subVI?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you change the code of the subVI, no changes need to be made to the caller. if you change the name of the subVI, the caller needs to be updated, of course.&lt;/P&gt;
&lt;P&gt;(not sure what happens for inlined subVIs...)&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2013 16:22:42 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2652217#M791090</guid>
      <dc:creator>altenbach</dc:creator>
      <dc:date>2013-12-05T16:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: separate compiled code from source, no effect?</title>
      <link>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2652271#M791106</link>
      <description>&lt;P&gt;To follow up and expand on Christian's points.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some changes to a sub-vi will always require a recompile of the caller. Some of these are obvious if you really think about it, some are not so obvious.&amp;nbsp; But, if you break the interface to the caller (the connector pane) you will need to resave the caller&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Datatype change to a wired input terminal that is not dynamic dispatch (you really can't change the datatype of a DD terminal)&lt;/LI&gt;
&lt;LI&gt;Direction change to a wired input&lt;/LI&gt;
&lt;LI&gt;Connector Pane pattern change&lt;/LI&gt;
&lt;LI&gt;Recomended or optional terminals marked as required&lt;/LI&gt;
&lt;LI&gt;Change to a wired enum type def&lt;/LI&gt;
&lt;LI&gt;Change to which terminal is dynamic dispatch&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;This list is not necessarilly complete&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2013 16:43:07 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2652271#M791106</guid>
      <dc:creator>JÞB</dc:creator>
      <dc:date>2013-12-05T16:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: separate compiled code from source, no effect?</title>
      <link>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2652503#M791145</link>
      <description>&lt;P&gt;I haven't paid too much attention to what's changing versus what callers require saving. I'm sure it's my understanding of the feature that is lacking. Thanks for the list.....that's helpful.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2013 18:42:02 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2652503#M791145</guid>
      <dc:creator>thutch79</dc:creator>
      <dc:date>2013-12-05T18:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: separate compiled code from source, no effect?</title>
      <link>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2713909#M804717</link>
      <description>&lt;P&gt;I too am disappointed- I was hoping that enum typedef changes would stop trying to recompile everything that called them.&amp;nbsp; I guess this cannot be prevented- not sure why as I assumed that the "source" part of the file only contained the block diagram itself and not the compiled code.&amp;nbsp; Which makes me wonder, what situations WOULD this option prevent LabVIEW from recompiling files that were not physically changed in?&amp;nbsp; The enum typedef propagation was one of my chief frustrations when trying to use LV with source code control.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2014 19:54:48 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/separate-compiled-code-from-source-no-effect/m-p/2713909#M804717</guid>
      <dc:creator>Garvacious</dc:creator>
      <dc:date>2014-01-23T19:54:48Z</dc:date>
    </item>
  </channel>
</rss>

