| |
|
|
KHR | Hello together,
.
i want a large crowd Meßdaten aufbereiten and then as curve(n) present. The data go a File read and Arrays zwischengelagert
circa heavy flackernde Meßwerte in a übersichtlichen curve present to would like I these over Durchschnittsbildung calm the whole should then in the finished Program for five zahlenreihen weg
yet make I the in something so:
there's 5 arrays with 100 elementen Float-variables , with beginn with 0 filled
One set Meßwerte becomes read, each aray sustain one element registered
for each aray becomes the average determined,
The jeweiligen spots go geplottet
and moreover goes it with the next Datensatz Meßwerte.
Since I yet whom average with while-wend creep errechne, becomes everything infinite slow. self with Profan2cpp lasts it minutes To the screen vollgekritzelt is.
here time one integrally kurzer statement the data How tappt im dunkeln exist. real having The Files often over ten- or quite zwanzigtausend Datensätze (Lines)
25.07.2007;08:22:53;1874;63.3;0.019387;0.023140;0.024151;0.022312;-----;----- 25.07.2007;08:22:54;1871;63.3;0.028538;0.022725;0.025337;0.022793;-----;----- 25.07.2007;08:22:55;1914;63.3;0.024311;0.023610;0.022366;0.022739;-----;----- 25.07.2007;08:22:56;1889;63.3;0.021887;0.023453;0.019952;0.022303;-----;----- 25.07.2007;08:22:57;1895;63.3;0.027712;0.023644;0.021144;0.022193;-----;----- 25.07.2007;08:22:58;1902;63.3;0.023383;0.023765;0.022752;0.022195;-----;----- 25.07.2007;08:22:59;1891;63.3;0.026178;0.023538;0.022319;0.022224;-----;----- 25.07.2007;08:23:00;1912;63.3;0.024255;0.023965;0.021904;0.022195;-----;----- 25.07.2007;08:23:01;1898;63.3;0.021041;0.023673;0.024442;0.022237;-----;----- 25.07.2007;08:23:02;1895;63.3;0.024243;0.023550;0.022202;0.022322;-----;----- 25.07.2007;08:23:03;1919;63.3;0.029875;0.023874;0.022494;0.022521;-----;----- 25.07.2007;08:23:04;1930;63.3;0.027768;0.024126;0.022018;0.022461;-----;----- 25.07.2007;08:23:05;1914;63.3;0.020411;0.023905;0.020469;0.022334;-----;----- 25.07.2007;08:23:06;1915;63.3;0.027465;0.023837;0.023016;0.022474;-----;----- 25.07.2007;08:23:07;1924;63.3;0.020727;0.023959;0.023631;0.022536;-----;----- 25.07.2007;08:23:08;1891;63.3;0.020876;0.023436;0.021933;0.022374;-----;----- 25.07.2007;08:23:09;1867;63.3;0.020627;0.023159;0.020591;0.022087;-----;----- .... the first both Split Date and Time are uninteressant, first thereafter GEHTS correctly. go.
to lauter frustration over my Ideenlosigkeit Have I The recent Codes deleted has there someone ne idea, How so what faster weg could??
be hold unfortunately still no Programmer separate only one Profan-Wurschtler. |
|
|
| Gruß Karl-Heinz WIN XP home/Pro / XPROFAN 11 / P2CPP ATMEL + BASCOM Fan | 06/03/08 ▲ |
|
|
|
|
Jörg Sellmeyer | have You already times the List view.dll of Frank Abbing ausprobiert? at least The Durchschnittsberechnung of Values in a Listviewcontrol goes so in Sekundenbruchteilen. Nochmal to that understanding: from whom horizontalen data benötigst You whom average and this becomes then as Graph drawn? If you 20000+ data draw want, is But sincere said too integrally normal, that the one weilchen lasts. have You already time attempts, the whole on a Memory bitmap to drawing and these first, as they is done, view? Greeting Jörg |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 06/04/08 ▲ |
|
|
|
|
KHR | Hello Jörg
.
i think with the List view becomes the nix.
To my data:
Each slot contains The data for a Meßreihe.
i want The data the different Meßreihen calm
moreover must I then Mouse and Sprite mitteln, altogether 5 Meßreihen, each 100 Datensätze
figurative spoken: I schieb one Window over The 100 Datensätze rechne for each Meßreihe whom average from, plotte The Kurven moreover and schieb then the window a Datensatz moreover
the gives ne crazy Rechnerei for PC
The Time won't at plotten lost. I Have time attempts, the program without Graphikausgabe walk To let - means only calculate. there was no Zeitunterschied noticeable
therefore my question, whether there someone ne routine vorschlägt, with the one not whom long lane weg must, separate with of/ one short cut Time saving. sometimes sees one hold whom woods not sheer trees More and a Tipp of outer bring then whom AHA-effect.
. |
|
|
| Gruß Karl-Heinz WIN XP home/Pro / XPROFAN 11 / P2CPP ATMEL + BASCOM Fan | 06/04/08 ▲ |
|
|
|
|
Jörg Sellmeyer | Hm, what is with the List view becomes the nix? with the function AddItemValues(H,s,B,A) can You z.B. in the Nullkommanix The values of/ one slot zusammenrechnen, The You yourself with difficulty by Loop first reading and then add müßtest. the runs in Assemblergeschwindigkeit ex. I würds on your place time try. otherwise: a groben average can You get, if you The data one Satzes in a SortedListbox lädtst. then will need you only whom highest and niedrigsten worth add and share. is of course not the statistische average, but Perhaps hilfts you Yes. |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 06/04/08 ▲ |
|
|
|
|
| @KHR: Stell s us still time such a larger ones list available. |
|
|
| |
|
|
|
Thomas Freier | with the List view can it whom real story not detect. Dass doWhile-creep not the fastest is, is here already discusses been. mandatory the story over a Loop determined go (saving naturally Prog-Lines) and why creep? for the 5 Mittlelwerte of/ one row should still a Loop suffice. are it always 100 values for a story or up to 100? |
|
|
| Gruß Thomas Windows XP SP2, XProfan X2 | 06/04/08 ▲ |
|
|
|
|
Jörg Sellmeyer | whom story can tappt im dunkeln not calculate, but the zusammenrechnen the values is blitzschnell and shared through 100 ought to then too in Profan not too long last. |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 06/04/08 ▲ |
|
|
|
|
Thomas Freier | @Jörg, Yes, if it The 5x100 values as *.csv loading can. have time tested: List view1 clear, *.csv - loading, to charge, values in list view2 write. Time with my computer: Loop 100time = 578 ms ; 1000time = 5437 ms; 10.000time = 53.400 ms. The times go naturally badly, if it apiece slot The Number of values detect must. |
|
|
| Gruß Thomas Windows XP SP2, XProfan X2 | 06/04/08 ▲ |
|
|
|
|
| there's dozens take action, therefore over again the request circa a more Datensatz...
then can we Yes try The fastest Variante To detect - there mach so did i gladly with. |
|
|
| |
|
|
|
Jörg Sellmeyer | an List view can 64 Split present. man can means already time on a Slip ca 10-12 Datensätze reading, if one whom Einlesevorgang properly anpaßt.
The ermittelten values can Yes first in a aray abspeichern. then could one yet same ten Listviews create and the Berechnungen and the Ladevorgang Perhaps even in own Threads manage, b.z.w. several Instanzen the program The Berechnungen parallel make let and the data via SharedMemory truss. |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 06/04/08 ▲ |
|
|
|
|
Jörg Sellmeyer | I habs incidentally still not integrally understood: should five or 10000+ values gemittelt go?
1;3;6;4;3 = 1 +3 + 6 + 4 + 3 = 17/5
or 1;3;6;4;3 2;4;7;2;3 n1,n2:n3;n4;n5 ... 1 + 2 + n1/10000 and 3 + 4 + n2 /10000 u.s.w. |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 06/04/08 ▲ |
|
|
|
|
Frank Abbing |
here time one integrally kurzer statement the data How tappt im dunkeln exist. real having The Files often over ten- or quite zwanzigtausend Datensätze (Lines)
as well as I the see, find the data already in the CSV-stature!
i think with the List view becomes the nix.
this is so not sure. but I need More Info over your Files. otherwise comes The List view.dll with such Rechnereien spielend zurecht. and the coming into being new - individueller - functions is insofern ditto possible.
for such items bid itself too the XProfan-Inline-Assembler XPIA on. I faith not, that it sooo costly would, itself a speedy Rechenroutine To write. |
|
|
| |
|
|