EasyManuals Logo

Agilent Technologies B1500A User Manual

Agilent Technologies B1500A
208 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 #195 background imageLoading...
Page #195 background image
Agilent B1500 VXIplug&play Driver Users Guide, Edition 3 4-39
Programming Examples for C++ Users
Leakage Current Measurement
Leakage Current Measurement
Table 4-13 explains an example subprogram that performs the quasi pulsed spot
measurement and displays the measurement result data (MOSFET drain current).
Table 4-13 Leakage Current Measurement Example
void perform_meas (ViSession vi, ViStatus ret) /* 1 */
{
ViInt32 drain = 1; /* SMU1, drain */
ViInt32 gate = 2; /* SMU2, gate */
ViInt32 source = 4; /* SMU4, source */
ViInt32 bulk = 6; /* SMU6, bulk */
ViReal64 vd = 5;
ViReal64 vg = 0;
ViReal64 idcomp = 0.05;
ViReal64 igcomp = 0.01;
ViReal64 start = -5;
ViReal64 hold = 0.1;
ViReal64 delay = 0.001;
ViReal64 meas;
ViInt32 status; /* 16 */
ret = agb1500_setSwitch(vi, drain, 1); /* 18 */
ret = agb1500_setSwitch(vi, gate, 1);
ret = agb1500_setSwitch(vi, source, 1);
ret = agb1500_setSwitch(vi, bulk, 1);
check_err (vi, ret); /* 22 */
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_force(vi, gate, agb1500_VF_MODE, 0, vg, igcomp,
0);
check_err (vi, ret); /* 27 */
Line Description
1 Beginning of the perform_meas subprogram.
4 to 16 Declares variables, and defines the value.
18 to 21 Enables measurement channels.
24 to 26 Applies voltage to device.
22 and 27 Calls the check_err subprogram (shown in Table 4-1) to check if
an error status is returned for the previous line.

Table of Contents

Other manuals for Agilent Technologies B1500A

Questions and Answers:

Question and Answer IconNeed help?

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

Agilent Technologies B1500A Specifications

General IconGeneral
BrandAgilent Technologies
ModelB1500A
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals