EasyManua.ls 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 #207 background imageLoading...
Page #207 background image
Agilent 4155C/4156C VXIplug&play Driver User’s Guide, Edition 4 5-25
Programming Examples for C++ Users
Pulsed Sweep Measurements
Pulsed Sweep Measurements
This section explains an example subprogram that performs pulsed sweep
measurement and saves the measurement results (bipolar transistor Ic-Vc
characteristics) into a file.
Table 5-9 Pulsed Sweep Measurement Example
void perform_meas (ViSession vi, ViStatus ret) /* 1 */
{
ViInt32 emitter = 1; /* SMU1 */
ViInt32 base = 2; /* SMU2 */
ViInt32 collector = 4; /* SMU4 */
ViReal64 vc = 3;
ViReal64 ib = 150E-6;
ViReal64 iccomp = 0.05;
ViReal64 vbcomp = 5;
ViReal64 hold = 0.1;
ViReal64 width = 0.001;
ViReal64 period = 0.01;
ViInt32 nop1 = 11;
ViInt32 nop2 = 3;
ViInt32 rep;
ViReal64 sc[33];
ViReal64 md[33];
ViInt32 st[33];
ViReal64 dib[3];
ViInt32 i = 0;
ViInt32 j;
ViInt32 n;
ViChar f_name[] = "C:\Agilent\data\data4.txt";
ViChar head1[] = "Ib (uA), Vc (V), Ic (mA), Status";
ViChar msg1[] = "Saving data...";
ViChar msg2[] = "Data save completed.";
ViChar c = ’\n’;
ret = hp4156b_setSwitch(vi, emitter, 1); /* 31 */
ret = hp4156b_setSwitch(vi, base, 1);
ret = hp4156b_setSwitch(vi, collector, 1);
check_err (vi, ret); /* 34 */
Line Description
1 Beginning of the perform_meas subprogram.
3 to 29 Declares variables, and defines the value.
31 to 33 Enables measurement channels.

Table of Contents

Other manuals for Agilent Technologies 4156C

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

Summary

1 Installation

System Requirements

Specifies the necessary software and hardware environments for using the VXIplug&play driver.

Installing VXIplug&play Driver

Provides step-by-step instructions for installing the VXIplug&play driver for the instruments.

2 Driver Function Reference

4155/4156 Driver Functions

Details the functions available for controlling the Agilent 4155/4156 VXIplug&play driver.

E5250A Driver Functions

Details the functions available for controlling the Agilent E5250A VXIplug&play driver.

6 Programming Examples for VEE Users

Registrating the Driver on Agilent VEE

Details the process of registering the VXIplug&play driver within the Agilent VEE environment.

Related product manuals