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...
Agilent B1500 VXIplug&play Driver Users Guide, Edition 3 4-47
Programming Examples for C++ Users
High Speed Spot C Measurement
Table 4-17 High Speed Spot C Measurement Example
void perform_meas (ViSession vi, ViStatus ret) /* 1 */
{
ViInt32 drain= 1; /* SMU1 */
ViInt32 gate /* CMUH */
ViInt32 source= 4; /* SMU4 */
ViInt32 substrate /* CMUL */
ViReal64 freq= 1000000;
ViReal64 ref_cp= 0;
ViReal64 ref_g= 0;
ViReal64 osc_level= 0.03;
ViReal64 dc_bias= -5;
ViInt32 range= 0;
ViReal64 md[2];
ViInt32 st[2];
ViReal64 mon[2];
ViInt32 st_mon[2];
ViReal64 mt;
ret = agb1500_setSwitch(vi, drain, 1); /* 19 */
ret = agb1500_setSwitch(vi, source, 1);
check_err (vi, ret);
ret = agb1500_force(vi, source, agb1500_VF_MODE, 0, 0, 0.1, 0); /* 23 */
ret = agb1500_force(vi, drain, agb1500_VF_MODE, 0, 0, 0.1, 0);
ret = agb1500_scuuPath(vi, agb1500_CH_CMU, agb1500_SCUU_CMU); /* 26 */
ret = agb1500_setSwitch(vi, agb1500_CH_CMU, agb1500_FLAG_ON);
ret = agb1500_setCmuInteg(vi, agb1500_INTEG_AUTO, 2);
phase_compen (vi, ret); /* 30 */
Line Description
1 Beginning of the perform_meas subprogram.
3 to 17 Declares variables, and defines the value.
19 to 20 Enables source channels connected to the drain and source terminals.
21 Calls the check_err subprogram (shown in Table 4-1) to check if an error status is
returned for the previous line.
23 to 24 Applies 0 V to the drain and source terminals.
26 Sets the SCUU connection path.
27 to 28 Enables the MFCMU, and sets the integration time.
30 Calls the phase_compen subprogram (shown in Table 4-15) used to perform the phase
compensation of the MFCMU.

Table of Contents

Other manuals for Agilent Technologies B1500A

Related product manuals