Agilent 4155C/4156C VXIplug&play Driver User’s Guide, Edition 4 2-25
Driver Function Reference
hp4156b_init
width Pulse width (in seconds). See Table 2-9.
period Pulse period (in seconds). See Table 2-9.
delay Pulse delay time (in seconds). See Table 2-9.
rise Pulse leading transition time (in seconds). See Table 2-10.
fall Pulse trailing transition time (in seconds). See Table 2-10.
NOTE Pulse Count and Pulse Period
Pulse count (count) and pulse period (period) settings are effective for both PGU1
and PGU2. If you use a PGU as a pulse source set by this function and another PGU
as a stress source set by the hp4156b_setStress function, check the setting of these
parameters. The parameter values must be the same as shown below.
hp4156b_forcePulse’s count = hp4156b_setStress’s duration (pulse count)
hp4156b_forcePulse’s period = hp4156b_setStress’s period
hp4156b_init
This function initializes the software connection to the instrument and optionally
verifies that instrument is in the system. In addition, it may perform any necessary
actions to place the instrument in its reset state.
This function is not required for the Visual Basic .NET and Agilent VEE
environments.
If the hp4156b_init function encounters an error, then the value of the vi output
parameter will be VI_NULL.
Syntax ViStatus _VI_FUNC hp4156b_init(ViRsrc InstrDesc, ViBoolean id_query,
ViBoolean do_reset, ViPSession vi);
Parameters InstrDesc Instrument description. Examples; GPIB0::1::INSTR.
id_query VI_TRUE (to perform system verification), or
VI_FALSE (do not perform system verification).
do_reset VI_TRUE (to perform reset operation), or
VI_FALSE (do not perform reset operation).
vi Instrument handle. This is VI_NULL if an error occurred
during the init.