LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What causes the error at Drawmgr.cpp line 2931

This occurs when my LabviewRuntime v6.1 program runs overnight, running an experiment (no operator). Afterwards the program will not restart unless the computer is rebooted.
0 Kudos
Message 1 of 2
(2,249 Views)
> This occurs when my LabviewRuntime v6.1 program runs overnight,
> running an experiment (no operator). Afterwards the program will not
> restart unless the computer is rebooted.
>

You don't mention what OS this is on, but I suspect it is Win9x. The
problem stems from the fact that the video or printer driver is
returning an error when LV tries to select a drawing object.

This is normally solved by determining if it is the print or the video
driver, then reporting the problem to the manufacturer. Often they will
already have a newer driver on their download site, but it didn't get
shipped with the computer.

Similarly, if it is the video driver, changing depths will often fix it
as the bug may show up in the 256 color, but not in thousands or
m
illions of colors.

It is always possible that this bug is due to LabVIEW not releasing
resources, but in the past, 99% of these are due to the video or print
driver itself dropping resources until it runs out of memory and starts
returning errors. If you cannot resolve this, report it to NI technical
support and be sure to give information about the OS, video driver or
printer driver including version information if you can find it.

Greg McKaskle
0 Kudos
Message 2 of 2
(2,249 Views)