EasyManuals Logo

Pendulum CNT-90 Series Programmer's Handbook

Pendulum CNT-90 Series
264 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #53 background imageLoading...
Page #53 background image
break;
}
// this is not pacing. fallthrough to next arg
nArg++;
}
case 3: // meas func
{
// copy Meas Func
int n = strlen(s);
if(n>=sizeof(pArgs->Func) /
sizeof(pArgs->Func[0]) )
{
// func is too long
bError = true;
break;
}
strncpy(pArgs->Func, s, n);
pArgs->Func[n] = 0;
// determine if it is period (and if it is valid
// at all)
n = CheckStr(s, n, StrMeasFuncs, nMeasFuncs);
if(n>=0)
{
pArgs->bPeriod = (n < nFirstFreq);
break;
}
// not a function specification. fallthrough
nArg++;
}
case 4: // Reference Value
{
if(1!=sscanf(s, "%lf", &(pArgs->RefFreq)) )
bError = true;
break;
}
case 5: // Delta
{
if(1!=sscanf(s, "%lf", &(pArgs->Delta)) )
bError = true;
break;
}
default:
bError = true;
}
}
// display usage string in a case of error
if ( bError )
Programming Examples
Error Code 4-17

Table of Contents

Other manuals for Pendulum CNT-90 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Pendulum CNT-90 Series and is the answer not in the manual?

Pendulum CNT-90 Series Specifications

General IconGeneral
BrandPendulum
ModelCNT-90 Series
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals