ГОСТ Р ИСО/МЭК 10373-6—2015
int inaex_A-0;
int index_A2-0;
int m a e x ch a in -O ;
int
1
-
0
;
aouble *tOUtput2-NL’LL;
int counter-0;
int rev_counter-0;
int \’HBR_step-0;
aouble VHBRlr-Q.O;
double VKBR_tt-0.0f
aouble tr aceum-O.0 ;
double tt_dccum-0.0 ;
int tr_counter-C ;
int ttc o u n te r-O ;
aouble t_one_sdmple-Q.Q;
double t lo - 0 .0 ;
double v lo -0 .0 ;
double thi-O.G;
aouble vhi-C.O;
tou tp u ti-to u tp u t;
(Введено дополнительно. Изм. A4:2012.)
Ь-Hmin;
envc-env;
envc2-envc;
switch (type>
case ‘A’:
<
swit.ch date)
case 106;
I
ninely-Hm ax*0.9;
five-Hmax*0.0b;
aixty-!lm ax»0.6;
tiag2-localiza aor (envc, toutput ,live,4 cro sses2,en v_ ien g th > ;
11
Finds
V. Ot Umax
i t (Пад2—
2}t t
i t th ere a re two occurrences, th ere s no
problem___
i
tpbone-crosses2->time;// Tercporaiy values are stored lor
fu tu re use
vpbone-crosses2->volt;
tpbfwo-Ciosses2->slg->tim.e;
vpbtwa-crosses2->sig->volt;
freelist<crosses2);
I
e ls e i f (flag2— Q>
/ l
. . . i f th ere i s no o cc u rre n c e ...
fprintt(st.dout,"b percent o! Hmax not reached - maybe wrong type
or b it r a t e ? \n">;
while ItoutputImdex_A|<crosses2-">sig->tLme)
index A *»;
e ls e i f (flag
2
>
2
>
I t
. . . i t th ere are more than two
occurrences__
\
П
...it must юе checked that "peaks"
comply the ISO r e s t r ic t io n s
74