HP ESA-E Series Programmer's Manual page 125

Esa spectrum analyzers
Table of Contents

Advertisement

/*Wait for SRQ */
WaitForSRQ();
/*Disable and uninstall the interrupt handler*/
viDisableEvent
viUninstallHandler(viESA, VI_EVENT_SERVICE_REQ,
mySrqHdlr,ViAddr(10));
/*Clear the analyzer status register*/
viPrintf(viESA,"*SRE 0 \n");
/*Clear the status byte of the analyzer*/
viPrintf(viESA,"*CLS\n");
/*Close the session*/
viClose(viESA);
viClose(defaultRM);
}
Chapter 3
Status Register–Determine When a Measurement is Done
(viESA, VI_EVENT_SERVICE_REQ,VI_HNDLR);
Programming Examples
3-61

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents