EasyManua.ls Logo

HP 8168E - Page 120

HP 8168E
262 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6
Example 4 - Measuring a Wavelength Characteristic
Function
This program performs the same sequence as the second part of the sample
session given in chapter 1. That is, to measure a wavelength characteristic.
The requirements and the setting up are as described in Example 3.
Listing
10 !--------------------------------------
20 !
30 ! HP 8168E/F Programming Example 4
40 !
50 ! Measuring a Wavelength Characteristic
60 !
70 !--------------------------------------
80 !
90 ! Definitions and Initializations
100 !
110 Tls=724
120 Mm=722
130 !
140 Startw=1.535E-6
150 Stopw=1.545E-6
160 Stepw=1.E-9
170 !
180 ! Initialize the two instruments
190 !
200 OUTPUT Tls;"power:unit W;:am:state off"
210 OUTPUT Mm;"sense1:power:unit W;atime 1s;range:auto:on"
220 !
230 CLEAR SCREEN
240 PRINT TABXY(2,2);"Programming Example 4: Measuring a Wavelength Characteristic"
250 PRINT
260 PRINT
270 !
280 ! Find the maximum power for the full range
290 !
300 OUTPUT Tls;"power max"
We set the power to the absolute maximum for the instrument
310 OUTPUT Tls;"power? max"
320 ENTER Tls;Maxpower
330 Wavel=Startw
340 REPEAT
6-10 Programming Examples

Related product manuals