HP ESA-E Series Programmer's Manual page 121

Esa spectrum analyzers
Table of Contents

Advertisement

{
long lCount2 =0;
printf(".");
while ((lCount2++ < 100) && (iSrqOccurred
{
YIELD;
}
}
printf("\n");
}
/*Set the input port to the 50 MHz amplitude reference*/
void Route50MHzSignal(){
viQueryf(viESA, "*IDN?\n", "%t", &cIdBuff);
iResult = (strncmp( cIdBuff, hpESA_IDN_E4401B,
strlen(hpESA_IDN_E4401B)) && strncmp( cIdBuff,
hpESA_IDN_E4411B, strlen(hpESA_IDN_E4411B)));
if( iResult == 0 )
{
/*Set the input port to the 50 MHz amplitude reference
for the models E4411B, E4401B*/
viPrintf(viESA,"CAL:SOUR:STAT ON \n");
}
else
{
/* For the analyzers having frequency limits >= 3GHz,
prompt the user to connect the amplitude reference output to
the input*/
printf ("Connect amplitude reference output to the
input \n");
printf ("......Press any key to continue \n");
scanf( "%c",&cEnter);
/*Externally route the 50 MHz Signal*/
viPrintf(viESA,"CAL:SOUR:STAT ON \n");
}
Chapter 3
Status Register–Determine When a Measurement is Done
Programming Examples
==0))
3-57

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents