Agilent 4155C/4156C VXIplug&play Driver User’s Guide, Edition 4 6-41
Programming Examples for VEE Users
Sampling Measurements
Sampling Measurements
To make sampling measurements, use the following functions.
Table 6-25 Functions for Sampling Measurements
A program example is shown in Figure 6-37. This program measures resistance. The
example uses the User function of the Agilent VEE. See Figure 6-38 on page 6-43
and Figure 6-39 on page 6-44. The measurement setup is shown in Figure 6-36.
Figure 6-36 Device Connection and Source Setup for Example Program
Description Function Parameters
Output Switch Setup hp4156b_setSwitch channel,state
Output Filter Setup hp4156b_setFilter channel,state
Integration Time Setup hp4156b_setInteg table,time,average
Forces dc bias hp4156b_force channel,mode,range,value,
compliance,polarity
Sampling timing setup hp4156b_setSample hold,interval,point
Sampling dc source setup hp4156b_addSampleSyncIv channel,mode,range,base,bias,
compliance
Sampling pulse source setup hp4156b_addSampleSyncPulse channel,base,peak,count,period,
width,delay,rise,fall
Executes measurement hp4156b_sample channel[ ],mode[ ],range[ ],point,
index[ ],value[ ],status[ ]
Clears sampling source setup hp4156b_clearSampleSync
Disables output hp4156b_zeroOutput channel
A
channel: SMU3
mode: V output
range: 2V
value: 0V
comp: 0.1A
polarity: AUTO
channel:MeasCh1
mode: MeasMode
range: MeasRange
value: R1
A
channel:MeasCh1
mode: V output
range: AUTO
base: 0V
bias: Bias
comp: 0.1A
channel:MeasCh2
mode: MeasMode
range: MeasRange
value: R2
channel:MeasCh2
mode: V output
range: AUTO
base: 0V
bias: Bias
comp: 0.1A