EasyManua.ls Logo

HP 8168E - Page 119

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 3 - Measuring the P
ower of a Modulated Signal
190 ! and to autorange
200 !
210 OUTPUT Mm;"sense1:power:unit W;atime 1s;range:auto on"
220 !
230 CLEAR SCREEN
240 PRINT TABXY(2,2);"Programming example 3: Measuring the power of a Modulated Signal"
250 !
260 ! Set up the power on the tunable laser source, and on the meter
270 !
280 OUTPUT Tls;"wavelength ";Wavel
290 OUTPUT Mm;"sense1:power:wavelength ";Wavel
300 !
310 ! Set the modulated power on the TLS
320 !
330 OUTPUT Tls;"power:unit W;:power ";Oppwr
340 OUTPUT Tls;"am:state on;internal:frequency ";Opfrq
350 !
360 ! Switch on the optical output of the TLS
370 ! Read the value from the multimeter, and display it
380 !
390 OUTPUT Tls;"output on"
400 WAIT 3
Let everything settle before making a reading
410 OUTPUT Mm;"read1:power?"
420 ENTER Mm;A
430 PRINT TABXY(4,4);"The power read is";A*1E6;"uW"
440 !
450 END
Programming Examples 6-9

Related product manuals