Agilent Technologies 81250 System Programming Manual And Scpi Reference page 341

Parallel bit error ratio tester
Hide thumbs Also See for 81250:
Table of Contents

Advertisement

Example Code
340
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
static bool doIt()
{
ViChar szParam[hp81200_DEFAULT_BUFFER_SIZE];
ViChar szAnalyzers[hp81200_DEFAULT_BUFFER_SIZE] = {0};
ViChar szGenerators[hp81200_DEFAULT_BUFFER_SIZE] = {0};
ViInt32 lAnalyzerCount = 0;
ViInt32 lGeneratorCount = 0;
ViInt32 lAnalyzerPortNumber = 0;
ViInt32 lGeneratorPortNumber = 0;
ViStatus lStatus = 0;
// ----------------------------------------------------------
// stop system
// reset system
// ----------------------------------------------------------
lStatus = hp81200_systemStop(hInstrument);
errHandling(lStatus, "hp81200_systemStop");
lStatus = hp81200_settingNew(hInstrument);
errHandling(lStatus, "hp81200_settingNew");
// ----------------------------------------------------------
// First, we want to generate a list of all analyzers and
// all generators, so that afterwards we can connect to ports
// ----------------------------------------------------------
// Determine number of clock groups
ViInt32 lClkGeneratorCount;
lStatus = hp81200_nrOfClockGroups_Q(hInstrument,
&lClkGeneratorCount);
errHandling(lStatus, "hp81200_nrOfClockGroups_Q");
// Loop over all clock groups
for (ViInt32 c = 1; c <= lClkGeneratorCount; c++)
{
ViInt32 lModuleCount;
Agilent 81250 Parallel Bit Error Ratio Tester, Programming Reference, March 2006
Main.cpp Application Code Using VXI Plug&Play

Advertisement

Table of Contents
loading

Table of Contents