Agilent 4155B/4156B VXIplug&play Driver User’s Guide, Edition 4
2-35
Driver Functions
hp4156b_setSample
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. -30E-3 to 655.35 seconds.
interval
Sampling interval. 60E-6 to 65.534 seconds.
point
Number of sampling points. 1 to 10001.
hp4156b_setStress
This function sets the timing parameters of the stress. See “hp4156b_stress” on
page 41 for the setting of period parameter.
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. 0 to 655.35 seconds.
mode
Stress mode. 1 (pulse count mode) or 2 (duration mode).
duration
Number of pulse count (1 to 65535) for mode=1, or
Duration time (500E-6 to 655.0 seconds) for mode=2.
period
Pulse period. 2E-6 to 10.0 seconds.