LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error in drawmgr.cpp when running VI

I have a VI which is trying to draw the following items on the screen -

6 graphs

2 x realtime plots from DAQ
2 x Outputs from limit testing VI (= 4 waveforms + 2 additional waveforms)
2 x delayed graphs i.e. data from previous iterations.

all sampled at 200Hz

There is also 2 x colour ramps.

Every time i run the Vi i get a drawmgr error, i ahve tried everything on the ni website so far to no avail! I can run the VI successfully with only 1 of each item listed above (the second graphs are a repeat of a different channel).

Am i just asking Labview to draw to much on the screen? The screen is at 1024X800, the same error occurs at lower colours and lower resolutions too.

Will upgrading the v
ideo card/memory have any effect on this?

Any information would be appreciated.
0 Kudos
Message 1 of 8
(3,596 Views)
Are you running LabVIEW 6.0? if so try upgrading to LabVIEW 6.0.2. Install the free patch from our website.

A Rafiq
National Instruments
0 Kudos
Message 2 of 8
(3,596 Views)
I have already installed the patch to upgrade to 6.0.2, i still get the problems.

Regards R
0 Kudos
Message 3 of 8
(3,596 Views)
Hello,

These crashes (drawmgr.cpp) usually result from video driver problems...since LabVIEW is a completely graphical environment, it demands more from a video card than most other Windows programs. You should contact the manufacturer of your video card to make sure you are running the latest version of your video driver. If you are, and you still get the crashes, you should change your video adapter to the standard Microsoft VGA adapter...this will most probably stop the crashes. If it does, then you may want to consider getting a higher-performance video card.

I hope these suggestions help. Please let me know if you have any other questions. Have a pleasant day.

Sincerely,
Darren N.
NI Applications Engineer
0 Kudos
Message 4 of 8
(3,596 Views)
Hello,

These crashes (drawmgr.cpp) usually result from video driver problems...since LabVIEW is a completely graphical environment, it demands more from a video card than most other Windows programs. You should contact the manufacturer of your video card to make sure you are running the latest version of your video driver. If you are, and you still get the crashes, you should change your video adapter to the standard Microsoft VGA adapter...this will most probably stop the crashes. If it does, then you may want to consider getting a higher-performance video card.

I hope these suggestions help. Please let me know if you have any other questions. Have a pleasant day.

Sincerely,
Darren N.
NI Applications Engineer
0 Kudos
Message 5 of 8
(3,596 Views)
Darren wrote:
>
> Hello,
>
> These crashes (drawmgr.cpp) usually result from video driver
> problems...since LabVIEW is a completely graphical environment, it
> demands more from a video card than most other Windows programs. You
> should contact the manufacturer of your video card to make sure you
> are running the latest version of your video driver. If you are, and
> you still get the crashes, you should change your video adapter to the
> standard Microsoft VGA adapter...this will most probably stop the
> crashes. If it does, then you may want to consider getting a
> higher-performance video card.

In Win2000, how do you choose the VGA driver? I don't see that option
....

In Win9x it was easier to choose a standard VGA driver.

Best, Mark
0 Kudos
Message 7 of 8
(3,596 Views)
Mark,

I agree...hardware is much more difficult to deal with in Windows 2000. Anyway, I found this link on the Microsoft support site that describes how to set up the standard VGA driver:

http://support.microsoft.com/support/kb/articles/Q268/8/52.ASP?LN=EN-US&SD=gn&FR=0&qry=standard%20VGA%20adapter&rnk=2&src=DHCS_MSPSS_gn_SRCH&SPR=WIN2000

I hope this helps. Good luck, and have a good day.

Darren N.
0 Kudos
Message 8 of 8
(3,596 Views)
The drawmgr is a large file with a number of places that can throw a
failure. The line number would help to determine what is going on a
little more accurately, but yes, the problem is most likely with the
video driver. You don't need to change the card, but visit the
manufacturer's web site and see if they have a newer driver for the card
that you already have.

Greg McKaskle

"Ross@UL" wrote:
>
> I have a VI which is trying to draw the following items on the screen
> -
>
> 6 graphs
>
> 2 x realtime plots from DAQ
> 2 x Outputs from limit testing VI (= 4 waveforms + 2 additional
> waveforms)
> 2 x delayed graphs i.e. data from previous iterations.
>
> all sampled at 200Hz
>
> There is also 2 x colour ramps.
>
> Every time i run the Vi i get a drawmgr error,
i ahve tried everything
> on the ni website so far to no avail! I can run the VI successfully
> with only 1 of each item listed above (the second graphs are a repeat
> of a different channel).
>
> Am i just asking Labview to draw to much on the screen? The screen is
> at 1024X800, the same error occurs at lower colours and lower
> resolutions too.
>
> Will upgrading the video card/memory have any effect on this?
>
> Any information would be appreciated.
0 Kudos
Message 6 of 8
(3,596 Views)