Contents

Event Status Register 3-39

Using the Questionable Data/Signal Status Register to Alert the Computer When Automatic Interpolator Calibration is Disabled— Example 3 3-39

Questionable Data Status Register

3-40

 

Using the Operation Status Register to Alert the Computer When

Measuring has Completed— Example 4

3-40

 

Operation Status Register 3-40

 

 

 

How to Program the Counter to Display Results 3-43

Configuring the Counter’s Display 3-43

 

 

 

Commands for Displaying Non-Scaled/Offset Results 3-43

Commands for Displaying Scaled/Offset Results

3-44

Commands for Displaying the Limit Graph

3-44

 

Commands for Displaying Statistics Results

3-44

Commands for Enabling and Disabling the Display

3-45

How to Program the Counter to Synchronize Measurements 3-46

Synchronizing Measurement Completion

3-46

 

Resetting the Counter and Clearing the HP-IB Interface 3-46

Using the *WAI Command

3-46

 

 

 

 

Using the *OPC? Command

3-47

 

 

 

 

Using the *OPC Command to Assert SRQ

3-48

 

How to Program the Counter for Math/Limit

 

 

 

Operations 3-49

 

 

 

 

 

 

Updating Math and Limit Results Over HP-IB

3-49

Using the Scale and Offset Over HP-IB

3-50

 

 

How to Program the Counter to Define Macros

3-52

 

Writing SCPI Programs

3-55

 

 

 

 

 

Programming Examples

3-58

 

 

 

 

 

Using HP BASIC 3-58

 

 

 

 

 

To Send a Double-Quoted String

3-58

 

 

To Send a Single-Quoted String

3-58

 

 

Using QuickBASIC

3-59

 

 

 

 

 

Using Turbo C 3-59

 

 

 

 

 

 

List of the Programming Examples 3-59

 

 

 

Easiest Way to Make a Measurement (HP BASIC)

3-60

To Make a Frequency Measurement (HP BASIC)

3-62

vi

Programming Guide

Page 8
Image 8
HP 132A, 53131A manual How to Program the Counter to Display Results