Fluke PM6681R Outdoor Timer User Manual


 
/*Read minimum value*/
ibwrt(Counter, “:CALC:AVER:TYPE MIN; :CALC:IMM?”, 31);
ibrd(Counter, InString, 80);
InString[ibcnt] = ‘\0’;
printf(“Minimum = %s\n”, InString);
/*Read mean value*/
ibwrt(Counter, “:CALC:AVER:TYPE MEAN; :CALC:IMM?”, 32);
ibrd(Counter, InString, 80);
InString[ibcnt] = ‘\0’;
printf(“Mean = %s\n”, InString);
/*Read standard deviation value*/
ibwrt(Counter, “:CALC:AVER:TYPE SDEV; :CALC:IMM?”, 32);
ibrd(Counter, InString, 80);
InString[ibcnt] = ‘\0’;
printf(“Standard deviation = %s\n”, InString);
exit(0);
}
Programming Examples
‘C’ for National Instruments PC-IIA, Statistics 4-21