EasyManuals Logo
Home>Agilent Technologies>Measuring Instruments>B1500A

Agilent Technologies B1500A User Manual

Agilent Technologies B1500A
208 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 #147 background imageLoading...
Page #147 background image
Agilent B1500 VXIplug&play Driver Users Guide, Edition 3 3-53
Programming Examples for Visual Basic Users
Staircase Sweep with Pulsed Bias Measurement
For j = 1 To nop2 ’array counter for secondary sweep output data ’72
dvg(j - 1) = vg
ret = agb1500_setPbias(vi, m(1), agb1500_VF_MODE, 0, 0, vg, width, period,
p_hold, igcomp)
ret = agb1500_setIv(vi, m(0), agb1500_SWP_VF_SGLLIN, 0, vd1, vd2, nop1, hold,
delay, s_delay, idcomp, p_comp)
check_err vi, ret
ret = agb1500_sweepPbias(vi, m(0), agb1500_IM_MODE, 0, rep, sc(i), md(i),
st(i), tm(i))
check_err vi, ret
vg = vg + d_vg
If rep = nop1 Then
i = i + nop1
Else ’82
msg = rep & " measurement steps were returned. It must be " & nop1 & "
steps."
MsgBox msg, vbOKOnly, ""
ret = agb1500_zeroOutput(vi, agb1500_CH_ALL)
check_err vi, ret
GoTo Bottom_sub
End If ’88
Next j ’89
ret = agb1500_zeroOutput(vi, agb1500_CH_ALL) ’90
check_err vi, ret
save_data nop1, nop2, dvg(), md(), st(), sc(), tm(), vi, ret, m() ’93
Bottom_sub:
End Sub
Line Description
72 to 91 Measures MOSFET Id-Vd characteristics.
74 to 75 Sets the pulsed source and the voltage sweep source.
57 Performs the staircase sweep with pulsed bias measurement.
82 to 88 Disables all ports and stops the program execution if the number of returned data is
not equal to the nop1 value.
90 Sets the specified port to the zero output state.
76, 78, 86, and 91 Calls the check_err subprogram (shown in Table 3-1) to check if an error status is
returned for the previous line.
93 Calls the save_data subprogram (next page) to save measurement data.
96 End of the sweep_meas subprogram.

Table of Contents

Other manuals for Agilent Technologies B1500A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Agilent Technologies B1500A and is the answer not in the manual?

Agilent Technologies B1500A Specifications

General IconGeneral
BrandAgilent Technologies
ModelB1500A
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals