Agilent 4155B/4156B VXIplug&play Driver User’s Guide, Edition 4
2-9
Driver Functions
hp4156b_addStressSyncPulse
hp4156b_addStressSyncPulse
This function specifies the pulse stress source (PGU), and sets the parameters. You
can use maximum 4 stress sources at once by using the hp4156b_addStressSyncIv
and/or hp4156b_addStressSyncPulse functions. See “hp4156b_stress” on page 41
for the setting of width and delay.
Syntax
ViStatus _VI_FUNC hp4156b_addStressSyncPulse(ViSession vi, ViInt32 source,
ViInt32 channel, ViReal64 base, ViReal64 stress, ViReal64 width, ViReal64 delay,
ViReal64 rise, ViReal64 fall);
Parameters
vi
Instrument handle returned from hp4156b_init( ).
source
Reference number of the stress source. 1, 2, 3, or 4.
channel
Channel number of the pulse generator unit.
27 (PGU1) or 28 (PGU2)
base
Stress pulse base value. -40.0 to 40.0 V.
stress
Stress pulse peak value. -40.0 to 40.0 V.
width
Pulse width. 1E-6 to 9.99 seconds.
delay
Pulse delay time. 0.0 to 10.0 seconds.
rise
Pulse leading time. 0.1E-6 to 10E-3 seconds.
fall
Pulse trailling time. 0.1E-6 to 10E-3 seconds.
hp4156b_autoCal
This function enables or disables the auto calibration function.
Syntax
ViStatus _VI_FUNC hp4156b_autoCal(ViSession vi, ViInt32 state);
Parameters
vi
Instrument handle returned from hp4156b_init( ).
state
Auto calibration mode. 0 (OFF) or 1 (ON).