![Tektronix 2714 Скачать руководство пользователя страница 205](http://html1.mh-extra.com/html/tektronix/2714/2714_programmers-manual_1077901205.webp)
Programming
2714 & 2715 Programmer Manual
6–7
'
response from 2714 or 2715
'
IF INSTR(wrt$, "NORM") THEN
'set time limit for reading
'
response from 2714 or 2715
hold.i = 40
'normalize query takes longer
'
to respond
ELSEIF func% = 5 THEN
'binary waveform transfer may
'
take longer
hold.i = 15
ELSE
'10 seconds will be enough
'
for others
hold.i = 10
END IF
'
i = TIMER
'initialize counter
'
and
DO WHILE TIMER < i + hold.i
'try to read for time alotted
'
make sure controller is just
GOSUB READ.INPUT
'not too fast for 2714 or 2715
'
IF end.of.read$ = "Y" THEN
i = 0
END IF
LOOP
'
end.of.read$ = "Y"
'set flag so will avoid
'
possible endless loop in
'
RS232 calls
RETURN
'
'==========
READ.INPUT:
'==========
'
buffer$ = "N"
'initialize flag to indicate
'
that read something
DO WHILE NOT EOF(1)
a$ = INPUT$(LOC(1), #1)
'read entire contents of
'
buffer
rd$ = rd$ + a$
'and accumulate response
buffer$ = "Y"
'set buffer flag on so know
have read something
LOOP
'
'****************************************************************
'
*
' Following code segment distinguishes between a binary
*
Содержание 2714
Страница 4: ......
Страница 11: ...Introduction ...
Страница 12: ......
Страница 38: ...Introduction to Programming 1 26 2714 2715 Programmer Manual ...
Страница 39: ...Message Structure ...
Страница 40: ......
Страница 54: ...Instrument Specific Message Structure 2 14 2714 2715 Programmer Manual ...
Страница 55: ...Functional Groups ...
Страница 56: ......
Страница 85: ...Command Query ...
Страница 86: ......
Страница 179: ...Status Reporting ...
Страница 180: ......
Страница 197: ...Programming ...
Страница 198: ......
Страница 266: ...Programming 6 68 2714 2715 Programmer Manual ...
Страница 267: ...Appendices ...
Страница 268: ......
Страница 276: ...Appendix A RS 232 Concepts A 8 2714 2715 Programmer Manual ...
Страница 296: ...Appendix B GPIB System Concepts B 20 2714 2715 Programmer Manual ...
Страница 297: ...Index ...
Страница 298: ......
Страница 307: ......
Страница 308: ......