Agilent 4155B/4156B VXIplug&play Driver User’s Guide, Edition 4
2-31
Driver Functions
hp4156b_setIv
hp4156b_setIv
This function specifies the sweep source channel for the staircase sweep measure-
ments and the staircase sweep with pulsed bias measurements, and sets the parame-
ters. For the staircase sweep with pulsed bias measurements, the sweep output
synchronizes with the pulse output by the hp4156b_setPbias function.
Syntax
ViStatus _VI_FUNC hp4156b_setIv(ViSession vi, ViInt32 channel, ViInt32 mode,
ViReal64 range, ViReal64 start, ViReal64 stop, ViInt32 point, ViReal64 hold,
ViReal64 delay, ViReal64 s_delay, ViReal64 comp, ViReal64 p_comp);
Parameters
vi
Instrument handle returned from hp4156b_init( ).
channel
Channel number of the sweep source.
1 to 6 (SMU1 to SMU6), 21 (VSU1), or 22 (VSU2).
mode
Output mode. 1 (single linear), 2 (single log), 3 (double linear),
or 4 (double log). Use positive value for voltage output, use
negative value for current output (only for SMU).
range
Output range. 0 (auto ranging) or positive value (limited auto
ranging). See below.
For current output:
1E-11 to 1.0 A, or 0.
For voltage output:
2.0 to 200.0 V, or 0.
start
Sweep start value. -1.0 to 1.0 A, or -200.0 to 200.0 V.
stop
Sweep stop value. -1.0 to 1.0 A, or -200.0 to 200.0 V.
point
Number of sweep steps. 1 to 1001.
hold
Hold time. 0 to 655.35 seconds.
delay
Delay time. 0 to 65.535 seconds.
s_delay
Step delay time. 0 to 1.0 second.
comp
Compliance value. -200.0 V to 200.0 V for voltage compliance,
-1.0 to 1.0 A for current compliance.
p_comp
Power compliance. 1.0 to 20.0.