EasyManuals Logo
Home>Agilent Technologies>Measuring Instruments>B1500A

Agilent Technologies B1500A User Manual

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
Page #89 background imageLoading...
Page #89 background image
Agilent B1500 VXIplug&play Driver Users Guide, Edition 3 2-73
Driver Functions
agb1500_sweepMiv
Example ViSession vi;
ViStatus ret;
ViInt32 mch[3]; /* measurement channels */
mch[0] = 1;
mch[1] = 2;
mch[2] = 0;
ret = agb1500_setSwitch(vi, mch[0], 1);
ret = agb1500_setSwitch(vi, mch[1], 1);
ViInt32 om = 2; /* output mode: voltage */
ViInt32 sm = 1; /* sweep mode: voltage-single-linear mode */
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 */
ViReal64 ts = 0.001; /* step delay time */
ViReal64 icomp = 0.1; /* current compliance */
ViReal64 pcomp = 0.2; /* power compliance */
ret = agb1500_resetTimestamp(vi);
ret = agb1500_force(vi, mch[0], om, or, v1, icomp, 0);
ret = agb1500_setIv(vi, mch[1], sm, or, v1, v2, pts, th, td, ts,
icomp, pcomp);
ViInt32 mm[2]; /* measurement mode */
ViReal64 mr[2]; /* measurement range */
mm[0] = 1; /* current mode for mch[0] */
mm[1] = 1; /* current mode for mch[1] */
mr[0] = 0; /* auto range for mch[0] */
mr[1] = 0; /* auto range for mch[1] */
ViInt32 mpts; /* number of measurement steps */
ViReal64 sc[11]; /* source data */
ViReal64 md[22]; /* measurement data */
ViInt32 st[22]; /* status */
ViInt32 tm[22]; /* time stamp data */
ret = agb1500_sweepMiv(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[2*n]: Data (current) measured by the mch[0] channel.
md[2*n+1]: Data (current) measured by the mch[1] channel.
st[2*n]: Status for the md[2*n] data.
st[2*n+1]: Status for the md[2*n+1] data.
tm[2*n]: Time stamp data (measurement start time) for the md[2*n] data.
tm[2*n+1]: Time stamp data (measurement start time) for the md[2*n+1] data.
where, n = 0 to 10 (integer).

Table of Contents

Other manuals for Agilent Technologies B1500A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Agilent Technologies B1500A and is the answer not in the manual?

Agilent Technologies B1500A Specifications

General IconGeneral
BrandAgilent Technologies
ModelB1500A
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals