EasyManuals Logo

Agilent Technologies 4155C User Manual

Agilent Technologies 4155C
312 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 #204 background imageLoading...
Page #204 background image
5-22 Agilent 4155C/4156C VXIplug&play Driver User’s Guide, Edition 4
Programming Examples for C++ Users
Pulsed Spot Measurements
Measurement
Result Example
Id = 14.255000 mA (at 1.5 V)
Vg = 1.5 V
vd = 1.5; /* 30 */
idcomp = 0.05;
vg = 1.5;
igcomp = 0.01;
base = 0;
width = 0.001;
period = 0.01;
hold = 0.1; /* 37 */
ret = hp4156b_force(vi, bulk, hp4156b_VF_MODE, 0, 0, 0.1, 0);
ret = hp4156b_force(vi, source, hp4156b_VF_MODE, 0, 0, 0.1, 0);
ret = hp4156b_setPbias(vi, gate, hp4156b_VF_MODE, 2, base, vg,
width, period, hold, igcomp);
ret = hp4156b_force(vi, drain, hp4156b_VF_MODE, 2, vd, idcomp, 0);
check_err (vi, ret); /* 43 */
ret = hp4156b_measureP(vi, drain, hp4156b_IM_MODE, 0, &meas, &status);
check_err (vi, ret); /* 46 */
ret = hp4156b_zeroOutput(vi, hp4156b_CH_ALL);
check_err (vi, ret); /* 49 */
printf("Id = %9.6f mA (at %3.1f V)\n", meas * 1000, vd);
printf("Vg = %3.1f V\n", vg); /* 52 */
ret = hp4156b_setSwitch(vi, hp4156b_CH_ALL, 0);
check_err (vi, ret); /* 55 */
}
Line Description
30 to 37 Defines the variable values for the source channels.
39 to 42 Applies voltage to device, and sets the pulsed bias source.
45 Performs pulsed spot measurement.
48 Sets the specified port to the zero output state.
51 to 52 Displays the measurement result data.
54 Disables all ports.
43, 46, 49 and 55 Calls the check_err subprogram (shown in Table 5-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 4155C

Questions and Answers:

Question and Answer IconNeed help?

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

Agilent Technologies 4155C Specifications

General IconGeneral
BrandAgilent Technologies
Model4155C
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals