DPlot Forum Index DPlot
http://www.dplot.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

6 decimal position limit?

 
Post new topic   Reply to topic    DPlot Forum Index -> C, C++, C#
View previous topic :: View next topic  
Author Message
Mad2Max



Joined: 03 Jan 2007
Posts: 16

PostPosted: Mon Mar 12, 2012 9:37 am    Post subject: 6 decimal position limit? Reply with quote

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
Back to top
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2290
Location: Vicksburg, Mississippi

PostPosted: Mon Mar 12, 2012 10:55 am    Post subject: Reply with quote

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.
_________________
David Hyde
support@dplot.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Mad2Max



Joined: 03 Jan 2007
Posts: 16

PostPosted: Tue Mar 13, 2012 6:02 am    Post subject: Reply with quote

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 ...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DPlot Forum Index -> C, C++, C# All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group