Remote Operation

Example Programs

Example Programs

These programs are provided to give you examples of using HP 86140 series remote programming commands in typical applications. They are not meant to teach general programming techniques or provide ready-to-use solutions. They should allow you to see how measurements are performed and how to return data to the computer. The programs are written in HP BASIC for Win- dows.

The following example programs are provided in this section:

Example 1. Initialization and a simple measurement

4-17

Example 2.

Locating the largest signal

4-18

 

Example 3. Bandwidth 4-19

 

 

 

Example 4. Maximum and minimum amplitude values

4-21

Example 5. Maximum and minimum values over time

4-23

Example 6.

Returning trace data

4-24

 

 

Example 7.

Trace normalization

4-26

 

 

Example 8. Total power measurement

4-28

 

Example 9.

Monitoring the status registers 4-29

 

4-16