<?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: local vs property node in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/local-vs-property-node/m-p/322311#M166344</link>
    <description>&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P class="MsoNormal"&gt;Hello all,&lt;BR /&gt;&lt;BR /&gt;To take it one step further, the speed hit comes from the fact that these items run in the UI thread along with all of your other user interface actions (speed), and copies are always made of the data (performance AND speed)!&amp;nbsp; Check out the "&lt;A href="https://forums.ni.com/t5/LabVIEW-Development-Best/LabVIEW-Performance-and-Memory-Management/ta-p/3512984" target="_blank" rel="noopener"&gt;LabVIEW Performance and Memory Management&lt;/A&gt;" tutorial -- while a little old its concepts are still dead on and it does a great job of explaining the details of these issues.&amp;nbsp; If you need to pass data from/to parallel loops or sub-VIs consider putting the data in some sort of container (like a single element queue), and passing the container around.&lt;BR /&gt;&lt;BR /&gt;Hope this adds just a little more insight!&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;Message Edited by Travis M. on &lt;SPAN class="date_text"&gt;02-08-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;02:21 PM&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Nov 2025 01:48:35 GMT</pubDate>
    <dc:creator>Travis_M.</dc:creator>
    <dc:date>2025-11-26T01:48:35Z</dc:date>
    <item>
      <title>local vs property node</title>
      <link>https://ni.lithium.com/t5/LabVIEW/local-vs-property-node/m-p/321755#M166101</link>
      <description>&lt;DIV&gt;what is the difference between local variables and property nodes concerning best practices and performance&amp;nbsp; ??&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;James&lt;/DIV&gt;</description>
      <pubDate>Tue, 07 Feb 2006 22:59:41 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/local-vs-property-node/m-p/321755#M166101</guid>
      <dc:creator>James_R</dc:creator>
      <dc:date>2006-02-07T22:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: local vs property node</title>
      <link>https://ni.lithium.com/t5/LabVIEW/local-vs-property-node/m-p/321762#M166105</link>
      <description>&lt;P&gt;If possible, you always want to pass data to/from your front panel controls/indicators with wires.&amp;nbsp; If this won't suffice (parallel loops, e.g.), then you will want to use locals.&amp;nbsp; Try to avoid using the "Value" property unless you must write to&amp;nbsp;your controls/indicators&amp;nbsp;in a subVI.&amp;nbsp; The "Value" property is very slow compared to locals due to threading issues associated with property nodes.&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;-D&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 07 Feb 2006 23:07:43 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/local-vs-property-node/m-p/321762#M166105</guid>
      <dc:creator>Darren</dc:creator>
      <dc:date>2006-02-07T23:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: local vs property node</title>
      <link>https://ni.lithium.com/t5/LabVIEW/local-vs-property-node/m-p/321811#M166126</link>
      <description>&lt;DIV&gt;Since you compare the two in one sentence, you must mean "Value property nodes". &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;As Darren said, property nodes are expensive. Check out my speed comparison VI in this old thread:&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;A href="https://forums.ni.com/t5/LabVIEW/local-variable-vs-property-node-gt-value/m-p/292605#M153611" target="_blank" rel="noopener"&gt;https://forums.ni.com/t5/LabVIEW/local-variable-vs-property-node-gt-value/m-p/292605#M153611&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;(Of course if you need to write to a &lt;U&gt;signaling value property&lt;/U&gt; in order&amp;nbsp;to fire an event, a local variable won't work. You need the property node.)&lt;/DIV&gt;</description>
      <pubDate>Wed, 26 Nov 2025 01:48:17 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/local-vs-property-node/m-p/321811#M166126</guid>
      <dc:creator>altenbach</dc:creator>
      <dc:date>2025-11-26T01:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: local vs property node</title>
      <link>https://ni.lithium.com/t5/LabVIEW/local-vs-property-node/m-p/322311#M166344</link>
      <description>&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P class="MsoNormal"&gt;Hello all,&lt;BR /&gt;&lt;BR /&gt;To take it one step further, the speed hit comes from the fact that these items run in the UI thread along with all of your other user interface actions (speed), and copies are always made of the data (performance AND speed)!&amp;nbsp; Check out the "&lt;A href="https://forums.ni.com/t5/LabVIEW-Development-Best/LabVIEW-Performance-and-Memory-Management/ta-p/3512984" target="_blank" rel="noopener"&gt;LabVIEW Performance and Memory Management&lt;/A&gt;" tutorial -- while a little old its concepts are still dead on and it does a great job of explaining the details of these issues.&amp;nbsp; If you need to pass data from/to parallel loops or sub-VIs consider putting the data in some sort of container (like a single element queue), and passing the container around.&lt;BR /&gt;&lt;BR /&gt;Hope this adds just a little more insight!&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;Message Edited by Travis M. on &lt;SPAN class="date_text"&gt;02-08-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;02:21 PM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Nov 2025 01:48:35 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/local-vs-property-node/m-p/322311#M166344</guid>
      <dc:creator>Travis_M.</dc:creator>
      <dc:date>2025-11-26T01:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: local vs property node</title>
      <link>https://ni.lithium.com/t5/LabVIEW/local-vs-property-node/m-p/1825415#M625619</link>
      <description>&lt;P&gt;Really good Thread thanks&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2012 06:43:53 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/local-vs-property-node/m-p/1825415#M625619</guid>
      <dc:creator>Rajmohan</dc:creator>
      <dc:date>2012-01-04T06:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: local vs property node</title>
      <link>https://ni.lithium.com/t5/LabVIEW/local-vs-property-node/m-p/2241724#M712347</link>
      <description>&lt;P&gt;Hello travis could you please pour in some more information on Property node concept and whn can it be best used?? Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2012 10:22:20 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/local-vs-property-node/m-p/2241724#M712347</guid>
      <dc:creator>vinod00</dc:creator>
      <dc:date>2012-12-03T10:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: local vs property node</title>
      <link>https://ni.lithium.com/t5/LabVIEW/local-vs-property-node/m-p/3282726#M959153</link>
      <description>&lt;P&gt;Most of the threads address time penalities&amp;nbsp;writing values, not reading them.&lt;/P&gt;&lt;P&gt;In a new app I am reading the propert value of &amp;nbsp;"STOP", as the node has an error cluster input.&lt;/P&gt;&lt;P&gt;That extra input helps with Data Flow paradigm.&lt;/P&gt;&lt;P&gt;Also I can "OR" the nodes error cluster output and "STOP" to a loop termination.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So what's the cost compared to encalsuplating "STOP" in a sequence or case structure?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2016 18:20:38 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/local-vs-property-node/m-p/3282726#M959153</guid>
      <dc:creator>Pappion</dc:creator>
      <dc:date>2016-04-15T18:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: local vs property node</title>
      <link>https://ni.lithium.com/t5/LabVIEW/local-vs-property-node/m-p/3282729#M959155</link>
      <description>&lt;P&gt;You can test it yourself.&amp;nbsp; Oviously the property node is far worse.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;IMG src="https://ni.lithium.com/ni/attachments/ni/170/959155/1/Example_VI.png" border="0" alt="" title="" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2016 18:29:33 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/local-vs-property-node/m-p/3282729#M959155</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2016-04-15T18:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: local vs property node</title>
      <link>https://ni.lithium.com/t5/LabVIEW/local-vs-property-node/m-p/3282735#M959157</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/273761"&gt;@Pappion&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;Most of the threads address time penalities&amp;nbsp;writing values, not reading them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Your use of a property node also precludes the use of latch action, which is the typical mechanical action of a stop button. What does the button do? What is the rest of the code architecture?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We cannot really tell without seeing the entire diagram.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this is a toplevel stop to end the program, I would eliminate it anyway and use an event structure for the panel close event. It is not normal or intuitive to close an program with a special stop button in some poorly defined panel location, but &lt;U&gt;everybody&lt;/U&gt; knows the meaning of the [X] in the upper right. You can always discard the event and handle special shutdown code. You could for example enqueue the stop command at the opposite end in that event case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can do that in a small parallel loop that just sits there, but enqueues an exit command if the user tries to close the panel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;IMG src="https://ni.lithium.com/ni/attachments/ni/170/959157/1/PanelClose.png" border="0" alt="" title="" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2016 20:44:11 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/local-vs-property-node/m-p/3282735#M959157</guid>
      <dc:creator>altenbach</dc:creator>
      <dc:date>2016-04-15T20:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: local vs property node</title>
      <link>https://ni.lithium.com/t5/LabVIEW/local-vs-property-node/m-p/3282791#M959175</link>
      <description>&lt;P&gt;They are Test Methods for IP. So no, I can not share the APP.&lt;/P&gt;&lt;P&gt;The Event X close suggestion is useful. I will have to try it some time. Right now, I have no need for it.&lt;/P&gt;&lt;P&gt;I want to avoid using the ABORT button, and do error processing, hence the queue redirection to Exit State.&lt;/P&gt;&lt;P&gt;Anyway I did do my own testing, and feel like I'm goofing off....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://ip1.i.lithium.com/3355142519fe49b148e1412270d62d9e8962a43f/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f31383139393669464134443134383343393934304631382f696d6167652d73697a652f6f726967696e616c3f763d6c7a2d312670783d2d31" border="0" alt="Stop_Method_Timer.png" title="Stop_Method_Timer.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2016 21:14:38 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/local-vs-property-node/m-p/3282791#M959175</guid>
      <dc:creator>Pappion</dc:creator>
      <dc:date>2016-04-15T21:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: local vs property node</title>
      <link>https://ni.lithium.com/t5/LabVIEW/local-vs-property-node/m-p/3282808#M959179</link>
      <description>&lt;P&gt;I guess you see the point. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Having a conditional terminal inside a FOR loop also costs something of course.&lt;/P&gt;&lt;P&gt;You can double the speed of all the fast loops by just disabling debugging.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Still, if you don't do it in a tight loop, it does not matter too much ....&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2016 21:57:11 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/local-vs-property-node/m-p/3282808#M959179</guid>
      <dc:creator>altenbach</dc:creator>
      <dc:date>2016-04-15T21:57:11Z</dc:date>
    </item>
  </channel>
</rss>

