Agilent Technologies B1500A User's Guide Page 204

  • Download
  • Add to my manuals
  • Print
  • Page
    / 208
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 203
4-48 Agilent B1500 VXIplug&play Driver User’s Guide, Edition 3
Programming Examples for C++ Users
High Speed Spot C Measurement
Measurement
Result Example
Cp = 5.681398 pF (status= 0)
G = 27.148290 uS (status= 0)
AC level = 0.028929 V (status= 0)
DC bias = -4.767328 V (status= 0)
Time = 0.017700 sec
ret = agb1500_setCmuFreq(vi, agb1500_CH_CMU, freq); /* 32 */
ret = agb1500_forceCmuAcLevel(vi, agb1500_CH_CMU, osc_level);
open_corr (vi, ret, freq, ref_cp, ref_g);
ViInt32 rbx; /* 36 */
rbx = MessageBox(NULL , "Connect DUT. Then click OK.", "High Speed Spot C
measurement", MB_OK);
ret = agb1500_forceCmuDcBias(vi, agb1500_CH_CMU, dc_bias);
check_err (vi, ret);
ret = agb1500_resetTimestamp(vi); /* 41 */
ret = agb1500_spotCmuMeas(vi,agb1500_CH_CMU, agb1500_CMUM_CP_G, range, &md[0],
&st[0], &mon[0], &st_mon[0], &mt);
ret = agb1500_zeroOutput(vi, agb1500_CH_ALL);
check_err (vi, ret);
printf("Cp = %8.6f pF (status= %1d)\n", md[0] * 1000000000000, st[0]); /* 46 */
printf("G = %8.6f uS (status= %1d)\n", md[1] * 1000000, st[1]);
printf("AC level = %8.6f V (status= %1d)\n", mon[0], st_mon[0]);
printf("DC bias = %8.6f V (status= %1d)\n", mon[1], st_mon[1]);
printf("Time = %8.6f sec\n", mt);
ret = agb1500_setSwitch(vi, agb1500_CH_ALL, 0); /* 52 */
check_err (vi, ret);
}
Line Description
32 to 33 Sets the frequency and the oscillator level of the MFCMU output signal.
34 Calls the open_corr subprogram (shown in Table 4-16) used to perform the open
correction of the MFCMU.
36 to 38 Displays a message box that asks you to connect the device to the measurement
terminals. Then connect the CMUH and CMUL to the gate and substrate respectively.
Pressing OK applies DC bias from the MFCMU.
39, 44,
and 53
Calls the check_err subprogram (shown in Table 4-1) to check if an error status is
returned for the previous line.
41 to 43 Resets the time stamp, performs capacitance spot measurement, and applies 0 V from all
channels.
46 to 52 Displays the measurement result data. And disables all ports.
54 End of the perform_meas subprogram.
Page view 203
1 2 ... 199 200 201 202 203 204 205 206 207 208

Comments to this Manuals

No comments