![Tektronix 2714 Скачать руководство пользователя страница 206](http://html1.mh-extra.com/html/tektronix/2714/2714_programmers-manual_1077901206.webp)
Programming
6–8
2714 & 2715 Programmer Manual
' waveform transfer and any other response from the 2714 or 2715.
*
' Binary transfers can contain embedded cr/lf characters so
*
' must ignore them until get past the binary data
*
'
*
'****************************************************************
'
IF func% <> 5 THEN
'use first cr/lf
'
encounter for EOF
IF INSTR(rd$, CHR$(10)) THEN
'on everything but
'
binary files
IF INSTR(rd$, CHR$(13)) THEN
'insure that read
end.of.read$ = "Y"
'EOF (cr/lf)
buffer$ = "Y"
'then set buffer flag
'
on to indicate
END IF
'successful read
END IF
ELSE
IF LEN(rd$) > 523 THEN
'insure have read past
'
binary data
IF INSTR(524, rd$, CHR$(13)) THEN
'before checking for
'
cr/lf
IF INSTR(525, rd$, CHR$(10)) THEN
end.of.read$ = "Y"
buffer$ = "Y"
'set buffer flag on
END IF
END IF
END IF
END IF
'
RETURN
'
'****************************************************************
' PROCEDURE to perform a number of tasks:
*
'
1) format the screen to accept operator input
*
'
2) open communication link with 2714 or 2715
*
'
(func%=1,call RS232.CALLS)
*
'
3) accept input
*
'
4) link to procedure which sends input to 2714 or 2715
*
'
(SENDCOMMAND)
*
'
*
' Procedure continues looping until the ESCape key is pressed
*
' The ESCape key ends program execution and returns operator
*
' to DOS.
*
'****************************************************************
Содержание 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: ......