EasyManuals Logo

Agilent Technologies 4156C User Manual

Agilent Technologies 4156C
312 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 #142 background imageLoading...
Page #142 background image
3-54 Agilent 4155C/4156C VXIplug&play Driver User’s Guide, Edition 4
Programming Examples for Visual Basic Users
Stress Force
Sub stress_meas(vi As Long, ret As Long, m() As Long) ’1
Dim range As Double ’3
Dim base As Double
Dim stress As Double
Dim bias As Double
Dim icomp As Double
Dim vlout As Double
Dim ilcomp As Double
Dim hold As Double
Dim duration As Double
Dim period As Double
Dim status As Long
Dim md(4) As Double
Dim st(4) As Long
range = 0
base = 0
stress = 2
bias = 0.1
icomp = 0.1
vlout = 0
ilcomp = 0.1
hold = 0
duration = 5
period = 0.01
ret = hp4156b_setFilter(vi, hp4156b_CH_ALL, hp4156b_FLAG_ON) ’28
ret = hp4156b_setInteg(vi, hp4156b_INTEG_TBL_SHORT, 0.0001, 2)
ret = hp4156b_force(vi, m(2), hp4156b_VF_MODE, range, vlout, ilcomp, 0)
ret = hp4156b_force(vi, m(1), hp4156b_VF_MODE, range, bias, icomp, 0)
ret = hp4156b_force(vi, m(0), hp4156b_VF_MODE, range, bias, icomp, 0)
ret = hp4156b_spotMeas(vi, m(0), hp4156b_IM_MODE, range, md(0), st(0))
ret = hp4156b_spotMeas(vi, m(1), hp4156b_IM_MODE, range, md(1), st(1))
check_err vi, ret
ret = hp4156b_zeroOutput(vi, hp4156b_CH_ALL) ’37
disp_data1 vi, ret, m(), md(), st(), stress, duration
Line Description
1 Beginning of the stress_meas subprogram.
3 to 26 Declares variables, and defines the value.
28 to 35 Sets the SMU filter on for the all channels, sets the A/D converter
integration time, applies voltage to device, and performs spot
measurement. After that, calls the check_err subprogram (shown in
Table 3-1) to check if an error status is returned for the previous line.
37 to 38 Sets all channels to zero output state, and calls the disp_data1
subprogram to display measurement data.

Table of Contents

Other manuals for Agilent Technologies 4156C

Questions and Answers:

Question and Answer IconNeed help?

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

Agilent Technologies 4156C Specifications

General IconGeneral
BrandAgilent Technologies
Model4156C
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals