![Tektronix 2714 Скачать руководство пользователя страница 256](http://html1.mh-extra.com/html/tektronix/2714/2714_programmers-manual_1077901256.webp)
Programming
6–58
2714 & 2715 Programmer Manual
NOTE
. The 2714 or 2715 must have a spectral display on its screen when any
RS-232 or GPIB program is executed. If the 2714 or 2715 is displaying a menu
when a program is executed, the program will not run properly.
GET.SET:
'REQUEST THE SETTINGS
WRT$ = "SET?"
CALL IBWRT (BD%,WRT$)
'READ THE SETTINGS FROM THE 2714 or 2715
CALL IBRD (BD%,RD$)
'TRIM THE SETTINGS TO THE NUMBER OF BYTES RETURNED
SETTINGS$ = MID$(RD$,1,IBCNT%)
'DISPLAY THE SETTINGS FOR VERIFICATION PURPOSES
PRINT SETTINGS$
'SAVE SETTINGS ON DISK --SUBSTITUTE DISKFILE NAME
'THAT YOU WANT TO STORE SETTINGS UNDER FOR FILENAME
OPEN"O",#1,"FILENAME"
PRINT #1, SETTINGS$
CLOSE #1
RETURN
:
PUT.SET:
'OPENTHE DISK FILE AND READ INTHE STORED SETTINGS
OPEN"I",#1,FILENAME$
INPUT #1,SETTINGS$
CLOSE #1
'DISPLAY THE SETTINGS FOR VERIFICATION PURPOSES
PRINT SETTINGS$
'SEND THE SETTINGS TO THE 2714 or 2715
WRT$ = SETTINGS$
CALL IBWRT (BD%,WRT$)
RETURN
A number of 2714 or 2715 functions require a wait period between the time they
are requested or begin execution, and the time at which the results of the
operation are available. These functions are listed below:
H
Delta marker readouts
H
Counter readouts
H
Signal searches
H
User-Defined Programs
Example 6–8
Subroutines to Save and
Restore Settings Groups
Waiting for Results
Содержание 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: ......