HP ESA-E Series Programmer's Manual page 132

Esa spectrum analyzers
Table of Contents

Advertisement

Programming Examples
Determine if an Error has Occurred
/*Clear the analyzer status register*/
viPrintf(viESA,"*SRE 0 \n");
viPrintf(viESA,"*ESE 0 \n");
viPrintf(viESA,"STAT:QUES:ENAB 0\n");
viPrintf(viESA,"STAT:QUES:INT:ENAB 0\n");
/*Clear the status byte of the analyzer*/
viPrintf(viESA,"*CLS\n");
/*Close the session*/
viClose(viESA);
viClose(defaultRM);
}
3-68
Chapter 3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents