/****************************************************************************/

void main(void)/* Run the program */

{

char message[80]; intlength = 80;

IOOUTPUTS(ADDR, "*IDN?", 5);

/* send *IDN? command */

IOENTERS(ADDR, message, &length);

/* enter *IDN? response */

printf("%s\n", message);

/* print*IDN? response */

}

Digitizer Self-TestThe digitizer self-test is executed with the command:

*TST?

The digitizer parameters tested include:

internal interrupt lines

measurement range integrity

measurement RAM integrity

battery charge

timebase integrity

The self-test takes approximately 30 seconds to complete. Upon completion, one of the self-test codes listed in Table 1-2 is returned.

Table 1-2. HP E1429A/B Self-Test Codes.

Self-Test Code

Description

0Test passed

1Test failed. An error message describes the failure.

Chapter 1

Getting Started 21

Page 21
Image 21
HP E1429A manual Iooutputsaddr, *Idn?, Tst?