TDS3000 & TDS3000B Series Digital Phosphor Oscilloscopes Programmer Manual
Total Page:16
File Type:pdf, Size:1020Kb
Programmer Manual TDS3000 & TDS3000B Series Digital Phosphor Oscilloscopes 071-0381-02 This document applies to firmware version 3.00 and above. www.tektronix.com Copyright © Tektronix, Inc. All rights reserved. Licensed software products are owned by Tektronix or its suppliers and are protected by United States copyright laws and international treaty provisions. Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227-7013, or subparagraphs (c)(1) and (2) of the Commercial Computer Software – Restricted Rights clause at FAR 52.227-19, as applicable. Tektronix products are covered by U.S. and foreign patents, issued and pending. Information in this publication supercedes that in all previously published material. Specifications and price change privileges reserved. Tektronix, Inc., P.O. Box 500, Beaverton, OR 97077 TEKTRONIX and TEK are registered trademarks of Tektronix, Inc. DPX, WaveAlert, and e*Scope are trademarks of Tektronix, Inc. Contacting Tektronix Phone 1-800-833-9200* Address Tektronix, Inc. Department or name (if known) 14200 SW Karl Braun Drive P.O. Box 500 Beaverton, OR 97077 USA Web site www.tektronix.com Sales support 1-800-833-9200, select option 1* Service support 1-800-833-9200, select option 2* Technical support Email: [email protected] 1-800-833-9200, select option 3* 1-503-627-2400 6:00 a.m. – 5:00 p.m. Pacific time * This phone number is toll free in North America. After office hours, please leave a voice mail message. Outside North America, contact a Tektronix sales office or distributor; see the Tektronix web site for a list of offices. Table of Contents Preface Related Manuals. vii Contacting Tektronix. viii Getting Started Overview of the Manual. 1–2 Communication Modules. 1–4 Installing a Communication Module. 1–6 Connector Locations. 1–7 Setting Up Ethernet Remote Communications. 1–8 Setting Up GPIB Remote Communications. 1–22 Setting Up RS-232 Remote Communications. 1–25 Comparing GPIB and RS-232. 1–30 Command Syntax and Commands Command and Query Structure. 2–1 Clearing the Oscilloscope Output Queue. 2–4 Command Entry. 2–4 Constructed Mnemonics. 2–7 Argument Types. 2–8 Command Groups. 2–11 Acquisition Commands. 2–11 Alias Commands. 2–12 Calibration and Diagnostic Commands. 2–13 Cursor Commands. 2–14 Display Commands. 2–16 Ethernet Commands. 2–17 File System Commands. 2–18 Front Panel Commands. 2–18 Hard Copy Commands. 2–19 Horizontal Commands. 2–19 ITU601 Digital Video Commands (TDS3SDI Only). 2–20 Limit Test Commands (TDS3LIM Only). 2–21 Mask Commands (TDS3TMT Only). 2–22 Math Commands. 2–27 Measurement Commands. 2–28 Miscellaneous Commands. 2–31 RS-232 Commands. 2–32 Save and Recall Commands. 2–32 Status and Error Commands. 2–33 Trigger Commands. 2–34 Vertical Commands. 2–38 Waveform Commands. 2–39 Command Descriptions. 2–45 TDS3000 & TDS3000B Programmer Manual i Table of Contents Status and Events Registers. 3–1 Queues. 3–5 Event Handling Sequence. 3–6 Synchronization Methods. 3–7 Messages. 3–12 Programming Examples GPIB Examples. 4–2 RS-232 Examples. 4–5 Appendices Appendix A: Character Charts. A–1 Appendix B: Reserved Words. B–1 Appendix C: Interface Specifications. C–1 Appendix D: Factory Initialization Settings. D–1 Glossary and Index ii TDS3000 & TDS3000B Programmer Manual Table of Contents List of Figures Figure 1–1: Common message elements. 1–2 Figure 1–2: Functional groupings and an alphabetical list of commands. 1–2 Figure 1–3: Service Requests (SRQs) provide for event (interrupt) driven programs. 1–3 Figure 1–4: The disk that accompanies this manual. 1–3 Figure 1–5: Communication module connectors. 1–5 Figure 1–6: TDS3EM LEDs. 1–5 Figure 1–7: Communication module mounting location. 1–6 Figure 1–8: Communication module location. 1–7 Figure 1–9: The Ethernet Network Settings menu. 1–9 Figure 1–10: The Change Instrument Settings screen. 1–10 Figure 1–11: The Ethernet Printer Settings window. 1–16 Figure 1–12: VISA configuration window. 1–19 Figure 1–13: TekVisa Add Remote Host dialog box. 1–20 Figure 1–14: TekVisa Delete Remote Resource dialog box. 1–21 Figure 1–15: How to stack GPIB connectors. 1–23 Figure 1–16: Typical GPIB network configurations. 1–23 Figure 1–17: Selecting the System: I/O menu. 1–24 Figure 1–18: The RS-232 connector pin assignments. 1–25 Figure 1–19: RS-232 parameter settings. 1–26 Figure 2–1: Command Message Elements. 2–2 Figure 2–2: Block Argument Example. 2–10 Figure 3–1: The Standard Event Status Register (SESR). 3–1 Figure 3–2: The Status Byte Register (SBR). 3–2 Figure 3–3: The Device Event Status Enable Register (DESER). 3–3 Figure 3–4: The Event Status Enable Register (ESER). 3–4 Figure 3–5: The Service Request Enable Register (SRER). 3–4 Figure 3–6: Status and Event Handling Process. 3–6 Figure 3–7: Command Processing Without Using Synchronization. 3–8 Figure 3–8: Processing Sequence With Synchronization. 3–8 Figure 4–1: Equipment needed to run the GPIB and RS-232 example programs. 4–1 TDS3000 & TDS3000B Programmer Manual iii Table of Contents List of Tables Table 1–1: TDS3000 and TDS3000B Series communication modules 1–4 Table 1–2: Ethernet Network Settings side menu . 1–10 Table 1–3: Ethernet Printer Settings side menu . 1–12 Table 1–4: RS-232 adapter cables . 1–25 Table 1–5: RS-232 default settings . 1–27 Table 1–6: RS-232 troubleshooting . 1–29 Table 1–7: Comparison of GPIB and RS-232 interfaces . 1–30 Table 2–1: BNF Symbols and Meanings . 2–1 Table 2–2: Command Message Elements . 2–2 Table 2–3: Comparison of Header Off and On Responses . 2–3 Table 2–4: Acquisition commands . 2–11 Table 2–5: Alias commands . ..