11-27-2007 11:24 AM
11-27-2007 11:31 AM
11-27-2007 11:36 AM - edited 11-27-2007 11:37 AM
Does sound like a memory issue.
If you watch the memory usage does it keep increasing?
If you look at the LV process, do you see it page faulting?
Post your code so we can be of greater assistance.
11-27-2007 11:47 AM
@altenbach wrote:How much data do you actually have in memory?
11-27-2007 11:52 AM
What is the memory footprint of the LabVIEW process in the task manager? Does it increase over time?
Is the code such that memory buffers are re-used or does everything get newly allocated with each new picture?
11-27-2007 12:10 PM
11-27-2007 12:38 PM
11-27-2007 12:40 PM
No growth.....
Try watchin the processes tab and sort by top CPU use.
Is LV at the top while you are in the "frozen" state?
Ben
11-27-2007 04:10 PM
11-27-2007 05:15 PM
"I just reassigned the VI's execution priority to "normal" and the problem seems to have subsided. The priority was previously set to "above normal" ..."
That will expalin it if LV was doing a lot of number crunching of large data sets etc. Loops with "zero waits" will help.
LV use a concept called "Cooperative multi-Tasking" and harnesses the OS's services to provided that concept. The "Cooperative" part talks to the idea of porcesses making an efforts not to use all of the CPU without allowing other process to access the same. "Zero Waits" (zero constant wired to a wait ms) is one way that we can let LV know that tight number crunching loops can be interupted to handle other processes. The OS is involved because OS's like Windows will blindly assume that a thread that it schedules will willing give up the CPU after a while. If you don't have Zero-waits or you have heavy number crunching, the thread never releases the CPU. When you set the process to be above normal, LV and the OS did exactly what you said to do.
What exactly are you doing when LV uses all of the CPU?
Ben