![background image](http://html2.mh-extra.com/html/racal-instruments/7064/7064_instruction-manual_3127022071.webp)
NEXT port
' LOCATE 20, 10: PRINT "Verify all PORTS and BITS HIGH"
IF noerror = 0 THEN LOCATE 20, 10: PRINT "RESET TEST PASSED"
IF noerror = 1 THEN LOCATE 20, 10: PRINT "RESET TEST FAILED"
GOSUB pauseroutine
CLS
t = 0
RETURN
OUTPUTBIT:
KEY OFF
CLS
LOCATE 2, 26: PRINT "OUTPUT BIT TEST"
LOCATE 20, 10: PRINT "Running Alernating high low patern"
t$ = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
GOSUB findit
GOSUB basevalue
noerror = 0
E = 2
FOR port = 0 TO 11
wrt$ = "outportb(" + STR$(port) + ",#B 10101010);"
wrtl$ = "inportb(" + STR$(port) + ");"
CALL ibwrt(bd%, wrt$)
CALL ibwrt(bd%, wrtl$)
CALL ibrd(bd%,
IF LEFT$(t$, ibcnt%) <> "#B10101010" THEN GOSUB rderror
'PRINT "PORT"; port, LEFT$(t$, ibcnt%)
NEXT port
'LOCATE 20, 10: PRINT "Verify all PORTS alternate high low"
'GOSUB pauseroutine
CLS
LOCATE 2, 26: PRINT "OUTPUT BIT TEST"
LOCATE 20, 10: PRINT "Running Alernating low high patern"
E = 3
FOR port = 0 TO 11
wrt$ = "outportb(" + STR$(port) + ",#B01010101);"
wrtl$ = "inportb(" + STR$(count) + ");"
CALL ibwrt(bd%, wrt$)
CALL ibwrt(bd%, wrtl$)
CALL ibrd(bd%,
IF LEFT$(t$, ibcnt%) <> "#B1010101" THEN GOSUB rderror
'PRINT "PORT"; count, LEFT$(t$, ibcnt%)
NEXT port
' LOCATE 20, 10: PRINT "Verify all PORTS alternate high low (7 bits)"
6-6
Содержание 7064
Страница 2: ...Racal Instruments...
Страница 6: ...I 1 1 1 1 1...
Страница 21: ...I 1 I I I I I I I I I 1 1 I I I I I I...
Страница 29: ...I I I I I I I I I I I I I I I I I I I...
Страница 57: ...1 I I I I I I I I I I I I I I I I I I...
Страница 77: ...1...
Страница 111: ...0 00 0 00 tI I 4 0 0 I7 r i 6 4 7 4 7 0 T 6 0 0 7 28...
Страница 112: ......
Страница 113: ...7 30 I I I 1 I I I I I I I I I I I I I I I...
Страница 115: ...7 32...
Страница 124: ...CO 0 L5 F 4 BEAD 2 A C8 1 0 1 uF C9 01 uF T 0 1 uF 01 uF E12 0 IIIIII M I 11111 V I E M I 111111 I I I I I I N M I I...
Страница 148: ......
Страница 164: ...I I I I I I I I I I 1 I I I I I I I I...
Страница 176: ...extern char error_msg_lookup unsigned errdes endif ERROR_INCLUDE C 8...