NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
djaid
Posts: 3
0 Kudos

Display speed of canvas with LabWindows / CVI.


hello,

  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.

Active Participant
D_Biel
Posts: 643
0 Kudos

Re: Display speed of canvas with LabWindows / CVI.

[ Edited ]

Hi djaid,

 

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.

National Instruments
Product Support Engineer
Member
djaid
Posts: 3
0 Kudos

Re: Display speed of canvas with LabWindows / CVI.

Hi,

 

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.

 

 

Djaid

Member
djaid
Posts: 3
0 Kudos

Re: Display speed of canvas with LabWindows / CVI.

Hello,

 

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?

 

Thanks.

 

djaid

 

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page