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 

Search found 7 matches
DPlot Forum Index
Author Message
  Topic: DPLOT structure lpszCommands parameter
Gogeta70

Replies: 5
Views: 23109

PostForum: C, C++, C#   Posted: Wed Mar 13, 2013 10:58 am   Subject: DPLOT structure lpszCommands parameter
Perfect, thank you.
  Topic: DPLOT structure lpszCommands parameter
Gogeta70

Replies: 5
Views: 23109

PostForum: C, C++, C#   Posted: Tue Mar 12, 2013 11:19 am   Subject: DPLOT structure lpszCommands parameter
I see, so you can make DPlot resize the arrays.

Is there any max value for MaxPoints or MaxCurves? Say if i set one of those to 1,000,000 (which is just ridiculous) and then returned PLUGIN_BADARRA ...
  Topic: DPLOT structure lpszCommands parameter
Gogeta70

Replies: 5
Views: 23109

PostForum: C, C++, C#   Posted: Mon Mar 11, 2013 6:04 pm   Subject: DPLOT structure lpszCommands parameter
Ahh, never mind. After searching around DPlot's help file, i found out dplot provides the string in the lpszCommands parameter.

Doing:
strcpy(DPlot->lpszCommands, commands);
Did the the trick.
  Topic: DPLOT structure lpszCommands parameter
Gogeta70

Replies: 5
Views: 23109

PostForum: C, C++, C#   Posted: Mon Mar 11, 2013 5:49 pm   Subject: DPLOT structure lpszCommands parameter
I'm writing a file import plugin for dplot. Since a single curve can only contain up to 1024 points, i'm using multiple curves to represent a single line in a graph. Because of this, i need to set the ...
  Topic: Creating a file import plugin, need to set number format
Gogeta70

Replies: 5
Views: 21729

PostForum: C, C++, C#   Posted: Tue Mar 05, 2013 5:41 pm   Subject: Creating a file import plugin, need to set number format
Thanks for all the help! I'm finally getting somewhere with all this now. Smile
  Topic: Creating a file import plugin, need to set number format
Gogeta70

Replies: 5
Views: 21729

PostForum: C, C++, C#   Posted: Tue Mar 05, 2013 5:09 pm   Subject: Creating a file import plugin, need to set number format
Perfect! Thank you.

One more question, just so i'm sure.

Say i write a plugin to import a file that has say, 3 curves. For the second curve, do write to X and Y[DPlot->MaxPoints], and for the ...
  Topic: Creating a file import plugin, need to set number format
Gogeta70

Replies: 5
Views: 21729

PostForum: C, C++, C#   Posted: Tue Mar 05, 2013 12:15 pm   Subject: Creating a file import plugin, need to set number format
Hi, i'm creating a DPlot plugin to import a custom file format that is generated by another program i wrote. This program takes data from electrical meters that monitor amps and voltage over a period ...
 
Page 1 of 1
All times are GMT - 5 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group