EasyManuals Logo

Agilent Technologies E3631A User Manual

Agilent Technologies E3631A
170 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #132 background imageLoading...
Page #132 background image
Chapter 6 Application Programs
Using the APPLy Command
132
. . . continued
void check_error(char *func_name)
{
/* Read error queue to determine if errors have occurred */
char message[80];
int length = 80;
IOOUTPUTS(ADDR, "SYST:ERR?", 9); /* Read the error queue */
IOENTERS(ADDR, message, &length); /* Enter error string */
while (atoi(message) != 0) /* Loop until all errors are read */
{
printf("Error %s in function %s\n\n", message, func_name);
IOOUTPUTS(ADDR, "SYST:ERR?", 9);
IOENTERS(ADDR, message, &length);
}
}
/**************************************************************************/
void state_save(void)
{
/* Store a instrument state in memory location 1. */
IOOUTPUTS(ADDR, "*SAV 1", 6); /* Save the state in memory location 1*/
}
/**************************************************************************/
End of Program 1

Table of Contents

Other manuals for Agilent Technologies E3631A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Agilent Technologies E3631A and is the answer not in the manual?

Agilent Technologies E3631A Specifications

General IconGeneral
BrandAgilent Technologies
ModelE3631A
CategoryPower Supply
LanguageEnglish

Related product manuals