Page 1 of 1

6 decimal position limit?

Posted: Mon Mar 12, 2012 9:37 am
by Mad2Max
Hi,
I'm writing you because I've been caught by a strange problem feeding dplot with data.
In a XYXY plot I'm sending a vector of double.
If I use decimal places of any number up to the 6th then everything is fine.
If I use decimal places over the 6th then dplot answers with:

In DPlot_Command, DdeConnect failed for topic=XYPlot
error code=0x0000400a

Maybe it's a problem in my code but, anyway, just to know if there is any limitation.

Thanks a lot,
Max

Posted: Mon Mar 12, 2012 10:55 am
by DPlotAdmin
That should work. I can't see how increasing the number of decimal places would cause that failure. It will force the number of digits to 12 or fewer, but if you exceed that you won't get an error. I suspect whatever happened was a coincidence and there is some other problem. You're welcome to send me your source.

Posted: Tue Mar 13, 2012 6:02 am
by Mad2Max
I've cut my code to test dplot and this way dplot works great even changing the decimal places.
So I guess you're right.
I'll give feedback to the forum in case the solution can be good for someone else.
Anyway good to know ...