EasyManua.ls Logo

Agilent Technologies B1500A

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
Loading...
4-12 Agilent B1500 VXIplug&play Driver Users Guide, Edition 3
Programming Examples for C++ Users
Pulsed Spot Measurement
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 = 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_setPbias(vi, gate, agb1500_VF_MODE, 2, base, vg,
width, period, hold, igcomp);
ret = agb1500_force(vi, drain, agb1500_VF_MODE, 2, vd, idcomp, 0);
check_err (vi, ret); /* 43 */
ret = agb1500_measureP(vi, drain, agb1500_IM_MODE, 0, &meas, &status, 0);
check_err (vi, ret); /* 46 */
ret = agb1500_zeroOutput(vi, agb1500_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 = agb1500_setSwitch(vi, agb1500_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 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

Related product manuals