Page 16
EXAMPLE ( HP BASIC )
10 REMOTE 708 !OPEN IEEE ADDRESS 8
20 OUTPUT 708 ; "I" !SET 9814 TO GENERATE SERIAL POLL REQUEST ON
!OUTPUT ERROR
30 OUTPUT 708 ; "E4/R4/2" !SET ERROR MODE, 10V RANGE WITH 2 VOLTS
!OUTPUT
40 ON INTR 7 GOSUB 100 !DEFINE ACTION ON SERIAL POLL
50 V1 = 0 @ X = 0
60 X = X + 1! !WAIT FOR ERROR LOOP
70 GOTO 60
1000! SUBROUTINE TO PRINT POLL RESPONSE
1010 STATUS ,1;A 1020 P=SPOLL (708)
1030 PRINT P !DISPLAY SERIAL POLL RESULT
1040 ENABLE INTR 7;8
1050 RETURN !RETURN TO WAIT LOOP
Command L
Sets the output to ‘zero’ on the present range.
Command Z
Takes the present output value as an offset. The display indicates zero with the top segment
of the display flashing. When a new output value is sent it will be added to the offset stored.
The offset is cleared by:
1. A new range command
2. Selecting a resistance output
3. Setting the offset to zero.
In autocal mode, indicated by a flashing ‘C’ on the display, the offset is stored in the non
volatile memory and is used as a calibration factor.
Letter and number command
E1 to E4 output error mode
Selects one of 4 possible error modes which determine the action taken by the 9814 on
detection of an output error.
E1: (default). Display OP ERROR and turns off output immediately on detection of an out-
put error, remains in this condition until reset by another command.
E2: Displays OP ERROR and turns off output immediately on detection of OP ERROR, will
automatically restore output and display if the error is removed.
E3: Waits for an error condition to last for 0.5 seconds before turning off output and displaying
OP ERROR.
E4. Waits for an error condition to last for 0.5 seconds before displaying OP ERROR and
leaves output ON.