Page 1 of 1
TeeExport
Posted: Tue Dec 01, 2015 5:57 pm
by 16476632
- 1.jpg (52.92 KiB) Viewed 8302 times
- 2.jpg (21.44 KiB) Viewed 8302 times
When I try to save the raw data in text format using the TeeExport dialog box (slide 1) I quite often get an error reporting "not enough memory..." (slide 2). This situation mainly occurs for large series ( over 100'000 points).
It's stange: I save all the x-y couples for each series "by myself" with a very easy procedure and I don't notice that it was necessary to allocate memory for this action: with llops over series and number of points I never met any problems. Maybe you store the list in a listbox wich can be huge in some situations(?)
Could you tell me where the problem is comming from and how can I avoid it.
Thank you in advance for your answer.
JPM
Re: TeeExport
Posted: Tue Dec 01, 2015 6:16 pm
by 16476632
for information, I call the dialog box with th following procedure:
Code: Select all
procedure Exporter(var T ; var C : TChart);
var df, af : string;
begin
getdir(0,df);
if Go_to_Current_Scratch() then
begin
getdir(0,af);
TeeExport(TForm(T),C); // ,af);
end;
chdir(df);
end;
Re: TeeExport
Posted: Wed Dec 02, 2015 11:16 am
by yeray
Hello,
Are you pressing "Save..." or "Preview..."? If the later, the problem could be in notepad.
Could you please arrange a simple example project we can run as-is to reproduce the problem here?