5-18 Agilent 4155C/4156C VXIplug&play Driver User’s Guide, Edition 4
Programming Examples for C++ Users
Multi-Channel Sweep Measurements
Multi-Channel Sweep Measurements
This section explains an example subprogram that performs multi channel sweep
measurement. The following subprogram performs I-V measurement and saves the
measurement results (bipolar transistor Ic-Vb and Ib-Vb characteristics) into a file.
Table 5-6
Multi-Channel Sweep Measurement Example
void perform_meas (ViSession vi, ViStatus ret)
/* 1 */
{
ViInt32
emitter =
1;
/* SMU1 */
/* 3 */
ViInt32
base =
2;
/* SMU2 */
ViInt32
collector = 4;
/* SMU4 */
ViReal64
vb1 =
0.3;
ViReal64
vb2 =
0.8;
ViReal64
vc =
3;
ViReal64
ve =
0;
ViReal64
ibcomp =
0.01;
ViReal64
iccomp =
0.1;
ViReal64
iecomp =
0.1;
ViReal64
pcomp =
0;
ViInt32
nop =
11;
ViReal64
hold =
0;
ViReal64
delay =
0;
ViReal64
s_delay =
0;
ViReal64
p_comp =
0;
ViReal64
width =
0.001;
ViReal64
period =
0.01;
ViReal64
p_hold =
0.1;
ViInt32
mch[3];
ViInt32
mode[2];
ViReal64
range[2];
ViInt32
rep;
ViReal64
sc[11];
ViReal64
md[22];
ViInt32
st[22];
mch[0] =
collector;
mch[1] =
base;
mch[2] =
0;
mode[0] =
1;
mode[1] =
1;
range[0] = 0;
range[1] = 0;
/* 37 */
Line
Description
1
Beginning of the perform_meas subprogram.
3 to 37
Declares variables, and defines the value.
Summary of Contents for 4155C
Page 3: ......
Page 13: ...1 Installation...
Page 19: ...2 Driver Function Reference...
Page 89: ...3 Programming Examples for Visual Basic Users...
Page 147: ...4 Programming Examples for Visual Basic NET Users...
Page 183: ...5 Programming Examples for C Users...
Page 225: ...6 Programming Examples for VEE Users...