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 #222 background imageLoading...
Page #222 background image
5-40 Agilent 4155C/4156C VXIplug&play Driver User’s Guide, Edition 4
Programming Examples for C++ Users
Stress Force
Stress Force
This section explains an example subprogram that performs current measurement of
a device with two high terminals and a low terminal, applies stress, performs current
measurement again, and displays the measurement result data.
Table 5-13 Stress Force Example
void perform_meas (ViSession vi, ViStatus ret) /* 1 */
{
ViInt32 t1 = 1; /* SMU1 */
ViInt32 t2 = 2; /* SMU2 */
ViInt32 low = 3; /* SMU3 */
ViReal64 range = 0.0;
ViReal64 base = 0.0;
ViReal64 stress = 2.0;
ViReal64 bias = 0.1;
ViReal64 icomp = 0.1;
ViReal64 vlout = 0;
ViReal64 ilcomp = 0.1;
ViReal64 hold = 0.0;
ViReal64 duration = 5.0;
ViReal64 period = 0.01;
ViInt32 status;
ViReal64 md[2];
ViInt32 st[2]; /* 18 */
ret = hp4156b_setSwitch(vi, t1, 1);
ret = hp4156b_setSwitch(vi, t2, 1);
ret = hp4156b_setSwitch(vi, low, 1);
ret = hp4156b_setFilter(vi, hp4156b_CH_ALL, hp4156b_FLAG_ON);
ret = hp4156b_setInteg(vi, hp4156b_INTEG_TBL_SHORT,
hp4156b_INTEG_TIME_MIN, 2);
check_err (vi, ret);
Line Description
1 Beginning of the perform_meas subprogram.
3 to 18 Declares variables, and defines the value.
20 to 22 Enables measurement channels.
23 Sets the filter on for the all SMUs.
24 Sets the A/D converter integration time.
25 Calls the check_err subprogram (shown in Table 5-1) to check if
an error status is returned for the previous line.

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