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 #173 background imageLoading...
Page #173 background image
Agilent B1500 VXIplug&play Driver Users Guide, Edition 3 4-17
Programming Examples for C++ Users
Staircase Sweep Measurement
Table 4-6 uses the agb1500_setSweepSync function to perform MOSFET Id-Vg
measurement.
Table 4-6 Staircase Sweep Measurement Example 2
void perform_meas (ViSession vi, ViStatus ret) /* 1 */
{
ViInt32 drain = 1; /* SMU1 */ /* 4 */
ViInt32 gate = 2; /* SMU2 */
ViInt32 source = 4; /* SMU4 */
ViInt32 bulk = 6; /* SMU6 */
ViReal64 vd = 3;
ViReal64 vg = 3;
ViReal64 idcomp = 0.05;
ViReal64 igcomp = 0.01;
ViReal64 hold = 0;
ViReal64 delay = 0;
ViReal64 s_delay = 0;
ViReal64 pdcomp = 0;
ViReal64 pgcomp = 0;
ViInt32 nop = 11;
ViInt32 rep;
ViReal64 sc[11];
ViReal64 md[11];
ViInt32 st[11];
ViReal64 tm[11];
ViInt32 i;
ViChar f_name[] = "C:\\Agilent\\ex\\data2.txt";
ViChar head1[] = "Vg (V), Id (mA), Time (sec), Status";
ViChar msg1[] = "Saving data...";
ViChar msg2[] = "Data save completed.";
ViChar c = ’\n’; /* 31 */
ret = agb1500_setSwitch(vi, drain, 1); /* 33 */
ret = agb1500_setSwitch(vi, gate, 1);
ret = agb1500_setSwitch(vi, source, 1);
ret = agb1500_setSwitch(vi, bulk, 1);
check_err (vi, ret); /* 37 */
Line Description
1 Beginning of the perform_meas subprogram.
4 to 31 Declares variables, and defines the value.
33 to 36 Enables measurement channels.
37 Calls the check_err subprogram (shown in Table 4-1) to check if
an error status is returned for the previous line.

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