2-36 Agilent 4155C/4156C VXIplug&play Driver User’s Guide, Edition 4
Driver Function Reference
hp4156b_setSample
comp Compliance value (in V or A). It must be voltage for the current
source, or current for the voltage source. Compliance polarity is
automatically set to the same polarity as the output value,
regardless of the specified comp polarity. The compliance
polarity is positive if the output value is 0.
For the current output, if base, start, or stop is within 10 μA and
not 0, comp must be 2 V or less.
For the voltage output, the minimum comp value must be as
shown in Table 2-12.
hp4156b_setSample
This function specifies the measurement timing of the sampling measurements. The
sampling measurement units are defined by the hp4156b_sample function.
Syntax ViStatus _VI_FUNC hp4156b_setSample(ViSession vi, ViReal64 hold,
ViReal64 interval, ViInt32 point);
Parameters vi Instrument handle returned from hp4156b_init( ).
hold Hold time (in seconds). -30 ms to 655.35 s. 100 μs resolution.
interval Sampling interval (in seconds). 60 μs to 480 μs (20 μs
resolution), 480 μs to 1 s (80 μs resolution), or 1 s to 65.534 s
(2 ms resolution).
point Number of sampling points. 1 to 10001.
hp4156b_setStress
This function sets the timing parameters of the stress.
Syntax ViStatus _VI_FUNC hp4156b_setStress(ViSession vi, ViReal64 hold,
ViInt32 mode, ViReal64 duration, ViReal64 period);
Parameters vi Instrument handle returned from hp4156b_init( ).
hold Hold time (in seconds). 0 to 655.35 s.
mode Stress mode. 1 (pulse count mode) or 2 (duration mode).
duration Meaning of this parameter depends on the mode setting:
If mode=1, this is the number of pulse count. 1 to 65535.