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 #54 background imageLoading...
Page #54 background image
{
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-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