Agilent Technologies B1500A User's Guide Page 189

  • Download
  • Add to my manuals
  • Print
  • Page
    / 208
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 188
Agilent B1500 VXIplug&play Driver Users Guide, Edition 3 4-33
Programming Examples for C++ Users
Staircase Sweep with Pulsed Bias Measurement
Staircase Sweep with Pulsed Bias Measurement
Table 4-11 explains an example subprogram that performs the staircase sweep with
pulsed bias measurement and saves the measurement results (MOSFET Id-Vd
characteristics) into a file.
Table 4-11 Staircase Sweep with Pulsed Bias Measurement Example
void perform_meas (ViSession vi, ViStatus ret) /* 1 */
{
ViInt32 drain = 1; /* SMU1 */ /* 4 */
ViInt32 gate = 2; /* SMU2 */
ViInt32 source = 4; /* SMU4 */
ViInt32 bulk = 6; /* SMU6 */
ViReal64 vd = 3;
ViReal64 vg = 3;
ViReal64 idcomp = 0.05;
ViReal64 igcomp = 0.01;
ViReal64 hold = 0;
ViReal64 delay = 0;
ViReal64 s_delay = 0;
ViReal64 p_comp = 0;
ViReal64 width = 0.001;
ViReal64 period = 0.01;
ViReal64 p_hold = 0.1;
ViInt32 nop1 = 11;
ViInt32 nop2 = 3;
ViInt32 i = 0;
ViInt32 j;
ViInt32 n;
ViInt32 rep;
ViReal64 sc[33];
ViReal64 md[33];
ViInt32 st[33];
ViReal64 tm[33];
ViReal64 dvg[3];
ViChar f_name[] = "C:\\Agilent\\ex\\data7.txt";
ViChar head1[] = "Vg (V), Vd (V), Id (mA), Time (sec), Stat
us";
ViChar msg1[] = "Saving data...";
ViChar msg2[] = "Data save completed.";
ViChar c = ’\n’; /* 36 */
Line Description
1 Beginning of the perform_meas subprogram.
4 to 36 Declares variables, and defines the value.
Page view 188
1 2 ... 184 185 186 187 188 189 190 191 192 193 194 ... 207 208

Comments to this Manuals

No comments