Table of Contents

1 Getting Started

Finding Your Way Through This Manual . . 1-2

Manual Conventions . . . . . . . . . . . . . . . . . 1-3

Setting Up the Instrument . . . . . . . . . . . . . 1-4

Interface Functions . . . . . . . . . . . . . . . . . . 1-5

2 Bus Commands for the Benchtop User

Default settings (after *RST). . . . . . . . . . . 2-8

3 Introduction to SCPI

What is SCPI? . . . . . . . . . . . . . . . . . . . . . . 3-2 How does SCPI Work in the Instrument? . 3-4 Program and Response Messages . . . . . . 3-8 Command Tree . . . . . . . . . . . . . . . . . . . . 3-11 Parameters . . . . . . . . . . . . . . . . . . . . . . . 3-12 Macros. . . . . . . . . . . . . . . . . . . . . . . . . . . 3-15 Status Reporting System. . . . . . . . . . . . . 3-18 Error Reporting . . . . . . . . . . . . . . . . . . . . 3-19 Initialization and Resetting. . . . . . . . . . . . 3-21

4 Programming Examples

Introduction . . . . . . . . . . . . . . . . . . . . . . . . 4-2

GW-Basic for National Instruments PC-IIA . . . . . . . . . . . . . . . . . . . . . . . .4-3

Setting up the interface . . . . . . . . . . . . . . . 4-3 1. Limit Testing . . . . . . . . . . . . . . . . . . . . . 4-4

3. Frequency Profiling . . . . . . . . . . . . . . . . 4-5

4. Fast Sampling . . . . . . . . . . . . . . . . . . . . 4-7

5. Status Reporting . . . . . . . . . . . . . . . . . . 4-9

6. Statistics . . . . . . . . . . . . . . . . . . . . . . . 4-11

4822 872 20081

August 2000

‘C’ for National Instruments PC-IIA

. . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-13

1. Limit Testing . . . . . . . . . . . . . . . . . . . . 4-14

2. REAL Data Format . . . . . . . . . . . . . . . 4-15

3. Frequency Profiling . . . . . . . . . . . . . . . 4-17

4. Fast Sampling . . . . . . . . . . . . . . . . . . . 4-19

6. Statistics . . . . . . . . . . . . . . . . . . . . . . . 4-21

5 Instrument Model

Introduction . . . . . . . . . . . . . . . . . . . . . . . . 5-2

Measurement Function Block . . . . . . . . . . 5-3

Other Subsystems . . . . . . . . . . . . . . . . . . . 5-4

Order of Execution. . . . . . . . . . . . . . . . . . . 5-4

MEASurement Function . . . . . . . . . . . . . . 5-5

6 Using the Subsystems

Introduction . . . . . . . . . . . . . . . . . . . . . . . . 6-2

Calculate Subsystem. . . . . . . . . . . . . . . . . 6-3

Calibration Subsystem. . . . . . . . . . . . . . . . 6-4

Configure Function . . . . . . . . . . . . . . . . . . 6-5

Format Subsystem . . . . . . . . . . . . . . . . . . 6-6

Time Stamp Readout Format . . . . . . . . . . 6-6

Input Subsystems . . . . . . . . . . . . . . . . . . . 6-7

Measurement Function . . . . . . . . . . . . . . . 6-9

Output Subsystem . . . . . . . . . . . . . . . . . . 6-12

Sense Command Subsystems . . . . . . . . 6-14

Status Subsystem . . . . . . . . . . . . . . . . . . 6-15

Trigger/Arming Subsystem . . . . . . . . . . . 6-30

7 How to Measure Fast

Introduction . . . . . . . . . . . . . . . . . . . . . . . . 7-3

Rough Trigger Subsystem Description . . . 7-4

Some Basic Commands . . . . . . . . . . . . . . 7-5

Basic Measurement Method . . . . . . . . . . . 7-7

III

Page 3
Image 3
Fluke PM6681R, PM6685R manual Table of Contents