Agilent Technologies B1500A User's Guide Page 193

  • Download
  • Add to my manuals
  • Print
  • Page
    / 208
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 192
Agilent B1500 VXIplug&play Driver Users Guide, Edition 3 4-37
Programming Examples for C++ Users
Breakdown Voltage Measurement
Breakdown Voltage Measurement
Table 4-12 explains an example subprogram that performs the quasi pulsed spot
measurement and displays the measurement result data (bipolar transistor
breakdown voltage).
Table 4-12 Breakdown Voltage Measurement Example
void perform_meas (ViSession vi, ViStatus ret) /* 1 */
{
ViInt32 emitter = 1; /* SMU1 */
/*ViInt32 base; open */
ViInt32 collector = 4; /* SMU4 */
ViReal64 start = 0;
ViReal64 vc = 100; /* intlk cable must be connected */
ViReal64 iccomp = 0.005;
ViReal64 hold = 0;
ViReal64 delay = 0;
ViReal64 meas;
ViInt32 status; /* 13 */
ret = agb1500_setSwitch(vi, emitter, 1); /* 15 */
ret = agb1500_setSwitch(vi, collector, 1);
check_err (vi, ret); /* 17 */
ret = agb1500_force(vi, emitter, agb1500_VF_MODE, 0, 0, 0.1, 0);
check_err (vi, ret); /* 20 */
ret = agb1500_setBdv(vi, collector, 0, start, vc, iccomp, hold,
delay);
check_err (vi, ret); /* 23 */
Line Description
1 Beginning of the perform_meas subprogram.
4 to 13 Declares variables, and defines the value.
15 to 16 Enables measurement channels.
19 Applies voltage to device.
22 Sets the quasi pulsed voltage source.
17, 20, and
23
Calls the check_err subprogram (shown in Table 4-1) to check if
an error status is returned for the previous line.
Page view 192
1 2 ... 188 189 190 191 192 193 194 195 196 197 198 ... 207 208

Comments to this Manuals

No comments