11-21-2006 01:16 PM
11-28-2006 07:53 PM
11-29-2006 11:53 AM
11-29-2006 11:59 AM
06-10-2009 08:31 AM
This is an old thread but closely describes some behavior I have with a RT target (cRIO) running 8.6. When connected to a PC over the network using remote panel all is well in the beginning but after time (~1hour) significant lag appears. Frustrating.
Additionally, the target CPU "creeps" up - eventually running at or near 100%! (Starting from less than 70%) The CPU reports a large increase working on "Timed Structures."
In shorter tests (~40min) with the development machine running in debug mode (no remote panel connected) I do not see any CPU creep.
I need to do a little more research (like leaving the development machine connected in debug mode for a LONG time to see if there is CPU creep) but if my problem is related to remote panel and there was some insight generated from this thread please post the conclusions.
Again, this might be unrelated and probably deserves a new thread but its worth a shot here anyway...
Thanks,
-Jolt
06-11-2009 01:12 PM
Hello Jolt,
The difference between running a remote panel and the VI in debug mode on the development machine is where the front panel is running. When you run the VI in debug mode the front panel is acutally running on the host machine. When you run the VI with the remote panel you are running the front panel on the RT target. This can make a difference on how much memory is being used on the RT target. If you were using a chart that keeps an infinite history length you will eventually run out of memory. Moreover, you have to redraw this array each iteration of the timed loop. Take a look and see if you are displaying and updating large chunks of data on the front panel. If this is the case you may want to consider running a host VI on the PC that is updated by Shared Variables, TCP or UDP communication.
06-11-2009 04:46 PM
Thanks Jon,
The "where is the Front Panel running" was something I was not clear on. Your other points are well taken but I think my situation does not apply. I have a couple of charts but limit their history to 100 points - everything else is numeric or simple strings. Furthermore, I see no increase in memory usage - just CPU utilization and especially the "timed structures" designation (what exactly does that mean?).
I already have most of the important data in shared variables but just haven't put time into create a test host app - I will probably try this on a limited basis ASAP.
After I posted I gathered some more info and went ahead and started a direct support request there at NI. I will probably post (or start a new, more specific thread) if/when we find out what is going on.
Thanks again for the reply - I am always eager to learn so don't hesitate to throw more wisdom/suggestions out there!
Cheers,
-Jolt