User`s guide

Agilent 4155C/4156C VXIplug&play Driver Users Guide, Edition 1 2-39
Driver Functions
hp4156b_startMeasure
hp4156b_startMeasure
This function starts the specified measurement by the specified channels. You can
read the measured data by using the hp4156b_readData function. The measurement
data is entered to the 4155/4156 output buffer in the measurement order. If you want
to abort the measurement, use the hp4156b_abortMeasure function.
The array size of all arrays should be the same together. Then the order of the array
data is important. For example, the measurement setup for the unit specified by
channel[1] must be entered into mode[1] and range[1].
Syntax ViStatus _VI_FUNC hp4156b_startMeasure(ViSession vi, ViInt32 meas_type,
ViInt32 channel[ ], ViInt32 mode[ ], ViReal64 range[ ], ViInt32 source);
Parameters vi Instrument handle returned from hp4156b_init( ).
meas_type Measurement type. 1 (multi spot), 2 (staircase sweep),
3 (pulse spot), 4 (pulse sweep), 5 (sweep with pulsed bias),
10 (sampling), or 11 (stress force).
channel[ ] Channel number of the measurement unit. Enter 0 (zero) at the
end of the unit definition for channel[ ]. For example, if you use
two units, the first and second elements of channel[ ] must
specify the units, and the third element must be 0.
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.
source Source data output mode.
0 (measurement data output without source data) or
1 (measurement data output with source data).