Programming—DM 5010
Program
Example
8:
1
REM AN
EXAMPLE OF DOING TWO UNRELATED TASKS
2
REM
MAIN PROGRAM
LISTS A
TAPE FILE ONTO
A PRINTER AT
3 REM
INTERRUPT SUBROUTINE FINDS
MAXIMUM
VOLTAGE USING
100
INIT
109
REM
D - ADDRESS OF DM5010, P = ADDRESS OF PRINTER
110
D-16
115
P-40
120
ON
SRQ THEN
1000
130
9D:
“
INIT"
140
INPUT 9D:M
150
9D:”
0PC ON"
160
"ENTER
FILE NUMBER TO BE LISTED"
170
IN=UT
F
180 FIND
F
190
E=1
200 ON
EOF
(0)
THEN 500
210
GO
TO
230
220 PRINT
940:AS
230
INPUT
933:AS
240
IF
E THEN 220
250 PRINT
“DONE WITH FILE ";F
260 PRINT
"MAX
VOLTAGE IS
";M
270 GO TO
160
499 REM
END OF FILE
INTERRUPT SUBROUTINE
500 E=0
510 RETURN
999 REM
SERVICE
REQUEST INTERRUPT SUBROUTINE
1000
POLL X Y
*D
1009
REM TEST"FOR OPERATION COMPLETE
1010
IF Y-66 OR
Y«B2 THEN 1030
1020
RETURN
1029
REM INPUT
READING FROM DM AND COMPARE TO PREVIOUS
1030
INPUT
9D:M1
1040
IF MK«M THEN
1060
1049
REM hEW READING
IS NEW MAXIMUM
1050
M=M1
1060
RETURN
ADDRESS
P
DM5010
MAXIMUM
ADD
JAN
1982
3-35
Summary of Contents for DM 5010
Page 14: ...DM 5010 2994 00 DM 5010 Programmable Digital Multimeter xii ADD JUL 1986...
Page 27: ...Operating Instructions DM 5010 2994 03 Fig 2 3 DM 5010 front panel controls and connectors 2 3...
Page 38: ......
Page 134: ......
Page 208: ......
Page 222: ......
Page 250: ......
Page 251: ...Section 8 DM 5010 OPTIONS No options are available 8 1...
Page 252: ......
Page 270: ......
Page 272: ...DM 5010 2994 37 Fig 10 2 Location of DM 5010 adjustments and test points...
Page 273: ......
Page 274: ......
Page 275: ......
Page 276: ...DM 5010 2994 112 DM 5010 BLOCK DIAGRAM...
Page 281: ......
Page 282: ......
Page 291: ......
Page 293: ......
Page 294: ......
Page 297: ......
Page 298: ......
Page 303: ......
Page 304: ...I...
Page 305: ......
Page 310: ......
Page 311: ......
Page 315: ......
Page 318: ......
Page 321: ......
Page 323: ......
Page 326: ......
Page 332: ...2994 57...
Page 334: ......
Page 335: ......
Page 336: ......
Page 337: ...63 REV JUN 1986...
Page 338: ...FIG 1 EXPLODED DM 5010...
Page 339: ......
Page 340: ......
Page 341: ......
Page 347: ......