Agilent Technologies 81250 System Programming Manual And Scpi Reference page 345

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

Advertisement

Example Code
344
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
// Make infinite loop with trigger using the imported demo
// segment
sprintf(szParam, "(1.0,'',(LOOP%d,1,INF,(BLOCK,0,64",
lLoopLevelCount);
if (lGeneratorPortNumber > 0)
sprintf(szParam, "%s,'walking64',0,0", szParam);
if (lAnalyzerPortNumber > 0)
sprintf(szParam, "%s,'walking64',0,0", szParam);
sprintf(szParam, "%s)))", szParam);
lStatus = hp81200_sequence(hInstrument, szParam);
errHandling(lStatus, "hp81200_sequence");
// Generate trigger signal from sequence
lStatus = hp81200_systemTriggerOutSource(hInstrument, 1, "SEQ");
errHandling(lStatus, "hp81200_systemTriggerOutSource");
// ------------------------------------------------
// Set measurement mode
// Compare and acquire about error
// ------------------------------------------------
if (lAnalyzerPortNumber > 0)
{
lStatus = hp81200_analyzerErrorCapture(hInstrument, 32768);
errHandling(lStatus, "hp81200_analyzerErrorCapture");
}
// ------------------------------------------------
// Save setting for later use
// ------------------------------------------------
lStatus = hp81200_settingSave(hInstrument, SETTING_NAME);
errHandling(lStatus, "hp81200_settingSave");
// ------------------------------------------------
// Start measurement
// ------------------------------------------------
lStatus = hp81200_systemStart(hInstrument);
errHandling(lStatus, "hp81200_systemStart");
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