Ret = Agb1500_Zerooutput(Vi, Agb1500_Ch_All); Check_Err Vi, Ret - Agilent Technologies B1500A User Manual

Semiconductor device analyzer
Hide thumbs Also See for B1500A:
Table of Contents

Advertisement

Programming Examples for C++ Users
Staircase Sweep Measurement
ret = agb1500_resetTimestamp(vi);
ret = agb1500_force(vi, bulk, agb1500_VF_MODE, 0, 0, 0.1, 0);
ret = agb1500_force(vi, source, agb1500_VF_MODE, 0, 0, 0.1, 0);
ret = agb1500_setIv(vi, gate, agb1500_SWP_VF_SGLLIN, 0, 0, vg, nop, hold, delay,
s_delay, igcomp, pgcomp);
check_err (vi, ret);
ret = agb1500_setSweepSync(vi, drain, agb1500_VF_MODE, 0, 0, vd, idcomp, pdcomp);
check_err (vi, ret);
ret = agb1500_sweepIv(vi, drain, agb1500_IM_MODE, 0, &rep, &sc[0], &md[0], &st[0],
&tm[0]);
check_err (vi, ret);

ret = agb1500_zeroOutput(vi, agb1500_CH_ALL);

ret = agb1500_setSwitch(vi, agb1500_CH_ALL, 0);
check_err (vi, ret);
if ( rep != nop ) {
printf ("%d measurement steps were returned.\nIt must be %d steps.\n", rep, nop);
exit (ret);
}
printf(" Vg (V),
for (i = 0; i < nop; i++){
printf(" %4.2f,
}
Line
39
Resets time stamp.
40 to 41
Applies voltage to device.
43
Sets the primary sweep source.
46
Sets the synchronous sweep source by using the agb1500_setSweepSync function.
50
Performs staircase sweep measurement by using the agb1500_sweepIv function.
52
Sets the specified port to the zero output state.
53
Disables all ports.
44, 47, 50, and 54
Calls the check_err subprogram (shown in Table 4-1) to check if an error status is
returned for the previous line.
56 to 59
Stops the program execution if the number of returned data is not equal to nop.
61 to 64
Displays the measurement result data.
4-18
Id (mA)\n");
%9.6f \n", sc[i], md[i] * 1000);
Agilent B1500 VXIplug&play Driver User's Guide, Edition 3
Description
/* 39 */
/* 44 */
/* 50 */
/* 52 */
/* 54 */
/* 56 */
/* 59 */
/* 61 */
/* 64 */

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents