2-48 Agilent 4155C/4156C VXIplug&play Driver User’s Guide, Edition 4
Driver Function Reference
hp4156b_sweepPiv
ViReal64 v2 = 10;
/* pulse sweep stop voltage */
ViInt32 pts = 11;
/* number of sweep steps */
ViReal64 th = 0;
/* hold time */
ViReal64 tw = 0.001; /* pulse width */
ViReal64 tp = 0.01;
/* pulse period */
ViReal64 ic = 0.05;
/* sweep source current compliance */
ret = hp4156b_setPiv(vi, pch, sm, or, v0, v1, v2, pts, th, tw, tp,
ic);
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 */
ret = hp4156b_sweepPiv(vi, pch, mm, mr, &mpts, &sc[0], &md[0],
&st[0]);
For the above example, the array variables sc[], md[], and st[] 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.
where, n = 0 to 10 (integer).
Summary of Contents for 4155C
Page 3: ......
Page 13: ...1 Installation...
Page 19: ...2 Driver Function Reference...
Page 89: ...3 Programming Examples for Visual Basic Users...
Page 147: ...4 Programming Examples for Visual Basic NET Users...
Page 183: ...5 Programming Examples for C Users...
Page 225: ...6 Programming Examples for VEE Users...