<?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: What is causing error 50202 in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1764782#M614409</link>
    <description>&lt;P&gt;Thanks for the good advice, Raven and Jeff.&amp;nbsp; I have attempted to make the changes you suggested and attached my latest code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If anyone else has&amp;nbsp;an idea&amp;nbsp;for solving my error, I would appreciate any suggestions.&lt;/P&gt;</description>
    <pubDate>Fri, 04 Nov 2011 19:24:47 GMT</pubDate>
    <dc:creator>rick.s.murphy@thyssenkrupp.com</dc:creator>
    <dc:date>2011-11-04T19:24:47Z</dc:date>
    <item>
      <title>What is causing error 50202</title>
      <link>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1763466#M614167</link>
      <description>&lt;P&gt;&lt;IMG src="http://forums.ni.com/t5/image/serverpage/image-id/57628i97326B134E2CE416/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Error 50202.png" title="Error 50202.png" align="center" /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After many hours (24-48 typically) of running, my application displays the error message shown above (error 50202).&amp;nbsp; The application sequentially fires outputs with NI 9485 modules and checks input voltage on a 9201 module, and then appends data to a text file.&amp;nbsp; The modules are installed on a cDAQ-9172 chassis.&amp;nbsp; A new text file is created every 12 hours.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When this error occurs, the computer seems to be running low on resources.&amp;nbsp; I could not launch windows explorer and wordpad simultaneously to grab the screen shot above.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The application was developed on Labview 10.&amp;nbsp; It is deployed on a Windows XP machine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any troubleshooting advice would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2011 22:05:07 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1763466#M614167</guid>
      <dc:creator>rick.s.murphy@thyssenkrupp.com</dc:creator>
      <dc:date>2011-11-03T22:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: What is causing error 50202</title>
      <link>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1763796#M614217</link>
      <description>&lt;P data-unlink="true"&gt;Please have a look at this KB.&amp;nbsp;[broken link removed; article no longer available]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Christian&lt;/P&gt;</description>
      <pubDate>Sat, 11 Oct 2025 21:59:25 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1763796#M614217</guid>
      <dc:creator>Christian Mergl</dc:creator>
      <dc:date>2025-10-11T21:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: What is causing error 50202</title>
      <link>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1764152#M614294</link>
      <description>&lt;P&gt;Thanks.&amp;nbsp; However, neither of those 2 findings apply to my situation.&amp;nbsp; I am using C Series&amp;nbsp;data acquisition&amp;nbsp;rather than E or M series.&amp;nbsp; I am also using an Intel P4 processor rather than an AMD processor.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any other leads or troubleshooting techniques would be highly appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2011 13:52:16 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1764152#M614294</guid>
      <dc:creator>rick.s.murphy@thyssenkrupp.com</dc:creator>
      <dc:date>2011-11-04T13:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: What is causing error 50202</title>
      <link>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1764190#M614297</link>
      <description>&lt;P&gt;Just a guess since you did not attach your code,&amp;nbsp; are you re-creating a DAQmx Task each time you use it?&amp;nbsp; This is poor practice and eventually causes this type of perfomance (memory leak) problem&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2011 14:10:22 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1764190#M614297</guid>
      <dc:creator>JÞB</dc:creator>
      <dc:date>2011-11-04T14:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: What is causing error 50202</title>
      <link>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1764304#M614315</link>
      <description>&lt;P&gt;No, I'm not recreating the task.&amp;nbsp; I have added attachments of my code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I originally used the DAQ Assistant to build my acquisition code.&amp;nbsp; That was in a loop.&amp;nbsp; I then exploded that into various components and moved the sub-vi containing the create task outside the loop.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2011 14:58:28 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1764304#M614315</guid>
      <dc:creator>rick.s.murphy@thyssenkrupp.com</dc:creator>
      <dc:date>2011-11-04T14:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: What is causing error 50202</title>
      <link>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1764306#M614316</link>
      <description>&lt;P&gt;One more sub-vi is attached.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2011 14:58:59 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1764306#M614316</guid>
      <dc:creator>rick.s.murphy@thyssenkrupp.com</dc:creator>
      <dc:date>2011-11-04T14:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: What is causing error 50202</title>
      <link>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1764562#M614357</link>
      <description>&lt;P&gt;Where in your VI is this error being generated?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have wires in there called Fail counters that have I32 indicators, but the wires seem to be a mix of blue (integer) and orange (floating point).&amp;nbsp; Logically they should be indicators, and since comparisons with floating point numbers can cause problems, I recommend fixing the code to convert all the wires to blue and eliminate the coercion dots.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How fast is your code running?&amp;nbsp; I don't see anything in your while loop that regulates the speed of your program.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note, there are also =0 and &amp;gt;0 functions on the comparison palette, you can eliminate the zero constant and all the extra wiring&amp;nbsp;by using them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is also a good idea to make your state machine enum a typedef, and use the typedef for all your constants.&amp;nbsp; That way if you later need to modify your state machine by adding another state, you don't have to replace or edit the dozens of state machine constants all over the VI.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2011 17:09:52 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1764562#M614357</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2011-11-04T17:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: What is causing error 50202</title>
      <link>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1764596#M614367</link>
      <description>&lt;P&gt;Raven's makes some good suggestions but,&amp;nbsp; I can't see an obvious source for the error- I thought about maybe the file size----but the error is not thrown from a sub.vi and nothing at the top level uses the error wire.&amp;nbsp; Its almost like some other service is leaking memory.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Oh, and break yourself of the habit of using bundle and unbundle-&amp;nbsp; use the "by name" versions to improve readability of the code- trust me you'll thank yourself . &lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2011 17:20:44 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1764596#M614367</guid>
      <dc:creator>JÞB</dc:creator>
      <dc:date>2011-11-04T17:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: What is causing error 50202</title>
      <link>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1764782#M614409</link>
      <description>&lt;P&gt;Thanks for the good advice, Raven and Jeff.&amp;nbsp; I have attempted to make the changes you suggested and attached my latest code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If anyone else has&amp;nbsp;an idea&amp;nbsp;for solving my error, I would appreciate any suggestions.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2011 19:24:47 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1764782#M614409</guid>
      <dc:creator>rick.s.murphy@thyssenkrupp.com</dc:creator>
      <dc:date>2011-11-04T19:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: What is causing error 50202</title>
      <link>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1764812#M614413</link>
      <description>&lt;P&gt;We still need to know where the error is being generated.&amp;nbsp; Try putting some probes on your various error wires to narrow it down.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2011 19:40:08 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1764812#M614413</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2011-11-04T19:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: What is causing error 50202</title>
      <link>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1764830#M614416</link>
      <description>&lt;P&gt;Raven,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only probes I've used is in the development environment.&amp;nbsp; I am getting this error on a deployment machine; it does not have labview development software.&amp;nbsp; Please clarify your suggestion.&amp;nbsp; Are you advising probes that I can compile into my executable?&amp;nbsp; If so, how do I do that?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2011 20:06:50 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1764830#M614416</guid>
      <dc:creator>rick.s.murphy@thyssenkrupp.com</dc:creator>
      <dc:date>2011-11-04T20:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: What is causing error 50202</title>
      <link>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1764878#M614428</link>
      <description>&lt;P&gt;I didn't realize you were using an executable on a PC without the development environment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can create a debuggable executable.&amp;nbsp; Then you use a PC with the development environment and use the Connect to a Remot Panel under the Operate menu to get to it.&amp;nbsp; But I'd be just as inclined to put some various error indicators on the different panels that you can view on the front panel, build a new executable and deploy that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did an explain error on -50202 on my PC and got this message.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"Error -50202 occurred at an unidentified location&lt;/P&gt;
