Agilent 4155C/4156C VXIplug&play Driver User’s Guide, Edition 4 2-31
Driver Function Reference
hp4156b_setFilter
Syntax ViStatus _VI_FUNC hp4156b_self_test(ViSession vi, ViPInt16 test_result,
ViChar_VI_FAR test_message[ ]);
Parameters vi Instrument handle returned from hp4156b_init( ).
test_result Numeric result from self-test operation. Returned data. If no
error is detected, 0 is returned.
test_message[ ] Self-test status message. Returned data. This is limited to 256
characters.
hp4156b_setFilter
This function sets the output filter of the specified SMU.
Syntax ViStatus _VI_FUNC hp4156b_setFilter(ViSession vi, ViInt32 channel,
ViInt32 state);
Parameters vi Instrument handle returned from hp4156b_init( ).
channel Channel number of the unit. 1 (SMU1), 2, 3, 4, 5, or 6 (SMU6).
state SMU filter state. 0 (off) or 1 (on).
hp4156b_setInteg
This function sets the integration time and sets the number of samples that are taken
and averaged for the measurement.
Syntax ViStatus _VI_FUNC hp4156b_setInteg(ViSession vi, ViInt32 table, ViReal64 time,
ViInt32 average);
Parameters vi Instrument handle returned from hp4156b_init( ).
table Integration time table. 1 (short), 2 (medium), or 3 (long).
time Integration time (in seconds).
For table=1: 80 μs to 10.16 ms.
For table=2: Any value is ok (e.g. 1). The value will be ignored.
For table=3: 16.7 ms to 2.0 s
average Number of samples for averaging, 1 to 1023. Or enter 0 to use
the last setting.