EasyManua.ls Logo

Agilent Technologies B1500A - Page 51

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 2-35
Driver Functions
agb1500_msweepIv
ViReal64 ve = 0;
ViReal64 ibcomp = 0.01;
ViReal64 iccomp = 0.1;
ViReal64 iecomp = 0.1;
ViReal64 pcomp = 0;
ViInt32 nop = 11;
ViReal64 hold = 0;
ViReal64 delay = 0;
ViReal64 s_delay = 0;
ViReal64 p_comp = 0;
ViInt32 mode = 1; /* current measurement */
ViReal64 range = 0 ; /* auto range */
ViInt32 rep;
ViReal64 sc[11];
ViReal64 md[11];
ViInt32 st[11];
ViReal64 tm[11];
ret = agb1500_setSwitch(vi, emitter, 1);
ret = agb1500_setSwitch(vi, base, 1);
ret = agb1500_setSwitch(vi, collector, 1);
ret = agb1500_resetTimestamp(vi);
ret = agb1500_force(vi, emitter, 2, 0, ve, iecomp, 0);
ret = agb1500_force(vi, collector, 2, 0, vc, iccomp, 0);
ret = agb1500_setIv(vi, base, 1, 0, vb1, vb2, nop, hold, delay,
s_delay, ibcomp, pcomp);
ret = agb1500_msweepIv(vi, collector, mode, range, &rep, &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).

Table of Contents

Other manuals for Agilent Technologies B1500A

Related product manuals