Page 1 of 1

System.IndexOutOfRangeException

Posted: Tue May 02, 2006 6:07 pm
by 9637279
Hi,
I am doing real time data acquisition with about 5 fast lines
and 3 point series. Ones in a while we get an exception like this:

"System.IndexOutOfRange Exception
Index was outside the bounds of the array
Teechart.Styles.ValueList.get_Last()
Teechart.Series.CalcFirstLastVisibleIndex()
Teechart.Series.DrawSeries() "

I seem not able to capture the exception. From the info above,
could you say if it occured with one of the fastLines or one of the
Points-series?
Is there a way to handle this gracefully? Presently the graph is blanked and crossed out with a red cross.

Thanks for your help
fano

Posted: Wed May 03, 2006 9:06 am
by narcis
Hi fano,

It is very difficult for us to guess not being able to reproduce the issue here nor having the call stack of the error.

Could you please send us an example we can run "as-is" to reproduce the problem here?

You can post your files at news://www.steema.net/steema.public.attachments newsgroup.