EasyManuals Logo

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 #123 background imageLoading...
Page #123 background image
Agilent B1500 VXIplug&play Driver Users Guide, Edition 3 3-29
Programming Examples for Visual Basic Users
Staircase Sweep Measurement
Table 3-7 explains example subprograms that enable/disable measurement channels
(perform_meas), perform the staircase sweep measurement (sweep_meas), and save
measurement result data into a file (save_data). This example uses the multi channel
sweep measurement mode to perform the same measurement as the previous
example (Table 3-6, MOSFET Id-Vg measurement).
Table 3-7 Staircase Sweep Measurement Example 3
Sub perform_meas(vi As Long, ret As Long) ’1
Dim m(4) As Long ’SMU port numbers ’3
m(0) = 1 ’SMU1: drain
m(1) = 2 ’SMU2: gate
m(2) = 4 ’SMU4: source
m(3) = 6 ’SMU6: substrate
ret = agb1500_setSwitch(vi, m(3), 1) ’9
ret = agb1500_setSwitch(vi, m(2), 1)
ret = agb1500_setSwitch(vi, m(1), 1)
ret = agb1500_setSwitch(vi, m(0), 1)
check_err vi, ret ’13
sweep_meas vi, ret, m() ’15
ret = agb1500_setSwitch(vi, agb1500_CH_ALL, 0) ’17
check_err vi, ret
End Sub ’20
Line Description
1 Beginning of the perform_meas subprogram.
3 to 7 Declares variables, and defines the value.
9 to 12 Enables measurement channels.
15 Calls the sweep_meas subprogram (next page) to perform
staircase sweep measurement.
17 Disables measurement channels.
13 and 18 Calls the check_err subprogram (shown in Table 3-1) to check if
an error status is returned for the previous line.
20 End of the perform_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