![Tektronix 2714 Programmer'S Manual Download Page 215](http://html1.mh-extra.com/html/tektronix/2714/2714_programmers-manual_1077901215.webp)
Programming
2714 & 2715 Programmer Manual
6–17
COLOR frgrnd%, bckgrnd%
LOCATE p% + 18, q% + 20
PRINT before$(p%, q%);
NEXT q%
NEXT p%
IF min% > hold.min% THEN
min% = min% + 1
hold.min% = min%
ELSE
min% = min% + 1
hold.min% = 0
END IF
NEXT index%
'
LOCATE hold.y%, hold.x%
COLOR 14, 9
rd$ = ""
'
RETURN
'
READ.FOR.VERBOSE:
'
end.of.read$ = "N"
error.query$ = "N"
'two flags used in reading
'
response from 2714 or 2715
COM(1) ON
'enable event trapping for
'
communication activity on
'
com port 1
i = TIMER
DO WHILE end.of.read$ = "N"
'Give 60 seconds for response
'
from event query.
I F TI MER > i + 60 THEN
'If no response, assume
'
communication
COM(1) OFF
'not established, so set
'
flag to indicate
end.of.read$ = "Y"
'this.
error.query$ = "Y"
END IF
LOOP
'
'======================================================
' begin checking for error flags after return from read
'======================================================
'
IF error.query$ = "Y" THEN
'no communication
'
established
GOSUB ERROR.DISPLAY
'display error
Summary of Contents for 2714
Page 4: ......
Page 11: ...Introduction ...
Page 12: ......
Page 38: ...Introduction to Programming 1 26 2714 2715 Programmer Manual ...
Page 39: ...Message Structure ...
Page 40: ......
Page 54: ...Instrument Specific Message Structure 2 14 2714 2715 Programmer Manual ...
Page 55: ...Functional Groups ...
Page 56: ......
Page 85: ...Command Query ...
Page 86: ......
Page 179: ...Status Reporting ...
Page 180: ......
Page 197: ...Programming ...
Page 198: ......
Page 266: ...Programming 6 68 2714 2715 Programmer Manual ...
Page 267: ...Appendices ...
Page 268: ......
Page 276: ...Appendix A RS 232 Concepts A 8 2714 2715 Programmer Manual ...
Page 296: ...Appendix B GPIB System Concepts B 20 2714 2715 Programmer Manual ...
Page 297: ...Index ...
Page 298: ......
Page 307: ......
Page 308: ......