Section 7 Sample Programs
7-28
12 Call ibwrt(Ans%, "ADJRNG")'
Optimizes power measurement range.
13 '
14 Call ibwrt(Ans%, "SWP")'
Starts measurement.
15 '
16 Call ibwrt(Ans%, "POWER? DBM")'
Inquires about result of power measure-
ment.
17 sbuf = ReceiveResp()
18 Form2Ø9.Print "Average RF Power = "; Val(sbuf);
"dBm"
19 End Sub
Set the power meter measurement mode in line 11.
Set the optimum range in line 12. The ADJRNG command stops accepting the next
command until the measurement terminates.
Start the measurement in line 14. The SWP command stops accepting the next com-
mand until the measurement terminates.
Read the measurement results in lines 16 and 17.