Hi Kirk,
Either you're running out of memory or your time-critical loop is not sleeping enough for you normal priority code to run. We have some tools available for troubleshooting situations like this, including the Real-Time System Manager and the
Execution Trace Toolkit.
The Real-Time System Manager (RTSM), which installs with LabVIEW Real-Time 7.1, allows you to monitor the CPU usage and memory usage on your controller. Be aware that the RTSM will utilize TCP/IP communication to send the results back to the host, thus taking up some room on the network. If you are unable to run the RTSM, try simplifying what you are sending back to the host so that
you can really view if the problem is that of memory or CPU usage.
The Execution Trace Toolkit provides even more detail as to exactly which threads are running at what times. It also allows you to view when you are calling the memory manager and when a thread is sleeping.
How much memory do you have in your 817x controller? You should be able to expand up to 512 MB of RAM. You might also try streamlining your time critical code as much as possible, ensuring that data flow is controlling the code throughout the program. For example, you can use the error handler to control data flow, rather than allowing the VI to execute code arbitrarily.
If you would like to attach your code, I can see if there are any ways we could increase the efficiency. However, it's possible that your system will simply not have the bandwidth to handle all of this.
Please let me know how I can help.
Regards,
Kristi H
National Instruments