Agilent 4155C/4156C VXIplug&play Driver User’s Guide, Edition 4 2-29
Driver Function Reference
hp4156b_recoverOutput
Syntax ViStatus _VI_FUNC hp4156b_readStatusByte_Q(ViSession vi,
ViPInt16 statusByte);
Parameters vi Instrument handle returned from hp4156b_init( ).
statusByte Contents of the status byte. Returned data.
hp4156b_recoverOutput
This function returns the specified channel to the settings that are stored by the
hp4156b_zeroOutput function, and clears the stored 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( ).
hp4156b_revision_query
This function returns the driver revision and the instrument firmware revision.
Syntax ViStatus _VI_FUNC hp4156b_revision_query(ViSession vi,
ViChar_VI_FAR driver_rev[ ], ViChar _VI_FAR instr_rev[ ]);
Parameters vi Instrument handle returned from hp4156b_init( ).
driver_rev[ ] Instrument driver revision. Returned data. This is limited to 256
characters.
instr_rev[ ] Instrument firmware revision. Returned data. This is limited to
256 characters.