EasyManuals Logo

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 #197 background imageLoading...
Page #197 background image
Agilent B1500 VXIplug&play Driver Users Guide, Edition 3 4-41
Programming Examples for C++ Users
Sampling Measurement
Sampling Measurement
Table 4-14 explains example subprogram that performs sampling measurement.
This example measures current that flows to resistors R1 and R2, and then calculates
the resistance.
Table 4-14 Sampling Measurement Example
void perform_meas (ViSession vi, ViStatus ret) /* 1 */
{
ViInt32 t1 =3; /* SMU3 */
ViInt32 t2 =4; /* SMU4 */
ViInt32 low =1; /* SMU1 */
ViReal64 base =0;
ViReal64 bias =0.1;
ViReal64 icomp =0.1;
ViReal64 vlout =0;
ViReal64 ilcomp =0.1;
ViReal64 base_h =0;
ViReal64 bias_h =0.1;
ViReal64 interval =0.05;
ViInt32 nop =30;
ViInt32 mch[3];
ViInt32 mode[2];
ViReal64 range[2];
ViInt32 point;
ViInt32 index[30];
ViReal64 value[60];
ViInt32 status[60];
mch[0] =t1;
mch[1] =t2;
mch[2] =0;
mode[0] =1;
mode[1] =1;
range[0] =0;
range[1] =0; /* 28 */
Line Description
1 Beginning of the perform_meas subprogram.
3 to 28 Declares variables, and defines the value.

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