&lt;P&gt;Possible reason(s):&lt;/P&gt;
&lt;P&gt;NI Platform Services:&amp;nbsp; A system call returned an error. The operation could not be completed as specified."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not a lot more information, but a bit more.&amp;nbsp; The runtime system probably doesn't have the error code defined in it the way the development environment does.&amp;nbsp; So now we know we are looking at NI Platform services.&amp;nbsp; I still don't know what in your code could possibly cause this error, but being able to pinpoint it to a function or subVI with some probes or error indicators would help.&amp;nbsp; Perhaps there is something else such as a driver that needs to be installed on your deployment PC that wasn't.&amp;nbsp; But if that was the case, then I wouldn't expect it to be able to run as long as it has before causing an error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;That earlier KB article that Christian posted has a link to this one AMD Multi-Core/CPU Systems Can Cause Unexpected Behavior in NI Driver Software.&amp;nbsp; Did you go into that one and see anything relevelant?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It points to Time clock issues.&amp;nbsp; I see your Write Data to Text File uses timestamps.&amp;nbsp; If you tried a version that doesn't use timestamps, does that change anything?&amp;nbsp; I know that won't be the ultimate fix, and I might be reaching for things here,&amp;nbsp;but if we can get an idea where the error is coming from, then maybe we can figure out how to truly fix it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a completely different type of PC you can try to run your program on to see if it does the same thing?&lt;/P&gt;</description>
      <pubDate>Sat, 11 Oct 2025 21:59:51 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1764878#M614428</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2025-10-11T21:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: What is causing error 50202</title>
      <link>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1768124#M614879</link>
      <description>&lt;P&gt;Well, I have now tried a different pc since the one I was using when this post began crashed over the weekend.&amp;nbsp; The 2nd PC has already generated the NI Platform Services error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I looked over the article and nothing immediately jumped out.&amp;nbsp; It refers to multcore systems, which I'm not using.&amp;nbsp; However, the timestamp in my data log is something I can remove.&amp;nbsp; I'll do that next.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2011 17:50:16 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1768124#M614879</guid>
      <dc:creator>rick.s.murphy@thyssenkrupp.com</dc:creator>
      <dc:date>2011-11-08T17:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: What is causing error 50202 (and system resource problem)</title>
      <link>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1772398#M615639</link>
      <description>&lt;P&gt;I have been working with NI tech support and have changed my code somewhat (the newest code is attached).&amp;nbsp; I did not remove the time stamp as discussed in the previous post.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The latest failure revealed itself as an error 6 at Format Into String and it occurred in my Write Data to Text File.vi.&amp;nbsp; I tried to open the data file and received a Windows error message "insufficient system resources exist to complete the requested service."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So we are trying to determine what is using the system resources, and which resource is too low.&amp;nbsp; Task Manager was running when the error occurred and the available memory had dropped from 558M when I started the program to 475M.&amp;nbsp; This drop occurred over a 12-18 hour period.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would appreciate any advice on how my program may be using up system resources.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for all of your help so far.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2011 15:32:19 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1772398#M615639</guid>
      <dc:creator>rick.s.murphy@thyssenkrupp.com</dc:creator>
      <dc:date>2011-11-11T15:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: What is causing error 50202 (and system resource problem)</title>
      <link>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1772532#M615667</link>
      <description>&lt;P&gt;attach&lt;/P&gt;
