Section
III
Model 4085M
3-16
Port address functions :
. These functions each return the address of the specified port number. They are
used as the port address param eter of the Connect and ·Connect_th
subprograms. Table 3-4. lists the port address functions.
Table 3-4. Port Address Functions .
Port Name
Port*
Port Address
Function
Number
(DISCONNECT)
FNPort (O)
SMU
Port
1
I
FNPort (l)
FNSmu (l)
SMU
Port
2
2
FNPort (2)
FNSmu (2)
S�IU
Port
3
3
FNPort (3)
FNSmu (3)
S�!U
Port
4
4
FNPort (4)
FNSrnu (4)
·Vs
Port
1
5
F
N
P
o
r
1:
(S)
FNVs (1)
Vs
Port
2
6
FNPort (6)
FNVs (2)
Vrn
Port
1
8
FNPort (8)
FNVrn (l)
Vm
Port
2
9
FNP
o
rt (9)
FNVm (2)
GUARD
for
10
FNPort (10) or FNPort ( - I )
FNSrnu ( - I ) .
FNGsmu
SMU Port 1
'Port number 7 of the 40SSA i s not used for 408SM applications
3-41. PROGRAMMING EXAM PLES
3-42. Figure 3-1 0 shows a sample program that
(1)
establishes the port-to-pin connections
necessary for measuring a bipolar transistor, (2) calls a user-written m easurement
subprogram , and (3) cancels all existing port.,-to-pin connections after the m easurement.
The Connect subprogram is used to establish the necessary connections, and the
Swm _clear sub program is used to cancel the connections.
This sample program establishes the connections shown below.
Pin2
Pinl
S�!u2
�
MU
�
�
Figure 3-1 0. Sample Program for Measuring a Bipolar Transistor (Sheet
1
of 2)