Agilent 4155B/4156B VXIplug&play Driver User’s Guide, Edition 4
2-45
Driver Functions
hp4156b_sweepPbias
hp4156b_sweepPbias
This function executes a staircase sweep with pulsed bias measurement by the
specified channel, and returns the number of measurement points, sweep source
data, measurement data, and the measurement status. Before executing this function,
set the sweep source setup and pulsed bias setup by using the hp4156b_setIv
function and the hp4156b_setPbias function. If you want to use the synchronous
sweep source, execute the hp4156b_setSweepSync function.
The array size of source, value and status should be the same together, and it must be
greater than or equal to the number of sweep points defined by the hp4156b_setIv
function ('point’ parameter).
Syntax
ViStatus _VI_FUNC hp4156b_sweepPbias(ViSession vi, ViInt32 channel,
ViInt32 mode, ViReal64 range, ViPInt32 point, ViReal64 source[ ] ,
ViReal64 value[ ], ViInt32 status[ ] );
Parameters
vi
Instrument handle returned from hp4156b_init( ).
channel
Channel number of the measurement unit.
1 to 6 (SMU1 to SMU6), 23 (VMU1), or 24 (VMU2).
mode
Measurement mode. 1 (current measurement, only for SMU) or
2 (voltage measurement).
range
Measurement range. 0 (auto ranging), positive value (limited
auto ranging), or negative value (fixed range). See below.
For current measurement: -1E-11 to -1.0 A, 1E-11 to 1.0 A,
or 0.
For voltage measurement: -2.0 to -200.0 V, 2.0 to 200.0 V
(-0.2 and 0.2 are available for
VMU in differential mode), or 0.
point
Number of measurement points. 1 to 1001.
source[ ]
Sweep source setup data.
value[ ]
Measurement data.
status[ ]
Measurement status. 0 (no error), or 1 to 255 (error status).