&lt;P&gt;Write Data to Text File.vi please&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2011 16:43:34 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1772532#M615667</guid>
      <dc:creator>JÞB</dc:creator>
      <dc:date>2011-11-11T16:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: What is causing error 50202 (and system resource problem)</title>
      <link>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1772570#M615672</link>
      <description>&lt;P&gt;Thanks. Here it is.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2011 17:08:51 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1772570#M615672</guid>
      <dc:creator>rick.s.murphy@thyssenkrupp.com</dc:creator>
      <dc:date>2011-11-11T17:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: What is causing error 50202 (and system resource problem)</title>
      <link>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1772600#M615679</link>
      <description>&lt;P&gt;One thing I noticed in that subVI.&amp;nbsp; Your format string for the Format into File has a \n in it.&amp;nbsp; But your string is in normal display and not \code display which means you will be literally writing out a slash and an "n" rather than the new line character.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2011 17:23:27 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1772600#M615679</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2011-11-11T17:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: What is causing error 50202 (and system resource problem)</title>
      <link>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1772608#M615682</link>
      <description>&lt;P&gt;I've attached a small example of the results file.&amp;nbsp; There is no literal "/n".&amp;nbsp; But there is a new line for each record.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2011 17:29:03 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1772608#M615682</guid>
      <dc:creator>rick.s.murphy@thyssenkrupp.com</dc:creator>
      <dc:date>2011-11-11T17:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: What is causing error 50202 (and system resource problem)</title>
      <link>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1773102#M615788</link>
      <description>&lt;P&gt;Using PoolMon.exe, I have found one tag that appears to increase its allocation over time.&amp;nbsp; That tag is called pal.&amp;nbsp; In an internet search for this tag, I found one link to nipalsm.exe.&amp;nbsp; Does anyone know what this file does and why it may be increasing its resource usage?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2011 22:58:12 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1773102#M615788</guid>
      <dc:creator>rick.s.murphy@thyssenkrupp.com</dc:creator>
      <dc:date>2011-11-11T22:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: What is causing error 50202 (and system resource problem)</title>
      <link>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1773172#M615800</link>
      <description>&lt;P&gt;Hi Rick,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Most kernel-mode memory allocations for NI-DAQmx and some other NI drivers go through the nipalk.sys driver, which uses the pool tag 'pal '. A gradual increase in allocations for this pool tag could be for a variety of causes:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;An application that creates many DAQmx tasks and never clears them, as others have suggested. However, your application does not do this: it creates two tasks up front and uses them for a long time. (Note that it does fail to clear one of the tasks, so if you were to run Low Cost Keypad Test.vi as a subVI, it would leak memory until the top-level VI stops running.)&lt;/LI&gt;
