![Tektronix 2714 Programmer'S Manual Download Page 257](http://html1.mh-extra.com/html/tektronix/2714/2714_programmers-manual_1077901257.webp)
Programming
2714 & 2715 Programmer Manual
6–59
H
Marker readouts
H
Ensemble averages
H
Plots
H
Normalizations
In Example 6–9 we have used the M,C MINUS SAVE A mode as an example of
how to program for these events. This is only one example of many different
possibilities when the
WAIt
command can be used. The
WAIt
command is
typically used together with the single sweep mode to maintain synchronization
between the controller and 2714 or 2715 during program execution.
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.
'==============================================================
' program segment to demonstrate the use of the WAIT command
'==============================================================
'
'========================
' set up for auto polling
'========================
'
PEN OFF
ON PEN GOSUB serial.poll
PEN ON
'
'==============================================================
'use only waveform A and place instrument in single sweep mode
'==============================================================
'
wrt$ = "VIEW A:ON;VIEW B:OFF;VIEW C:OFF;VIEW D:OFF;SIGSWP"
CALL IBWRT(bd%, wrt$)
'
'==============================================================
' turn on end of sweep indicator, trigger a single sweep, and
' WAIT until end of sweep
'==============================================================
'
wrt$ = "EOS ON;SIGSWP;WAIT"
CALL IBWRT(bd%, wrt$)
'
Example 6–9
Subroutine to
Demonstrate the WAIt
Command
Summary of Contents for 2714
Page 4: ......
Page 11: ...Introduction ...
Page 12: ......
Page 38: ...Introduction to Programming 1 26 2714 2715 Programmer Manual ...
Page 39: ...Message Structure ...
Page 40: ......
Page 54: ...Instrument Specific Message Structure 2 14 2714 2715 Programmer Manual ...
Page 55: ...Functional Groups ...
Page 56: ......
Page 85: ...Command Query ...
Page 86: ......
Page 179: ...Status Reporting ...
Page 180: ......
Page 197: ...Programming ...
Page 198: ......
Page 266: ...Programming 6 68 2714 2715 Programmer Manual ...
Page 267: ...Appendices ...
Page 268: ......
Page 276: ...Appendix A RS 232 Concepts A 8 2714 2715 Programmer Manual ...
Page 296: ...Appendix B GPIB System Concepts B 20 2714 2715 Programmer Manual ...
Page 297: ...Index ...
Page 298: ......
Page 307: ......
Page 308: ......