ГОСТ Р ИСО/МЭК 10373-6—2015
t.phione”Crossea_WORK->tliEe; // Temporary values are
stored lor future use
vpliione-cxoases_WORK->volt;
(crosses_WORK->t.»e>tpl’nwo 44 ftag_iR.pxov— 0)
-1
«
tp].ltwo-crosses_WORK-’>tlme; // Temporary values are
stored lor future use
vpljlcwo-crosses_WORK->volt;
flag_invpxov-l;
t
crosses_WORK-cxoases_WCRK->sig;
ximpxov*-*;
1
freelist(crosses^);
else// ...otherwise...
«
fpnnt£(stdout,"90 l! of Umax not reached! - Noise Too Hlgh?\r."»;
I
hlghretejcld-(Hmax»mlnvoltj/2;11 Calculates taxget
Ilag-locallzador<envc,‘.output,hlgl,xate_mld,4crosses3,env_lengUi);
//Finds target
if (flag—
2
)// ...if there are two occurrences,
there s no problem__
l
tpmidone-crossesi->time;// Temporary values ate stored for
future use
vpmidone-crosses!->volt;
freelist(crosses!»;
»
else// ...otherwise__
fprint.fiittdo.it,"Noise Too High \r.”);
tl-tplotwo-tphtone;// Definitive values are calculated and stored tor
display
tS-tplotwo-tpmldone;
г.б-Lptittwo-tplotwo;
a-mlnvolt;
tbend-r.phitwo;
// Other important values for the coming functions
elseaxt-tpnlone;
t.lst.artind-vph ioiie;
tbetaitind-vpmidone;
f.lendind-vplot.wo;
1
6endlnd-vpt.ltwo;
createtime (timeres,0,0,0,0,0,0,0,0,tl,tlstartmd,tIstart,tlendmd,
0
,0,
0
,0,
0
,0,
0
,0,t
5,
1
5startmdftfc,ttend,t6endina,a,tploone!;
(Измененная редакция. Изм. A4:2012.)
1
break;
I
I
break;
case *B’:
I
switch (rate:
(
78