User`s guide

2-22 Agilent 4155C/4156C VXIplug&play Driver Users Guide, Edition 1
Driver Functions
hp4156b_init
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.
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.