EasyManuals Logo

Agilent Technologies 4156C User Manual

Agilent Technologies 4156C
312 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 #193 background imageLoading...
Page #193 background image
Agilent 4155C/4156C VXIplug&play Driver Users Guide, Edition 4 5-11
Programming Examples for C++ Users
Staircase Sweep Measurements
Staircase Sweep Measurements
This section explains an example subprogram that performs staircase sweep
measurement. The following subprogram performs I-V measurement and save the
measurement results (MOSFET Id-Vd characteristics) into a file.
Table 5-4 Staircase Sweep Measurement Example
void perform_meas (ViSession vi, ViStatus ret) /* 1 */
{
ViInt32 drain = 1; /* SMU1 */ /* 4 */
ViInt32 gate = 2; /* SMU2 */
ViInt32 source = 3; /* SMU3 */
ViInt32 bulk = 4; /* SMU4 */
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 p_comp = 0;
ViInt32 nop1 = 11;
ViInt32 nop2 = 3;
ViInt32 rep;
ViReal64 sc[33];
ViReal64 md[33];
ViInt32 st[33];
ViReal64 dvg[3];
ViInt32 i = 0;
ViInt32 j;
ViInt32 n;
ViChar f_name[] = "C:\Agilent\data\data1.txt";
ViChar head1[] = "Vg (V), Vd (V), Id (mA), Status";
ViChar msg1[] = "Saving data...";
ViChar msg2[] = "Data save completed.";
ViChar c = ’\n’; /* 36 */
Line Description
1 Beginning of the perform_meas subprogram.
4 to 36 Declares variables, and defines the value.

Table of Contents

Other manuals for Agilent Technologies 4156C

Questions and Answers:

Question and Answer IconNeed help?

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

Agilent Technologies 4156C Specifications

General IconGeneral
BrandAgilent Technologies
Model4156C
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals