Search found 7 matches

by Gogeta70
Wed Mar 13, 2013 10:58 am
Forum: C, C++, C#
Topic: DPLOT structure lpszCommands parameter
Replies: 5
Views: 39320

Perfect, thank you.
by Gogeta70
Tue Mar 12, 2013 11:19 am
Forum: C, C++, C#
Topic: DPLOT structure lpszCommands parameter
Replies: 5
Views: 39320

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_BADARRAYSIZE, would it then provide an array that could contain up to 1,000,000 points/curves?
by Gogeta70
Mon Mar 11, 2013 6:04 pm
Forum: C, C++, C#
Topic: DPLOT structure lpszCommands parameter
Replies: 5
Views: 39320

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.
by Gogeta70
Mon Mar 11, 2013 5:49 pm
Forum: C, C++, C#
Topic: DPLOT structure lpszCommands parameter
Replies: 5
Views: 39320

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 curves that represent the same line to the same color. The problem is that chaining together comman...
by Gogeta70
Tue Mar 05, 2013 5:41 pm
Forum: C, C++, C#
Topic: Creating a file import plugin, need to set number format
Replies: 5
Views: 36610

Thanks for all the help! I'm finally getting somewhere with all this now. :)
by Gogeta70
Tue Mar 05, 2013 5:09 pm
Forum: C, C++, C#
Topic: Creating a file import plugin, need to set number format
Replies: 5
Views: 36610

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 third curve X and Y[DPlot-MaxPoints * 2]?
by Gogeta70
Tue Mar 05, 2013 12:15 pm
Forum: C, C++, C#
Topic: Creating a file import plugin, need to set number format
Replies: 5
Views: 36610

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 of time. Basically, i need to generate a line graph that uses the Y axis as the voltage and amp valu...