EasyManuals Logo

HP 4155A Programmer's Guide

HP 4155A
241 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
Page #124 background imageLoading...
Page #124 background image
Complete Example Program for Vth Measure-
ment
The example program shown below uses the measurement setup le
described in \Example Application Setup for Vth Measurement". This is a
complete example program based on the parts described in the previous
sections.
10 COM @Hp415x
20 ASSIGN @Hp415x TO 800
30 OUTPUT @Hp415x;":MMEM:LOAD:STAT 0,'VTH.MES','DISK'"
40 !
50 ! Read and Disp. Measurement Conditions
60 OUTPUT @Hp415x;":PAGE:MEAS:SWE:VAR1:STAR?"
70 ENTER @Hp415x;Vd_start
80 OUTPUT @Hp415x;":PAGE:MEAS:SWE:VAR1:STOP?"
90 ENTER @Hp415x;Vd_stop
100 OUTPUT @Hp415x;":DISP:ALL BAS"
110 CLEAR SCREEN
120 PRINT TABXY(1,1);"Vd START=";Vd_start;"(V)"
130 PRINT TABXY(1,2);"Vd STOP =";Vd_stop;"(V)"
140 !
150 ! Parameter Change
160 Change$="n"
170 Change: !
180 INPUT "Change these parameters? (y/n default=n)",Change$
190 SELECT Change$
200 CASE "Y","y"
210 INPUT "New Vd START (V)?",Vd_start
220 INPUT "New Vd STOP (V)?",Vd_stop
230 OUTPUT @Hp415x;":PAGE:MEAS:SWE:VAR1:STAR";Vd_start
240 OUTPUT @Hp415x;":PAGE:MEAS:SWE:VAR1:STOP";Vd_stop
250 PRINT TABXY(1,1);"Vd START=";Vd_start;"(V) "
260 PRINT TABXY(1,2);"Vd STOP=";Vd_stop;"(V) "
270 CASE "N","n"
280 GOTO Store_file
290 CASE ELSE
300 GOTO Change
310 END SELECT
320 !
330 Store_file: !
340 INPUT "Enter file name to store data",File$
350 CREATE File$,1
360 ASSIGN @File TO File$;FORMAT ON
370 !
380 No_of_data=0
390 REPEAT
3-21

Table of Contents

Other manuals for HP 4155A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 4155A and is the answer not in the manual?

HP 4155A Specifications

General IconGeneral
BrandHP
Model4155A
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals