Error Report D3DERR_DEVICELOST: Device lost (-2005530520)

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
Felix
Posts: 72
Joined: Tue Oct 29, 2013 8:10 am

Error Report D3DERR_DEVICELOST: Device lost (-2005530520)

Post by Felix » Tue Mar 25, 2014 2:24 pm

Hello Pasi,

I have today received the following error.

ArctionChart.GetImage() Exception: D3DERR_DEVICELOST: Device lost (-2005530520)

Code: Select all

public Image GetImage()
{
	try
	{
		using (var stream = new MemoryStream())
		{
			lcuChart.SaveToStream(stream);
			return Image.FromStream(stream);
		}
	}
	catch (Exception ex)
	{
		handleError("HardnessMapControl.GetImage(): " + ex.Message);
	}
	
	return null;
}
What does this error and where by it can be created?

ArctionTero
Posts: 42
Joined: Thu Mar 28, 2013 9:20 am

Re: Error Report

Post by ArctionTero » Wed Mar 26, 2014 6:58 am

Hi Felix,

I tried you code with some of our demos, but didn't get any errors. Could you tell us more about the case:
- all series you are using
- any real-time updates
- are you using extra threads
- which map, if any
- does that appear always or randomly
LightningChart Support Team, TK

Felix
Posts: 72
Joined: Tue Oct 29, 2013 8:10 am

Re: Error Report D3DERR_DEVICELOST: Device lost (-2005530520

Post by Felix » Fri Apr 04, 2014 8:33 am

Hi Tero,

The chart consists of the following parts.

IntensityGridSeries
+ 2x LineSeries cursor on the center display
+ 2x FreeFormPointLineSeries for the grid snap
+ PointIntensityGridSeries for the display of data items
+ BackgroundIntensityGridSeries for displaying a background image
+ PointIntensityGridSeries for the grid view
+ LimitsConturLineIntensityGridSeries

The chart is updated only when data is received. The interval is about 30 seconds.
The error does not occur on a regular basis.

The chart is not visible at the time of the call.

Version of the chart 5.5.1.2001

User avatar
ArctionPasi
Posts: 1367
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: Error Report D3DERR_DEVICELOST: Device lost (-2005530520

Post by ArctionPasi » Wed Apr 16, 2014 9:36 am

Hi Felix,

could you please post a Visual Studio project we could use to produce the problem.

Also please shared some details about your system. Especially video card type.
LightningChart Support Team, PT

Post Reply