HP 4085M Operation Manual page 43

Hide thumbs Also See for 4085M:
Table of Contents

Advertisement

Model 4085M
1 0
2 0 '
3 0
4 0
5 0
6 0
7 0
8 0
9 0
1 0 0
1 1 0
1 2 0
1 3 0
1 4 0
1 5 0
1 6 0
1 7 0
1 8 0
1 9 0
2 0 0
2 1 0
2 2 0
Line 40 :
Lines 60 to 80 :
Lines 1 0 0 to 1 2 0 :
Line 1 4 0 :
Line 1 6 0 :
Line 200 :
Line 220 :
Figure 3-1 0. Sample Program for M easureing a Bipolar Transistor (Sheet 2 of 2)
SAMP LE PROGRAM
f
NTE GER
Bas e , Co l l e c t o r , Em i � l e r
s
Ba
e
1
=
C o l l e c t o r - 2
Em i t te r - 3
!
Con nec t ( F N S m u ( I ) , Bas � )
Con nec t ( FNS mu( 2 ) , Co l l ec tor )
Con nec t ( FNS mu < 3 ) , Em l t te r )
!
Measure
!
Swm c l ear
END-
!
SUB Measure
!
SUBEND
!
Declares three integer variables that w ill be used as parameters in
the Connect sub programs.
Defines the integer variables declared in line 40.
Connects Port I, Port 2, and Port 3 to pin I , pin 2 , and pin 3 ,
respectively. The second parameter of the Connect statement
(m easurement pin number) m ust be an integer.
This line calls a user-written subprogram called Measurement.
This statement disconnects all m easurement ports from the
measurement pins.
Insert the actual measurem ent subprogram here. The subprogram
must not end before the m easurement is completed. If the
subprogram does end prematurely, Swm_clear in line 1 60 w ill clear
all connections and terminate the measurement. The subprogram
should contain some sort of "data ready" check to ensure that
control is not returned to the main program before the
m easurement is completed.
The required SWM subprograms, Connect and Swm_clear, must be
linked following this line. Refer to paragraph 3-43 for instructions
on how to link subprograms.
Section
1lI
3-17

Advertisement

Table of Contents
loading

Table of Contents