ГОСТ Р ИСО/МЭК 10373-6—2015
(
printf{"Cannot, eliocate memory");
free(pTime);
tre e
(pVolts); free(p’JSB); freefpLSB);
return 0;
1
l*** End o! memory allo ca tio n***/
i f ( !
(sampie_eount-readC3v(!namefpTimetpVolts>
))
return
0; /*
reading data
*/
if (!(n_LMA-Sliding_LMA(£c,sample_count,pTime,pVolt.f,lout,pLMA_time,pUSB,pLSB)>>
return 0;
/**•** OxOG€?SSifi<9 d^at/a •*♦♦•*****)►***♦’***♦’***♦’***♦’***♦’***♦’***♦’***♦’***♦’***♦’*»/
a trcp y(to u t, "LMA
_
");
atrcat (lo u t, tname);
atatua-writecsv(lout,n_LMA,pLMA_time,pUSB,pLSB); /* writing reaulta in a file «/
Noise_STD(n_LMA,pfSB.pLSB,4atd_L"SB,4std_LSB); /* evaluating noiae floor */
relerence PICC.“>;
Result Diaplay
p rin tf(" \n " );
p rln tt(’’, ***•**•**••» **» » ***» <**»<**»<**»<**»<**»<**»<**»<**»<**,’\n " );
p rin t! <” Noise floor : \n">;
print!
(”
standard deviation at !с-*!з:
’.7.
if mV\n",std_C3B*1000>
;
printf
(”
standard deviation at 1с-1з:
*7.
It mV\n",std_LSB»10G0>
;
print!(" Note: Displayed reaulta are meaning!ul only when\n");
pr^nt!
(”
the sense coil’s signal
is
recorded
w ith
a\n">;
printt("
♦«**♦««*♦««*♦««*♦««*♦««*♦««*♦««**#**+* **4* •* +««** 4• «4Н
1*\n ">;
free(pTime);
!ree(pVolts);
1гее(pLMA_time);
fre e (
p
US
b
T;
tree(pLGB);
return
1
;
/**.*■»***»*• End fain
(Введено дополнительно. Изм. A2:2012.)
(Измененная редакция. Поправка Сог.1:2013.)
201