Agilent Technologies Infiniium 8000A Programmer's Reference Manual page 116

Table of Contents

Advertisement

while ( more_errors )
{
write_IO(":SYSTEM:ERROR? STRING");
bytes_read = read_IO(error_str, 64L);
error_str[bytes_read] = '\0';
printf("Error string:%s\n", error_str ); /* write error msg to std IO */
if (fp != NULL)
fprintf(fp,"Error string:%s\n", error_str ); /* write error msg to file */
if ( error_str[0] == '0' )
{
write_IO("*CLS");
more_errors = FALSE;
if( fp != NULL)
}
} /* end while (more_errors) */
}
else
{
printf(" SRQ not generated by scope.\n ");
}
srq_asserted = FALSE;
}/* end srq_agilent */
Sample Programs
srqagi.c Sample Program
/* Clear event registers and queues,
fclose( fp );
6-22
except output */
/* scope did not cause SRQ */

Advertisement

Table of Contents
loading

Table of Contents