Appendix A
Verification Tests - C Programs
Functional Verification Test
These programs are designed to do the Functional Verification Tests found
in Chapter 2, "Verification Tests."
Example: Self-Test
The Functional Verification Test for the multiplexer modules consists of
sending the
*IDN?
command and checking the response. This test can be
used to verify that the multiplexer is connected properly and is responding
to a basic command.
#include <stdio.h>
#include <sicl.h>
#define ADDR "hpib7,9,14"
/* Address of device */
void main (void)
{
INST id;
/* Define id as an instrument */
char a[256] = {0};
/* Result variable */
int i;
ionerror (I_ERROR_EXIT);
id = iopen (ADDR);
/* Open instrument session */
iprintf(id, "*IDN?\n");
/* Send *IDN? command */
iscanf (id, "%t", a);
/* Get response */
printf("\n %s", a);
/* Print result */
getchar();
/* Pause */
iclose (id);
/* Close instrument session */
}
Appendix A
Example C Programs 63
Содержание Agilent E1345A
Страница 2: ......
Страница 8: ...Notes 6 E1343A 44A 45A 47A 55A 56A Service Manual ...
Страница 9: ......
Страница 10: ......
Страница 12: ...Notes 10 What s In This Manual E1343A 44A 45A 47A 55A 56A Service Manual ...
Страница 20: ...Figure 1 2 Initial Incoming Inspection Guidelines 18 General Information Chapter 1 ...
Страница 22: ...Notes 20 General Information Chapter 1 ...
Страница 49: ...Figure 3 2 E1343A E1344A E1345A E1347A Terminal Module Mechanical Parts Chapter 3 Replaceable Parts 47 ...
Страница 50: ...Figure 3 3 E1355A E1356A Terminal Module Mechanical Parts 48 Replaceable Parts Chapter 3 ...
Страница 54: ...Figure 4 1 E1343A E1344A E1345A E1347A Multiplexer Block Diagram 52 Service Chapter 4 ...
Страница 56: ...Figure 4 2 E1355A 56A Multiplexers Block Diagram 54 Service Chapter 4 ...
Страница 64: ...Notes 62 Service Chapter 4 ...
Страница 72: ...Notes 70 Example C Programs Appendix A ...
Страница 81: ...Figure B 2 E1343A 44A 45A 47A Terminal Module Mechanical Parts Appendix B Backdating Information 79 ...
Страница 82: ...Figure B 3 E1355A 56A Terminal Module Mechanical Parts 80 Backdating Information Appendix B ...
Страница 83: ......
Страница 84: ...Copyright Agilent Technologies Inc 2005 E1345 90013 E1345 90013 ...