EasyManuals Logo
Home>Agilent Technologies>Measuring Instruments>B1500A

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 #166 background imageLoading...
Page #166 background image
4-10 Agilent B1500 VXIplug&play Driver Users Guide, Edition 3
Programming Examples for C++ Users
Multi Channel Spot Measurement
Measurement
Result Example
Ic = 3.846500 mA (Time: 0.093200 sec)
Ib = 0.018970 mA (Time: 0.094300 sec)
hfe = 202.767528
mch[0] = collector; /* 31 */
mch[1] = base;
mch[2] = 0;
mode[0] = 1;
mode[1] = 1;
range[0] = 0;
range[1] = 0;
ret = agb1500_resetTimestamp(vi); /* 38 */
ret = agb1500_force(vi, emitter, agb1500_VF_MODE, 0, 0, 0.2, 0);
ret = agb1500_force(vi, base, agb1500_VF_MODE, 0, vb, ibcomp, 0);
ret = agb1500_force(vi, collector, agb1500_VF_MODE, 0, vc, iccomp, 0);
check_err (vi, ret); /* 42 */
ret = agb1500_measureM(vi, mch, mode, range, &md[0], &st[0], &tm[0]);
check_err (vi, ret); /* 45 */
ret = agb1500_zeroOutput(vi, agb1500_CH_ALL); /* 47 */
check_err (vi, ret); /* 48 */
printf("Ic = %8.6f mA (Time: %8.6f sec)\n", md[0] * 1000, tm[0]);
printf("Ib = %8.6f mA (Time: %8.6f sec)\n", md[1] * 1000, tm[1]);
printf("hfe = %10.6f \n", md[0]/md[1]); /* 52 */
ret = agb1500_setSwitch(vi, agb1500_CH_ALL, 0); /* 54 */
check_err (vi, ret); /* 55 */
}
Line Description
31 to 37 Defines the value for the variables used for the measurement channel.
38 Resets time stamp.
39 to 41 Applies voltage to device.
44 Performs multi channel spot measurement.
47 Sets the specified port to the zero output state.
50 to 52 Displays the measurement result data.
54 Disables all ports.
42, 45, 48 and 55 Calls the check_err subprogram (shown in Table 4-1) to check if an error status is
returned for the previous line.
56 End of the perform_meas subprogram.

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