06-04-2012 07:40 AM
I'm working on an application: Whichever I utlise several
canvas (2 to 8) for displaying analog signals,
the canvas are refreshed 25 times per second, one at a time.
Now I test my application, version and release using
an optimizing compiler,
and I noticed that when I launch my application from
the development environment LabWindows / CVI
The good speed at which signals are displayed 25 times per second.
But when I run my application, with the same binary executable,
and in the case or the development environment LabWindows / CVI is
not in use,
the display speed of the signals is slowed so significantly.
I am looking for any parameters or functions to be used to maintain
the performance of my application.
Thank you for your cooperation.
06-04-2012 09:50 AM - edited 06-04-2012 09:51 AM
I'm a little confused on your wording here. Is the executable slower when running inside the environment or outside? Are you running a debug version when it is slower?
However, you mention that you are using the canvases to display analog signals. Is there a reason you are not using the CVI Graph control? The Graph control is designed specifically for displaying analog signals and is likely to give you better performance than a canvas. Plus it is a lot easier to use because it has an API for plotting analog signals.
06-04-2012 11:03 AM
It’s faster when running in inside the environment,
It’s a release version in both cases,
Usually, we found that the graph are faster than The Graph control.
07-04-2012 05:05 AM
I'm using the Canvas Control in order to Graph Data like is explain
on this web page http://zone.ni.com/devzone/cda/epd/p/id/3475
My hardware is an industrial computer , with a CPU card from IEI Technology which the reference is:
WSB-9454 Intel® 945G with LGA775 Core 2 Duo CPU FSB 1066MHz, VGA, Dual PCIE GbE, SATAII ,
four custom acquisition boards provided by our customer; and the software is running on Windows XP SP3
Now, i running the application with no graphics hardware acceleration,
the data are quickly plotted in all cases.
I'm looking for a solution to solve this hardware incompatibility?