<?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 Determine Memory Usage in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Determine-Memory-Usage/m-p/3172729#M916590</link>
    <description>&lt;P&gt;Does LabVIEW have the tools available to write a small little script to just run in the background and watch a few applications and processes and report on their memory usage over time?&lt;/P&gt;</description>
    <pubDate>Fri, 31 Jul 2015 14:29:11 GMT</pubDate>
    <dc:creator>DailyDose</dc:creator>
    <dc:date>2015-07-31T14:29:11Z</dc:date>
    <item>
      <title>Determine Memory Usage</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Determine-Memory-Usage/m-p/3172729#M916590</link>
      <description>&lt;P&gt;Does LabVIEW have the tools available to write a small little script to just run in the background and watch a few applications and processes and report on their memory usage over time?&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2015 14:29:11 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Determine-Memory-Usage/m-p/3172729#M916590</guid>
      <dc:creator>DailyDose</dc:creator>
      <dc:date>2015-07-31T14:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Determine Memory Usage</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Determine-Memory-Usage/m-p/3172733#M916593</link>
      <description>&lt;P&gt;&lt;A href="https://decibel.ni.com/content/docs/DOC-3728" target="_self"&gt;Here is an example that shows how to get the total processor use.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You can change the InstanceName input to match the application you want to monitor.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit: &lt;A href="https://decibel.ni.com/content/docs/DOC-2051" target="_self"&gt;I found this other example that actually gives you an interface to plot multiple instances.&lt;/A&gt; Though, the instances load as "1", "2", "3", etc. I'm not sure if this is the only way to refer to the instances, maybe someone else on here can give more insight in to this behavior.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2015 14:48:19 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Determine-Memory-Usage/m-p/3172733#M916593</guid>
      <dc:creator>James.M</dc:creator>
      <dc:date>2015-07-31T14:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: Determine Memory Usage</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Determine-Memory-Usage/m-p/3172745#M916595</link>
      <description>&lt;P&gt;Inital trials are producing errors and I'm guessing because my initialization is incorrect in more than one way. &amp;nbsp;These descriptors (CategoryName, CounterName, InstanceName) aren't exaclty telling... at least to someone who's not a .net guy or even a true programmer at that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://ip1.i.lithium.com/6fdc102f5267ca95adff7428e95375d984d4a407/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f31373035343769383444434437383339424545384539452f696d6167652d73697a652f6f726967696e616c3f763d6d70626c2d312670783d2d31" border="0" alt="Capture.JPG" title="Capture.JPG" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2015 15:08:33 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Determine-Memory-Usage/m-p/3172745#M916595</guid>
      <dc:creator>DailyDose</dc:creator>
      <dc:date>2015-07-31T15:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Determine Memory Usage</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Determine-Memory-Usage/m-p/3172747#M916597</link>
      <description>&lt;P&gt;&lt;STRIKE&gt;I edited my response earlier. See the second link I put in there. Try using "1", "2", etc as the Instance names, though I'm not sure how to link those to specific applications.&lt;/STRIKE&gt;&lt;/P&gt;
&lt;P&gt;See below.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2015 15:13:58 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Determine-Memory-Usage/m-p/3172747#M916597</guid>
      <dc:creator>James.M</dc:creator>
      <dc:date>2015-07-31T15:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Determine Memory Usage</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Determine-Memory-Usage/m-p/3172750#M916599</link>
      <description>&lt;P&gt;Got it! Use "Process" instead of "Processor", "% Processor Time", and "chrome". Should work fine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The first example I linked to is utilizing the Processor category, which just shows CPU usage by the processor cores. The second example I linked to is great because it shows all of the different categories/counters/instances in an easy user interface. Tinker with that to get the exact instance names you want, etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;For you, and those who find this thread in the future, here is all of the information in one post.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://decibel.ni.com/content/docs/DOC-3728" target="_blank"&gt;Monitor total CPU Usage or cores.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://decibel.ni.com/content/docs/DOC-2051" target="_blank"&gt;UI to browse for all Categories, Counters, and Instances.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Chrome CPU Usage snippet:&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://ip1.i.lithium.com/e0896930638577fa9d3a2e351d6db9081c185d70/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f31373035353469443233463839423044374330323343302f696d6167652d73697a652f6f726967696e616c3f763d6d70626c2d312670783d2d31" border="0" alt="CPU Usage LV821_BD.png" title="CPU Usage LV821_BD.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2015 15:24:37 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Determine-Memory-Usage/m-p/3172750#M916599</guid>
      <dc:creator>James.M</dc:creator>
      <dc:date>2015-07-31T15:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Determine Memory Usage</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Determine-Memory-Usage/m-p/3172789#M916618</link>
      <description>&lt;P&gt;Appreicate the help. &amp;nbsp;It looks like there may be a couple bugs in the Performance Monitor.vi &amp;nbsp;It's possible it's a version bug, not sure yet. &amp;nbsp;But I get the idea. &amp;nbsp;Anyways, this should be plenty to kick off with. &amp;nbsp;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2015 15:55:28 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Determine-Memory-Usage/m-p/3172789#M916618</guid>
      <dc:creator>DailyDose</dc:creator>
      <dc:date>2015-07-31T15:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Determine Memory Usage</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Determine-Memory-Usage/m-p/3172816#M916625</link>
      <description>&lt;P&gt;Curious, though. &amp;nbsp;What about on a Linux system?&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2015 16:30:35 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Determine-Memory-Usage/m-p/3172816#M916625</guid>
      <dc:creator>DailyDose</dc:creator>
      <dc:date>2015-07-31T16:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Determine Memory Usage</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Determine-Memory-Usage/m-p/3172830#M916633</link>
      <description>&lt;P&gt;That, I do not know.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2015 17:10:13 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Determine-Memory-Usage/m-p/3172830#M916633</guid>
      <dc:creator>James.M</dc:creator>
      <dc:date>2015-07-31T17:10:13Z</dc:date>
    </item>
  </channel>
</rss>

