2-26
Agilent 4155B/4156B VXIplug&play Driver User’s Guide, Edition 4
Driver Functions
hp4156b_readStatusByte_Q
hp4156b_readStatusByte_Q
This function returns the contents of the status byte register.
Syntax
ViStatus _VI_FUNC hp4156b_readStatusByte_Q(ViSession vi,
ViPInt16 statusByte);
Parameters
vi
Instrument handle returned from hp4156b_init( ).
statusByte
The contents of the status byte are returned in this parameter.
hp4156b_recoverOutput
This function returns the unit to the settings that are stored by the
hp4156b_zeroOutput function, and clears the stored unit settings.
Syntax
ViStatus _VI_FUNC hp4156b_recoverOutput(ViSession vi, ViInt32 channel);
Parameters
vi
Instrument handle returned from hp4156b_init( ).
channel
Channel number of the unit to return the settings. 1 to 6 (SMU1
to SMU6), 21 (VSU1), 22 (VSU2), 27 (PGU1) or 28 (PGU2).
hp4156b_reset
This function places the instrument in a default state. Before issuing this function, it
may be necessary to send a device clear to ensure that the instrument can execute a
reset. A device clear can be issued by invoking hp4156b_dcl function.
Syntax
ViStatus _VI_FUNC hp4156b_reset(ViSession vi);
Parameters
vi
Instrument handle returned from hp4156b_init( ).