User`s guide
2-18 Agilent 4155C/4156C VXIplug&play Driver User’s Guide, Edition 1
Driver Functions
hp4156b_esr_Q
hp4156b_esr_Q
This function returns the contents of the ESR register. The driver returns the
equivalent messages:
Syntax ViStatus _VI_FUNC hp4156b_esr_Q(ViSession vi, ViChar _VI_FAR errstr[ ] );
Parameters vi Instrument handle returned from hp4156b_init( ).
errstr[ ] Response from instrument.
Bit Value Message
1 “ESR_OPC”
2 “ESR_RQL”
4 “ESR_QYE”
8 “ESR_DDE”
16 “ESR_EXE”
32 “ESR_CME”
64 “ESR_URQ”
128 “ESR_PON”
hp4156b_execCal
This function executes the calibration and returns the calibration result. The
parameter “result” returns the calibration result.
Syntax ViStatus _VI_FUNC hp4156b_execCal(ViSession vi, ViPInt32 result);
Parameters vi Instrument handle returned from hp4156b_init( ).
result Calibration result. Numeric number.
0: No error (calibration succeed).