Programming Examples

Introduction

Each program example in this chapter is written for IBM-PC compatible comput- ers equipped with the National Instru- ments PC-IIA. In addition to that, many of the examples are written in both ‘GW-BASIC’ and ‘C’.

Even if you do not have these interface board or use these computer languages, look at the examples anyway. They give you a good insight on how to program the instrument efficiently.

￿To be able to run these programs without modification, the address of your counter must be set to 10.

Example 1. Limit Testing

Example 2. REAL Data Format

Example 3. Frequency Profiling

Example 4. Fast Sampling

Example 5. Status Reporting

Example 6. Statistics, this example is only for PM6680B and PM6681

4-2 Introduction

Page 42
Image 42
Fluke PM6685R, PM6681R manual Introduction