EasyManua.ls Logo

Agilent Technologies B1500A

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-33
Driver Functions
agb1500_measureP
Example ViSession vi;
ViStatus ret;
ViReal64 v1 = 3; /* output voltage */
ViInt32 vmode = 2; /* voltage output mode */
ViInt32 mch[3]; /* source and measurement channels */
mch[0] = 1; /* SMU1 for the 1st measurement channel*/
mch[1] = 2; /* SMU2 for the 2nd measurement channel*/
mch[2] = 0;
ret = agb1500_setSwitch(vi, mch[0], 1);
ret = agb1500_setSwitch(vi, mch[1], 1);
ret = agb1500_force(vi, mch[0], vmode, 0, 0, 0.1, 0);
ret = agb1500_force(vi, mch[1], vmode, 0, v1, 0.1, 0);
ViInt32 mode[2]; /* measurement mode */
mode[0] = 1; /* current measurement for 1st channel */
mode[1] = 1; /* current measurement for 2nd channel */
ViReal64 range[2]; /* measurement range */
range[0] = 0; /* auto ranging for 1st channel */
range[1] = 0; /* auto ranging for 2nd channel */
ViReal64 md[2]; /* md[0],md[1]: data of 1st,2nd channel */
ViInt32 st[2]; /* st[0],st[1]: status of 1st,2nd channel */
ret = agb1500_measureM(vi, mch, mode, range, &md[0], &st[0], 0);
agb1500_measureP
This function executes a pulsed spot measurement by the specified channel, and
returns the measurement result data, measurement status, and time stamp data.
Syntax ViStatus _VI_FUNC agb1500_measureP(ViSession vi, ViInt32 channel,
ViInt32 mode, ViReal64 range, ViPReal64 value, ViPInt32 status, ViPReal64 time);
Parameters vi Instrument handle returned from agb1500_init( ).
channel Slot number of the slot that installs the SMU to be used. See
Table 2-2.
mode Measurement mode. 1 (current) or 2 (voltage).
range Measurement ranging mode. 0 (auto), positive value (limited
auto), or negative value (fixed range). For the available values,
see Table 2-3.
value Measurement data. Returned data.
status Measurement status. Returned data. See “Status Code” on page
2-14. To disable the status data output, set 0 (NULL pointer)
instead.
time Time stamp data (measurement start time). Returned data. To
disable the time stamp data output, set 0 (NULL pointer)
instead.

Table of Contents

Other manuals for Agilent Technologies B1500A

Related product manuals