![Tektronix 2714 Скачать руководство пользователя страница 213](http://html1.mh-extra.com/html/tektronix/2714/2714_programmers-manual_1077901213.webp)
Programming
2714 & 2715 Programmer Manual
6–15
'=======================================
' begin read loop for response from 2714 or 2715
'=======================================
'
GOSUB READ.FOR.VERBOSE
'
EXIT SUB
'
'****************************************************************
' This routine will read the 2714 or 2715 response to get a
binary
*
' waveform.
*
'****************************************************************
'GET.BINARY.WAVEFORM:
'
GOSUB READ.FOR.VERBOSE
'
IF LEN(rd$) >= 14 THEN
rd$ = LEFT$(rd$, LEN(rd$) - 4)
'strip off checksum,
'
semiĆcolon and cr/lf
rd$ = RIGHT$(rd$, LEN(rd$) - 9) 'strip off header
'
and byte count
'
FOR x% = 0 TO 511
wfm%(x%) = ASC(MID$(rd$, x% + 1, 1))
'
convert each binary value
'
to ascii
NEXT
END IF
'
EXIT SUB
'
'****************************************************************
' This routine will display the error message if RS232
*
' communication cannot be established
*
'****************************************************************
'
ERROR.DISPLAY:
'
'
save cursor coordinates
'
hold.x% = POS(0)
hold.y% = CSRLIN
'=================
'save screen image
'=================
REDIM before$(7, 41), colr%(7, 41)
Содержание 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: ......