Agilent 4155C/4156C VXIplug&play Driver User’s Guide, Edition 4 5-11
Programming Examples for C++ Users
Staircase Sweep Measurements
Staircase Sweep Measurements
This section explains an example subprogram that performs staircase sweep
measurement. The following subprogram performs I-V measurement and save the
measurement results (MOSFET Id-Vd characteristics) into a file.
Table 5-4
Staircase Sweep Measurement Example
void perform_meas (ViSession vi, ViStatus ret)
/* 1 */
{
ViInt32
drain =
1; /* SMU1 */
/* 4 */
ViInt32
gate =
2;
/* SMU2 */
ViInt32
source =
3;
/* SMU3 */
ViInt32
bulk =
4;
/* SMU4 */
ViReal64
vd =
3;
ViReal64
vg =
3;
ViReal64
idcomp =
0.05;
ViReal64
igcomp =
0.01;
ViReal64
hold =
0;
ViReal64
delay =
0;
ViReal64
s_delay =
0;
ViReal64
p_comp =
0;
ViInt32
nop1 =
11;
ViInt32
nop2 =
3;
ViInt32
rep;
ViReal64
sc[33];
ViReal64
md[33];
ViInt32
st[33];
ViReal64
dvg[3];
ViInt32
i =
0;
ViInt32
j;
ViInt32
n;
ViChar
f_name[] = "C:\Agilent\data\data1.txt";
ViChar
head1[] = "Vg (V), Vd (V), Id (mA), Status";
ViChar
msg1[] =
"Saving data...";
ViChar
msg2[] =
"Data save completed.";
ViChar
c =
’\n’;
/* 36 */
Line
Description
1
Beginning of the perform_meas subprogram.
4 to 36
Declares variables, and defines the value.
Содержание 4155C
Страница 3: ......
Страница 13: ...1 Installation...
Страница 18: ...1 6 Agilent 4155C 4156C VXIplug play Driver User s Guide Edition 4 Installation Installing VXIplug play Driver...
Страница 19: ...2 Driver Function Reference...
Страница 89: ...3 Programming Examples for Visual Basic Users...
Страница 147: ...4 Programming Examples for Visual Basic NET Users...
Страница 183: ...5 Programming Examples for C Users...
Страница 225: ...6 Programming Examples for VEE Users...
Страница 271: ...7 Sample Application Programs Using VEE...