Equipment information

Tektronix GPIB Programing Guide Book
Manufacturer:
Model:
GPIB Programing Guide
Date:
1981
Category:
Group:
Description:
Book
Manual Type:
Book
Pages:
224
Size:
36.00 Mbytes (37748392 Bytes)
Language:
english
Revision:
revised
Manual-ID:
070-3985-00
Date:
01 October 1981
Quality:
Scanned document, all readable.
Upload date:
26 July 2020
MD5:
f90fb95ab404e2d3e5671eab1a29e0a0
Downloads:
469

Information

Programming Guide SECTION 1 - GETTING STARTED 1-1 Hardware and Software Compatibility 1-1 Flexible Instrumentation Through Modular Design 1-2 Instruments in the TM 5000 Series 1-2 Device-Dependent Messages 1-3 Status Reporting 1-4 A Learn Mode Program 1-6 A Talk/Listen Routine 1-7 SECTION 2 - 4050 GCS CONTROLLERS 2-1 4050-SERIES GPIB CAPABILITY 2-3 GPIB Interface Compatibility In Detail 2-3 Controller Function Considerations 2-4 Signal Attention (ATN) 2-4 Service Request (SRQ) 2-4 Interface Clear (IFC) 2-5 Remote Enable (REN) 2-5 End or Identify (EOI) 2-5 4050-SERIES GPIB INPUT/OUTPUT 2-6 Addressing 2-6 High-Level Output—The PRINT Statement 2-8 Purpose 2-8 Explanation 2-8 Special Case—The Default Secondary Address 2-9 Sending Device Dependent Messages with PRINT 2-9 High Level Input—The INPUT Statement 2-11 Purpose 2-11 Receiving Device Dependent Data 2-12 Special INPUT Cases 2-14 Default Secondary Address 2-14 Mixed String and Numeric Variables 2-14 Alternate Delimiters 2-14 Low-Level Output—The WYBTE Statement 2-16 Purpose 2-16 Explanation 2-17 Sending Interface Messages 2-17 Universal Commands 2-17 Addressed Commands 2-17 Sending Binary Data to Specified Listeners 2-18 Low-Level Input—The RBYTE Statement 2-19 Purpose 2-19 Explanation 2-19 GPIB INTERRUPTS 2-21 Handling SRQ Interrupts 2-21 Using ERR? 2-23 Handling EOI Interrupts 2-25 4050 INTERRUPT-HANDLING STATEMENTS 2-2 7 The OFF Statement 2-27 Purpose 2-27 Explanation 2-27 The ON...THEN... Statement ' 2-28 Purpose 2-28 Explanation 2-28 The POLL Statement 2-29 Purpose 2-29 Explanation 2-29 Unspecified Devices on the Bus 2-31 Specified Devices Not on the Bus 2-31 The WAIT Statement 2-32 Purpose 2-32 Explanation 2-32 The WAIT Routine 2-33 Purpose 2-33 Explanation 2-33 UTILITY ROUTINES 2-34 Get A Status Byte with WBYTE and RBYTE 2-34 Convert a Status Byte to an 8-Bit Array 2-35 Send Identical Messages to Three GPIB 2-36 Addresses Simultaneously 4052/GPIB SEND AND RECEIVE 2-37 SECTION 3 - DC 5010 AND DC 5009 UNIVERSAL COUNTER/TIMERS 3-1 DC 5009 and DC 5010 Functions 3-1 Frequency A 3-1 Period A 3-1 Width A 3-1 Time A to B 3-2 Rise/Fall A 3-2 Probe Compensation 3-2 Null 3-2 Totalize A 3-2 Events B During A 3-2 Ratio B/A 3-3 Measurement Control 3-3 Averaging 3-3 Auto-Trigger 3-3 Auto-Resolution 3-3 Input Signal Condition 3-4 GPIB Operation 3-4 IEEE 488 Bus Address 3-4 Power-Up 3-4 Making GPIB Counter Measurements 3-6 Setting Up the Measurement 3-6 Front-Panel Controls 3-6 Input Conditioning 3-7 Rise/Fall 3-7 Getting a Reading 3-8 Time Interval and Width Measurements 3-10 Triggering An Updated Reading 3-11 Amplitude Measurements 3-13 Application Programs 3-14 Signal Characterization 3-14 Measuring Phase 3-18 Error Decoding 3-19 Status Routine 3-21 SECTION 4 - DM 5010 PROGRAMMABLE DIGITAL MULTIMETER 4-1 DM 5010 Functions 4-1 DC Volts 4-1 AC Volts 4-1 Ohms 4-2 Diode Test 4-2 Current 4-2 Autorange 4-2 Front/Rear Input 4-2 Null 4-2 Calculations 4-3 Averaging 4-3 Scaling and Offset 4-3 dBm or dBr 4-3 Compare 4-3 GPIB Operation 4-3 IEEE 488 Bus Address 4-3 Power-Up 4-4 Selecting DM 5010 Functions 4-5 Default Range Settings 4-5 Initializing Settings 4-5 Calculations 4-6 Averaging 4-6 Scaling 4-6 dBm, dBr 4-7 Compare to Limits 4-7 Triggering and Acquiring Readings 4-8 Run Mode 4-8 Triggered Mode 4-8 Ac Settling Time 4-9 Application Examples 4-10 Data Logging 4-10 Power Supply Setting—Three DM 5010 Display Modes 4-12 A Resistor Sorting Program 4-14 Monitoring Line Voltage '' 4-15 In-Circuit Current Measurement 4-17 Averaging Using RDY? Or OPC 4-18 Find Max Value 4-20 P-P Reading of Square Wave 4-22 Low-Frequency Rms 4-23 Error Decoding 4-26 SECTION 5 - FG 5010 PROGRAMMABLE FUNCTION GENERATOR 5-1 FG 5010 Functions 5-1 Normal/Complement 5-2 Triggered, Gated, or Nburst 5-2 Phase 5-2 Symmetry 5-2 Output Hold 5-2 Phase Lock 5-2 Modulation 5-3 Swept Frequency 5-3 GPIB Operation 5-3 IEEE 488 Bus Address 5-3 Power-Up Self-Test 5-3 Programming FG 5010 Functions 5-5 Setting Commands and Queries 5-5 High-Level Settings Query 5-5 Low-Level Settings Query 5-6 Special Functions with Group Execute Trigger (GET) 5-6 Status Reporting 5-7 FG 5010 Applications Programs • 5-7 FG 5010 ERR? and Status Byte Message Table 5-8 FG 5010 Software Frequency Sweep 5-11 FG 5010 VCF Mode Voltage Calculation 5-12 FG 5010 Pulse Generator Emulator 5-15 FG 5010 LEARN MODE -- Create Settings Different From INIT 5-20 Binary Settings Query 5-21 Low-Level Stored Settings Query 5-23 SECTION 6 - PS 5010 PROGRAMMABLE POWER SUPPLY 6-1 GPIB Operation 6-4 IEEE Bus Address 6-4 Power-Up Conditions 6-4 Programming PS 5010 Functions 6-6 Initialized Settings - 6-6 Programming Voltage and Current Limits 6-6 Incrementing Voltages and Currents 6-7 Incrementing for Specified Random Values 6-7 Output Control 6-9 Front Panel Lockout 6-10 Regulation Status Reporting 6-11 Query All Supplies 6-11 Regulation Interrupt Reporting 6-11 Low-Level Setting 6-15 Application Programs Using the PS 5010 6-17 Series-Connected Supplies 6-17 Error Decoding 6-20 Zener-Diode Test 6-22 Graphic Subroutine 6-28 SECTION 7 - SYSTEM APPLICATIONS 7-1 Frequency Response Plot Program 7-1 FG 5010, DM 5010, and 4052 Generating a Higher-Resolution DC Voltage 7-6 Automatic Checkout of Device Under Test 7-10 Full Error Message Decoding 7-18 APPENDIX - INSTRUMENT COMMANDS A-l INPUT/OUTPUT COMMANDS A-l5 STATUS COMMANDS A-20 SYSTEM COMMANDS A-23 STATUS AND ERROR REPORTING A-25 TM 5000 IEEE 488 INTERFACE FUNCTIONS A-30 TM 5000 RESPONSE TO IEEE 488 INTERFACE MESSAGES A-31

show more

Add Comment

* Required information
1000
Captcha Image

Comments

No comments yet. Be the first!