&lt;LI&gt;A memory leak in a DAQmx kernel driver.&lt;/LI&gt;
&lt;LI&gt;Memory fragmentation. nipalk.sys obtains memory from the Windows pool allocator and further subdivides it, so memory fragmentation may gradually lead to chunks of memory not getting returned to the pool allocator. However, this is likely to be more subtle.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I noticed that your program doesn't use the DAQmx Start VI. Instead, it relies on DAQmx Read and DAQmx Write automatically starting the tasks, which causes your program to constantly start and stop the tasks every time through the loop. Calling DAQmx Start for both of your tasks outside the loop would reduce memory fragmentation and significantly improve performance. If this turns out to be a memory leak in DAQmx, starting the tasks outside the loop might help work around it. Please try this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What version of NI-DAQmx are you using? It can't be terribly old, considering you're using LV 2010, but there may have been memory leaks fixed in the last year.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, you mentioned "available memory". In operating systems that have virtual memory, available memory is wasted memory, so this isn't a reliable indicator of a memory leak. Instead, I recommend periodically writing down the following statistics (or using PerfMon to record them) so that you can trend them over time:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;System commit charge&lt;/LI&gt;
&lt;LI&gt;Paged kernel memory&lt;/LI&gt;
&lt;LI&gt;Nonpaged kernel memory&lt;/LI&gt;
&lt;LI&gt;Process commit charge for your application process&lt;/LI&gt;
&lt;LI&gt;System handles/threads (probably less important for this situation)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The fact that poolmon says that the number of 'pal ' allocations is increasing makes me think you should see an increase in paged kernel memory, but I'm curious whether the process commit charge is also growing over time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One more thing: it would also be worth checking the system event log to see if there are any errors from NIPALK reported there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Brad&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Nov 2011 00:23:30 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/What-is-causing-error-50202/m-p/1773172#M615800</guid>
      <dc:creator>Brad_K</dc:creator>
      <dc:date>2011-11-12T00:23:30Z</dc:date>
    </item>
  </channel>
</rss>

