EasyManuals Logo

Agilent Technologies 4155C User Manual

Agilent Technologies 4155C
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 #98 background imageLoading...
Page #98 background image
3-10 Agilent 4155C/4156C VXIplug&play Driver User’s Guide, Edition 4
Programming Examples for Visual Basic Users
Multi-Channel Spot Measurements
Multi-Channel Spot Measurements
This section explains example subprograms that enable/disable measurement
channels (perform_meas), perform multi channel spot measurement (mspot_meas),
and display measurement result data (display_data). This example measures bipolar
transistor collector current and base current.
Table 3-3 Multi-Channel Spot Measurement Example
Sub perform_meas(vi As Long, ret As Long) ’1
Dim pins(3) As Long ’SMU port numbers ’3
pins(0) = 1 ’SMU1: emitter
pins(1) = 2 ’SMU2: base
pins(2) = 4 ’SMU4: collector
ret = hp4156b_setSwitch(vi, pins(2), 1) ’8
ret = hp4156b_setSwitch(vi, pins(1), 1)
ret = hp4156b_setSwitch(vi, pins(0), 1)
check_err vi, ret ’11
mspot_meas vi, ret, pins() ’13
ret = hp4156b_setSwitch(vi, hp4156b_CH_ALL, 0) ’15
check_err vi, ret
End Sub ’18
Line Description
1 Beginning of the perform_meas subprogram.
3 to 6 Declares variables, and defines the value.
8 to 10 Enables measurement channels.
13 Calls the mspot_meas subprogram (next page) to perform multi
channel spot measurement.
15 Disables measurement channels.
11 and 16 Calls the check_err subprogram (shown in Table 3-1) to check if
an error status is returned for the previous line.
18 End of the perform_meas subprogram.

Table of Contents

Other manuals for Agilent Technologies 4155C

Questions and Answers:

Question and Answer IconNeed help?

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

Agilent Technologies 4155C Specifications

General IconGeneral
BrandAgilent Technologies
Model4155C
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals