EasyManua.ls Logo

Pendulum CNT-91 - Frequency Modulated Signals

Default Icon
264 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
{
fprintf(stderr,
"Usage:\n"
"%s USB|GPIB[:<Address>] [<Pacing>] [<Meas Func>]
[<Ref Freq>] [<Delta>]\n\n"
"Parameters description:\n"
" USB|GPIB - selects particular bus
interface,\n"
" <Address> - (optional) instrument's GPIB
address\n"
" (%d if omitted)\n"
" <Pacing> - (optional) pacing time between
measurements\n"
" (%lg s if omitted)\n"
" <Meas Func> - (optional) meas func to be used.
Possible values:\n",
argv[0], DefAddr, DefPacing);
for(inti=0;i<nMeasFuncs; i++ )
fprintf(stderr,
" %s\n",
StrMeasFuncs[i]);
fprintf(stderr,
" (%s if omitted)\n",
StrMeasFuncs[DefMeasFunc]);
fprintf(stderr,
" <Ref Freq> - (optional) frequency to be
measured\n"
" (%lg Hz if omitted)\n"
" <Delta> - (optional) acceptable frequency
error\n"
" (%lg Hz if omitted)\n",
DefRefFreq, DefDelta);
return false;
}
// convert RefVal and Delta for Period
pArgs->RefVal = pArgs->RefFreq;
if ( pArgs->bPeriod )
{
pArgs->RefVal=1/pArgs->RefVal;
pArgs->Delta *= pArgs->RefVal * pArgs->RefVal;
}
return true;
}
// check that measurement is correct
inline bool CheckMeas(double Val, CmdArgs const &Args)
{
Programming Examples
4-18 Error Code

Table of Contents

Other manuals for Pendulum CNT-91

Related product manuals