![Tektronix 2714 Скачать руководство пользователя страница 210](http://html1.mh-extra.com/html/tektronix/2714/2714_programmers-manual_1077901210.webp)
Programming
6–12
2714 & 2715 Programmer Manual
'
IF x = 8 AND y = 11 TH EN '
BEEP
'cannot backspace beyond
'
area of window
RETURN
'
ELSEIF x = 8 TH EN
y = y - 1
'backspace to end of
'
previous line
LOCATE y, 73
'and locate cursor
ELSE
LOCATE y, x - 1
'locate cursor one position
'
back
END IF
'
PRINT " " + CHR$(29);
'erase the character and then
'
back up
wrt$ = LEFT$(wrt$, LEN(wrt$) - 1) 'remove one character from the
'
string of saved input
'
RETURN
END SUB
'****************************************************************
' This procedure performs all RS232 calls. All information
*
' needed has been defined as global variables:
*
'
rd$ = returned info from RS232 call
*
'
wrt$ = info to send to device
*
'
func% = identifies which RS232 function to perform
*
'
wfm% = array to hold waveform
*
'****************************************************************
SUB RS232.CALLS
'
IF func% = 1 TH EN
GOTO SELECT.DEVICE
ELSEIF func% = 3 TH EN
GOTO SEND.MESSAGE.TO.DEVICE
ELSEIF func% = 5 TH EN
GOTO GET.BINARY.WAVEFORM
END IF
'
'****************************************************************
' This routine opens COM PORT 1 for communication via RS232,
*
' opened for random so can handle both input and output
*
'****************************************************************
' SPEED = 9600 (bits per second-also called BAUD RATE)
*
' PARITY = NONE (parity bit not used)
*
' DATA = 8 (number of data bits per byte)
*
' STOP = 1 (number of stop bits)
*
Содержание 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: ......