User`s guide
2-10 Agilent 4155C/4156C VXIplug&play Driver User’s Guide, Edition 1
Driver Functions
hp4156b_clearSampleSync
hp4156b_clearSampleSync
This function clears the settings of the constant voltage/current source defined by
the hp4156b_addSampleSyncIv function, and the settings of the pulse source
defined by the hp4156b_addSampleSyncPulse function.
Syntax ViStatus _VI_FUNC hp4156b_clearSampleSync(ViSession vi);
Parameters vi Instrument handle returned from hp4156b_init( ).
hp4156b_clearStressSync
This function clears the settings of the stress sources defined by the
hp4156b_addStressSyncIv function and the hp4156b_addStressSyncPulse function.
Syntax ViStatus _VI_FUNC hp4156b_clearStressSync(ViSession vi);
Parameters vi Instrument handle returned from hp4156b_init( ).
hp4156b_close
This function terminates the software connection to the instrument and deallocates
system resources. It is generally a good programming habit to close the instrument
handle when the program is done using the instrument.
Syntax ViStatus _VI_FUNC hp4156b_close(ViSession vi);
Parameters vi Instrument handle returned from hp4156b_init( ).
hp4156b_cmd
This function passes the cmd_str string to the instrument. Must be a NULL
terminated C string.
Syntax ViStatus _VI_FUNC hp4156b_cmd(ViSession vi, ViString cmd_str);
Parameters vi Instrument handle returned from hp4156b_init( ).
cmd_str Instrument command (cannot exceed 256 bytes in length).