Agilent Technologies B1500A User's Guide Page 87

  • Download
  • Add to my manuals
  • Print
  • Page
    / 208
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 86
Agilent B1500 VXIplug&play Driver Users Guide, Edition 3 2-71
Driver Functions
agb1500_sweepIv
Example ViSession vi;
ViStatus ret;
ViInt32 sch = 1; /* SMU1 for sweep channel */
ViInt32 mch = 2; /* SMU2 for measurement channel */
ViInt32 sm = 1; /* sweep mode: voltage-single-linear */
ViInt32 om = 2; /* output mode: voltage */
ViReal64 or = 0; /* output range: auto */
ViReal64 v1 = 0; /* start voltage */
ViReal64 v2 = 1.5; /* stop voltage */
ViInt32 pts = 11; /* point */
ViReal64 th = 0.01; /* hold time */
ViReal64 td = 0.001; /* delay time and step delay time */
ViReal64 icomp = 0.1; /* current compliance */
ViReal64 pcomp = 0.2; /* power compliance */
ViInt32 mm = 1; /* measurement mode: current */
ViReal64 mr = 0; /* measurement range: auto */
ViInt32 mpts; /* number of measurement steps */
ViReal64 sc[11]; /* source data */
ViReal64 md[11]; /* measurement data */
ViInt32 st[11]; /* status */
ViInt32 tm[11]; /* time stamp data */
ret = agb1500_setSwitch(vi, sch, 1);
ret = agb1500_setSwitch(vi, mch, 1);
ret = agb1500_resetTimestamp(vi);
ret = agb1500_force(vi, mch, om, or, v1, icomp, 0);
ret = agb1500_setIv(vi, sch, sm, or, v1, v2, pts, th, td, td,
icomp, pcomp);
ret = agb1500_sweepIv(vi, mch, mm, mr, &mpts, &sc[0], &md[0],
&st[0], &tm[0]);
For the above example, the array variables sc[], md[], st[], and tm[] will contain the
following data.
sc[n]: Sweep source setup data (voltage).
md[n]: Measurement data (current).
st[n]: Status for the md[n] data.
tm[n]: Time stamp data (measurement start time) for the md[n] data.
where, n = 0 to 10 (integer).
Page view 86
1 2 ... 82 83 84 85 86 87 88 89 90 91 92 ... 207 208

Comments to this Manuals

No comments