Not enough data points to calculate functions

Support for Rt-Tools 2D Components for Visual Studio 2005 and 2008 WinForms Framework

Moderator: Horst Reichert

Not enough data points to calculate functions

Postby nehasaini » Fri Apr 30, 2010 10:06 am

Hi all,

I am developing a software for our client which is interacting with a machine and read values from the machine and plot the graph on PC.

I am using RT-Tools 2D version 1.0.11.

I am using visual studio 5 for this purpose.

The problem which is making me drag my hair is that, when the data points which are received back to the PC from the machine they are not plotted on the RT-Tools 2D at runtime (which is a requirement of the client)

But if I save all the data points in an array or table then make the points to plot, the tool run great.

All the time during plotting at runtime i am getting this error "Not enough data points to calculate functions".

Help me out in solving the problem for getting the Tool to plot the data points at runtime.

Any Kind of help is appreciable.

Thanks
help me out

:(
nehasaini
 
Posts: 1
Joined: Fri Apr 30, 2010 9:50 am

Re: Not enough data points to calculate functions

Postby Horst Reichert » Sun May 02, 2010 9:18 am

Dea Neha,
you propably have some calculated series connected to you graph, as e.g. interpolated lines, which require more than one or two data points. The error message you see is fired in this case.
Solution would be
a) connect the calculated series only if required ammout of data are available
b) set a handler for the CalculationError event of the relevant function series. This handler coud handle the case quietly not blocking the application.
If you have any further problems, please send the project and I will have a look.

Regards Horst
Horst Reichert
 
Posts: 282
Joined: Fri Apr 15, 2005 9:50 am


Return to Rt-Tools 2D for Visual Studio WinForms Framework

Who is online

Users browsing this forum: No registered users and 1 guest

cron