ipromptf(addr, "SYSTem:ERRor?\n", "%t", into); // Query error register
if (atoi(into)) // Determine if error is present
{ // If errors present, print and exit
printf("\n\nThe program detected the following error(s):\n\n");
while (atoi(into))
{
printf("%s \t- in function %s\n", into, func_tion);
ipromptf(addr, "SYSTem:ERRor?\n", "%t", into); // Query error register
}
// Close communication
iclose(addr);
// Release SICL resource allocation; not needed for Windows NT
_siclcleanup();
printf("\n\nClose the window or press Alt-F4 to exit");
exit(1);
}
}
//
**********************************************************************
void time_out(char *func_name)
{
printf("\n\n\tThe program timed out in function: %s", func_name);
// Close communication
iclose(addr);
// Release SICL resource allocation; not needed for Windows NT
_siclcleanup();
printf("\n\nClose the window or press Alt-F4 to exit");
exit(1);
}
Chapter 1
Getting Started 45
Содержание E1445A
Страница 2: ......
Страница 14: ...Notes 12 Agilent E1445A User s Manual Contents...
Страница 18: ...Notes 16 Agilent E1445A Arbitrary Function Generator User s Manual...
Страница 19: ...Notes Agilent E1445A Arbitrary Function Generator User s Manual 17...
Страница 20: ...Notes 18 Agilent E1445A Arbitrary Function Generator User s Manual...
Страница 54: ...Notes 52 Getting Started Chapter 1...
Страница 84: ...Notes 82 Generating Standard Waveforms Chapter 2...
Страница 204: ...Notes 202 Arming and Triggering Chapter 5...
Страница 432: ...Figure 9 1 E1445A Status Groups and Associated Registers 430 AFG Status Chapter 9...
Страница 446: ...Notes 444 AFG Status Chapter 9...
Страница 464: ...Notes 462 Agilent E1445A Specifications Appendix A...
Страница 534: ...Notes 532 Agilent E1445A User s Manual Index...