EasyManuals Logo

Agilent Technologies 4156C User Manual

Agilent Technologies 4156C
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 #190 background imageLoading...
Page #190 background image
5-8 Agilent 4155C/4156C VXIplug&play Driver User’s Guide, Edition 4
Programming Examples for C++ Users
High-Speed Spot Measurements
Measurement
Result Example
Id = 13.441500 mA (at 1.5 V)
Vg = 1.5 V
ret = hp4156b_force(vi, bulk, hp4156b_VF_MODE, 0, 0, 0.1, 0); /* 31 */
ret = hp4156b_force(vi, source, hp4156b_VF_MODE, 0, 0, 0.1, 0);
ret = hp4156b_force(vi, gate, hp4156b_VF_MODE, 2, vg, igcomp, 0);
ret = hp4156b_force(vi, drain, hp4156b_VF_MODE, 2, vd, idcomp, 0);
check_err (vi, ret); /* 35 */
ret = hp4156b_spotMeas(vi,drain,hp4156b_IM_MODE,0,&meas,&status);
check_err (vi, ret); /* 38 */
ret = hp4156b_zeroOutput(vi, hp4156b_CH_ALL); /* 40 */
check_err (vi, ret); /* 41 */
printf("Id = %9.6f mA (at %3.1f V)\n", meas * 1000, vd); /* 43 */
printf("Vg = %3.1f V\n", vg);
ret = hp4156b_setSwitch(vi, hp4156b_CH_ALL, 0); /* 46 */
check_err (vi, ret); /* 47 */
}
Line Description
31 to 34 Applies voltage to device.
37 Performs high speed spot measurement for the drain terminal.
40 Sets the specified port to the zero output state.
43 to 44 Displays the measurement result data.
46 Disables all ports.
35, 38, 41, and 47 Calls the check_err subprogram (shown in Table 5-1) to check if an error status is
returned for the previous line.
48 End of the perform_meas subprogram.

Table of Contents

Other manuals for Agilent Technologies 4156C

Questions and Answers:

Question and Answer IconNeed help?

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

Agilent Technologies 4156C Specifications

General IconGeneral
BrandAgilent Technologies
Model4156C
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals