Caution Executing the self-test erases the readings in the digitizer’s non-volatile memory.

If the self-test fails, the command:

DIAGnostic:TEST?

can be executed to obtain additional information on the failure. Note that DIAGnostic:TEST can return a string up to 40 characters.

HP BASIC

10!Send the self-test command, enter and display the result.

20DIM Message$[256],Diagnostic$[40]

30OUTPUT 70905;"*TST?"

40ENTER 70905;Rslt

50IF Rslt <>0 THEN

60REPEAT

70

OUTPUT 70905;"SYST:ERR?"

80

ENTER 70905;Code,Message$

90PRINT Code,Message$

100UNTIL Code =0

110OUTPUT 70905;"DIAG:TEST?"

120ENTER 70905;Diagnostic$

130PRINT Diagnostic$

140END IF

150PRINT Rslt

160END

SLFTST.C

/* SLFTST.C - This program performs a self-test on the digitizer and prints */ /* out the resulting self-test code */

/* Include the following header files */

#include

<stdio.h>

 

#include

<cfunc.h>

/* This file is from the HP-IB Command Library Disk */

#define

ADDR 70905L

/* I/O path from the PC to the digitizer, via the E1406 */

Continued on Next Page

22 Getting Started

Chapter 1

Page 22
Image 22
HP E1429A manual Slftst.C, Repeat Output 70905SYSTERR?